Skip to content

Commit

Permalink
Update misaligned script (#1144)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasyu888 authored Oct 27, 2024
1 parent 162a058 commit b77c2b1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/tutorials/python/download_data_in_bulk.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ another desired directory exists.

#### First let's set up some constants we'll use in this script
```python
{!docs/tutorials/python/tutorial_scripts/download_data_in_bulk.py!lines=5-20}
{!docs/tutorials/python/tutorial_scripts/download_data_in_bulk.py!lines=5-19}
```

#### Next we'll create an instance of the Project we are going to sync
```python
{!docs/tutorials/python/tutorial_scripts/download_data_in_bulk.py!lines=23}
{!docs/tutorials/python/tutorial_scripts/download_data_in_bulk.py!lines=20-22}
```

#### Finally we'll sync the project from synapse to your local machine
```python
{!docs/tutorials/python/tutorial_scripts/download_data_in_bulk.py!lines=25-30}
{!docs/tutorials/python/tutorial_scripts/download_data_in_bulk.py!lines=23-28}
```

<details class="example">
Expand Down Expand Up @@ -84,7 +84,7 @@ Downloading [####################]100.00% 4.0bytes/4.0bytes (1.6kB/s) fileD.t
Following the same set of steps let's sync a specific folder

```python
{!docs/tutorials/python/tutorial_scripts/download_data_in_bulk.py!lines=33-37}
{!docs/tutorials/python/tutorial_scripts/download_data_in_bulk.py!lines=30-36}
```

<details class="example">
Expand All @@ -109,7 +109,7 @@ Using `sync_from_synapse` will load into memory the state of all Folders and Fil
retrieved from Synapse. This will allow you to loop over the contents of your container.

```python
{!docs/tutorials/python/tutorial_scripts/download_data_in_bulk.py!lines=40-47}
{!docs/tutorials/python/tutorial_scripts/download_data_in_bulk.py!lines=37-47}
```

<details class="example">
Expand Down

0 comments on commit b77c2b1

Please sign in to comment.