Skip to content

Commit 95265d2

Browse files
committed
update toggles
1 parent 6400599 commit 95265d2

File tree

3 files changed

+8
-14
lines changed

3 files changed

+8
-14
lines changed

website/docs/docs/cloud/cloud-cli-installation.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -313,17 +313,9 @@ This alias will allow you to use the <code>dbt-cloud</code> command to invoke th
313313
314314
</DetailsToggle>
315315
316-
<DetailsToggle alt_header="Why am I receiving a `Session occupied` error?">
317-
318-
319-
If you've ran a dbt command and receive a <code>Session occupied</code> error, you can reattach to your existing session with <code>dbt reattach</code> and then press <code>Control-C</code> and choose to cancel the invocation.
320-
321-
</DetailsToggle>
322-
323316
<DetailsToggle alt_header="Why am I receiving a `Stuck session` error when trying to run a new command?">
324317
325-
326-
The Cloud CLI allows only one command that writes to the data warehouse at a time. If you attempt to run multiple write commands simultaneously (for example, `dbt run` and `dbt build`), you will encounter a `stuck session` error. To resolve this, cancel the specific invocation by passing its ID to the cancel command. For more information, refer to [parallel execution](/reference/dbt-commands#parallel-execution).
318+
The dbt Cloud CLI allows only one command that writes to the data warehouse at a time. If you attempt to run multiple write commands simultaneously (for example, `dbt run` and `dbt build`), you will encounter a `stuck session` error. To resolve this, cancel the specific invocation by passing its ID to the cancel command. For more information, refer to [parallel execution](/reference/dbt-commands#parallel-execution).
327319
328320
</DetailsToggle>
329321

website/docs/docs/cloud/configure-cloud-cli.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ As a tip, most command-line tools have a `--help` flag to show available command
124124
- `dbt run --help`: Lists the flags available for the `run` command
125125
:::
126126

127-
### Lint SQL files
127+
## Lint SQL files
128128

129129
From the dbt Cloud CLI, you can invoke [SQLFluff](https://sqlfluff.com/) which is a modular and configurable SQL linter that warns you of complex functions, syntax, formatting, and compilation errors. Many of the same flags that you can pass to SQLFluff are available from the dbt Cloud CLI.
130130

@@ -155,7 +155,7 @@ When running `dbt sqlfluff` from the dbt Cloud CLI, the following are important
155155

156156
## FAQs
157157

158-
<Expandable alt_header="How to create a .dbt directory and move your file">
158+
<DetailsToggle alt_header="How to create a .dbt directory and move your file">
159159

160160
If you've never had a `.dbt` directory, you should perform the following recommended steps to create one. If you already have a `.dbt` directory, move the `dbt_cloud.yml` file into it.
161161

@@ -196,12 +196,12 @@ move %USERPROFILE%\Downloads\dbt_cloud.yml %USERPROFILE%\.dbt\dbt_cloud.yml
196196

197197
This command moves the `dbt_cloud.yml` from the `Downloads` folder to the `.dbt` folder. If your `dbt_cloud.yml` file is located elsewhere, adjust the path accordingly.
198198

199-
</Expandable>
199+
</DetailsToggle>
200200

201-
<Expandable alt_header="How to skip artifacts from being downloaded">
201+
<DetailsToggle alt_header="How to skip artifacts from being downloaded">
202202

203203
By default, [all artifacts](/reference/artifacts/dbt-artifacts) are downloaded when you execute dbt commands from the dbt Cloud CLI. To skip these files from being downloaded, add `--download-artifacts=false` to the command you want to run. This can help improve run-time performance but might break workflows that depend on assets like the [manifest](/reference/artifacts/manifest-json).
204204

205-
</Expandable>
205+
</DetailsToggle>
206206

207207
<FAQ path="Troubleshooting/long-sessions-cloud-cli" />

website/docs/faqs/Troubleshooting/long-sessions-cloud-cli.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ If you're receiving a `Session occupied` error in the dbt Cloud CLI or if you're
1010
To cancel an active session, use the `Ctrl + Z` shortcut.
1111

1212
To learn more about the `dbt invocation` command, see the [dbt invocation command reference](/reference/commands/invocation).
13+
14+
Alternatively, you can reattach to your existing session with <code>dbt reattach</code> and then press <code>Control-C</code> and choose to cancel the invocation.

0 commit comments

Comments
 (0)