Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update misaligned script #1144

Merged
merged 1 commit into from
Oct 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading