Skip to content

Commit

Permalink
some initial changes to submit multiple jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanSchell committed Sep 19, 2024
1 parent 7bb883b commit a97c604
Show file tree
Hide file tree
Showing 9 changed files with 1,548 additions and 1,064 deletions.
672 changes: 343 additions & 329 deletions notebooks/scenarios/bigquery/sync/000-setup-high-low-datasites.ipynb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6",
"id": "5",
"metadata": {},
"outputs": [],
"source": [
"email_server_low, smtp_server_low = get_email_server(server_side_type=\"low\")\n",
"email_server_low, smtp_server_low = get_email_server(server_side_type=\"low\", reset=True)\n",
"email_server_high, smtp_server_high = get_email_server(\n",
" server_side_type=\"high\"\n",
" server_side_type=\"high\", reset=True\n",
")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "5",
"id": "6",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -334,7 +334,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "27",
"id": "26",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -343,6 +343,14 @@
"smtp_server_low.stop()\n",
"smtp_server_high.stop()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "27",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
17 changes: 6 additions & 11 deletions notebooks/scenarios/bigquery/sync/011-users-emails-passwords.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,16 @@
"metadata": {},
"outputs": [],
"source": [
"# isort: off\n",
"# stdlib\n",
"import os\n",
"\n",
"# syft absolute\n",
"import syft as sy\n",
"from syft import test_helpers # noqa: F401\n",
"\n",
"# third party\n",
"from email_helpers import SENDER\n",
"from email_helpers import create_user\n",
"from email_helpers import get_email_server\n",
"from email_helpers import make_user\n",
"from email_helpers import save_users\n",
"# isort: on"
"from syft.util.test_helpers.email_helpers import SENDER\n",
"from syft.util.test_helpers.email_helpers import create_user\n",
"from syft.util.test_helpers.email_helpers import get_email_server\n",
"from syft.util.test_helpers.email_helpers import make_user\n",
"from syft.util.test_helpers.email_helpers import save_users"
]
},
{
Expand Down Expand Up @@ -661,7 +656,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.3"
"version": "3.12.4"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit a97c604

Please sign in to comment.