Skip to content

Commit 4f46833

Browse files
starting snow docs
1 parent 01991ee commit 4f46833

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/content/docs/snowflake/capabilities/init-hooks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Mount the script into `/etc/localstack/init/ready.d/` using Docker Compose or th
3030

3131
<Tabs>
3232
<TabItem label="docker-compose.yml">
33-
```yaml
33+
```yaml lineNumbers
3434
version: "3.8"
3535

3636
services:

src/content/docs/snowflake/capabilities/state-management.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ localstack start
3232
```
3333
</TabItem>
3434
<TabItem label="Docker Compose">
35-
```yaml
35+
```yaml lineNumbers
3636
...
3737
image: localstack/snowflake
3838
environment:
@@ -43,7 +43,7 @@ localstack start
4343
```
4444
</TabItem>
4545
<TabItem label="Docker">
46-
```bash
46+
```bash lineNumbers
4747
docker run \
4848
-e LOCALSTACK_AUTH_TOKEN=${LOCALSTACK_AUTH_TOKEN:?} \
4949
-e PERSISTENCE=1 \

src/content/docs/snowflake/features/accounts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If the Snowflake driver provides a connection object, you can pass the `account`
2525

2626
Example using the Snowflake Connector for Python:
2727

28-
```python
28+
```python lineNumbers
2929
sf_conn_obj = sf.connect(
3030
account="your_account",
3131
# other parameters
@@ -34,7 +34,7 @@ sf_conn_obj = sf.connect(
3434

3535
Example using the NodeJS Driver for Snowflake:
3636

37-
```javascript
37+
```javascript lineNumbers
3838
var connection = snowflake.createConnection({
3939
account: "your_account",
4040
// other parameters

src/content/docs/snowflake/features/authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To authenticate using a username and password, you can set the `user` and `passw
1818

1919
Here's an example of how to connect to the Snowflake emulator using a username and password in a Python script:
2020

21-
```python
21+
```python lineNumbers
2222
import snowflake.connector as sf
2323

2424
sf_conn_obj = sf.connect(
@@ -55,7 +55,7 @@ ALTER USER your_user_name SET RSA_PUBLIC_KEY='<public_key>';
5555

5656
Then authenticate with the private key using the Snowflake client:
5757

58-
```python
58+
```python lineNumbers
5959
import snowflake.connector
6060

6161
conn = snowflake.connector.connect(

0 commit comments

Comments
 (0)