Skip to content

Commit

Permalink
fix import statements
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanSchell committed Sep 12, 2024
1 parent 05e97d9 commit ea445e4
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"\n",
"# syft absolute\n",
"import syft as sy\n",
"import syft as get_helpers # noqa: F401\n",
"from syft import get_helpers # noqa: F401\n",
"\n",
"# third party\n",
"from email_helpers import get_email_server\n",
Expand Down Expand Up @@ -249,7 +249,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.3"
"version": "3.12.4"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"\n",
"# syft absolute\n",
"import syft as sy\n",
"import syft as get_helpers # noqa: F401\n",
"from syft import get_helpers # noqa: F401\n",
"\n",
"# third party\n",
"from email_helpers import Timeout\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/scenarios/bigquery/010-setup-bigquery-pool.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"\n",
"# syft absolute\n",
"import syft as sy\n",
"import syft as get_helpers # noqa: F401\n",
"from syft import get_helpers # noqa: F401\n",
"from syft import test_settings\n",
"\n",
"# third party\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"\n",
"# syft absolute\n",
"import syft as sy\n",
"import syft as get_helpers # noqa: F401\n",
"from syft import get_helpers # noqa: F401\n",
"\n",
"# third party\n",
"from email_helpers import SENDER\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/scenarios/bigquery/020-configure-api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"\n",
"# syft absolute\n",
"import syft as sy\n",
"import syft as get_helpers # noqa: F401\n",
"from syft import get_helpers # noqa: F401\n",
"from syft import test_settings\n",
"\n",
"# third party\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/scenarios/bigquery/021-create-jobs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"\n",
"# syft absolute\n",
"import syft as sy\n",
"import syft as get_helpers # noqa: F401\n",
"from syft import get_helpers # noqa: F401\n",
"from syft.service.job.job_stash import JobStatus\n",
"\n",
"# third party\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/scenarios/bigquery/040-do-review-requests.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"\n",
"# syft absolute\n",
"import syft as sy\n",
"import syft as get_helpers # noqa: F401\n",
"from syft import get_helpers # noqa: F401\n",
"from syft.service.job.job_stash import Job\n",
"\n",
"# third party\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/scenarios/bigquery/050-ds-get-results.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"# isort: off\n",
"# syft absolute\n",
"import syft as sy\n",
"import syft as get_helpers # noqa: F401\n",
"from syft import get_helpers # noqa: F401\n",
"\n",
"# third party\n",
"from email_helpers import get_email_server\n",
Expand Down
30 changes: 7 additions & 23 deletions notebooks/scenarios/bigquery/sync/02-configure-api-and-sync.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -19,17 +19,9 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"python auto auto\n"
]
}
],
"outputs": [],
"source": [
"# stdlib\n",
"\n",
Expand All @@ -41,17 +33,9 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Using Mock API Code, this will query BigQuery. $TEST_BIGQUERY_APIS_LIVE==False\n"
]
}
],
"outputs": [],
"source": [
"# isort: off\n",
"# stdlib\n",
Expand Down Expand Up @@ -571,8 +555,8 @@
"metadata": {},
"outputs": [],
"source": [
"#widget._share_all()\n",
"#widget._sync_all()"
"# widget._share_all()\n",
"# widget._sync_all()"
]
},
{
Expand Down

0 comments on commit ea445e4

Please sign in to comment.