aind-data-transfer-service 1.18.2__py3-none-any.whl → 1.20.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aind_data_transfer_service/__init__.py +1 -1
- aind_data_transfer_service/server.py +7 -3
- {aind_data_transfer_service-1.18.2.dist-info → aind_data_transfer_service-1.20.0.dist-info}/METADATA +1 -1
- {aind_data_transfer_service-1.18.2.dist-info → aind_data_transfer_service-1.20.0.dist-info}/RECORD +7 -7
- {aind_data_transfer_service-1.18.2.dist-info → aind_data_transfer_service-1.20.0.dist-info}/WHEEL +0 -0
- {aind_data_transfer_service-1.18.2.dist-info → aind_data_transfer_service-1.20.0.dist-info}/licenses/LICENSE +0 -0
- {aind_data_transfer_service-1.18.2.dist-info → aind_data_transfer_service-1.20.0.dist-info}/top_level.txt +0 -0
|
@@ -686,11 +686,13 @@ async def get_task_logs(request: Request):
|
|
|
686
686
|
|
|
687
687
|
async def index(request: Request):
|
|
688
688
|
"""GET|POST /: form handler"""
|
|
689
|
+
user = request.session.get("user")
|
|
689
690
|
return templates.TemplateResponse(
|
|
690
691
|
request=request,
|
|
691
692
|
name="index.html",
|
|
692
693
|
context=(
|
|
693
694
|
{
|
|
695
|
+
"user_signed_in": user is not None,
|
|
694
696
|
"project_names_url": project_names_url,
|
|
695
697
|
}
|
|
696
698
|
),
|
|
@@ -738,12 +740,14 @@ async def task_logs(request: Request):
|
|
|
738
740
|
|
|
739
741
|
async def jobs(request: Request):
|
|
740
742
|
"""Get Job Status page with pagination"""
|
|
743
|
+
user = request.session.get("user")
|
|
741
744
|
dag_ids = AirflowDagRunsRequestParameters.model_fields["dag_ids"].default
|
|
742
745
|
return templates.TemplateResponse(
|
|
743
746
|
request=request,
|
|
744
747
|
name="job_status.html",
|
|
745
748
|
context=(
|
|
746
749
|
{
|
|
750
|
+
"user_signed_in": user is not None,
|
|
747
751
|
"project_names_url": project_names_url,
|
|
748
752
|
"dag_ids": dag_ids,
|
|
749
753
|
}
|
|
@@ -763,8 +767,7 @@ async def job_params(request: Request):
|
|
|
763
767
|
"project_names_url": os.getenv(
|
|
764
768
|
"AIND_METADATA_SERVICE_PROJECT_NAMES_URL"
|
|
765
769
|
),
|
|
766
|
-
"
|
|
767
|
-
"default_version": "v1",
|
|
770
|
+
"default_version": "v2",
|
|
768
771
|
"modalities": JobParamInfo._MODALITIES_LIST,
|
|
769
772
|
"modality_tasks": JobParamInfo._MODALITY_TASKS,
|
|
770
773
|
}
|
|
@@ -956,9 +959,10 @@ async def admin(request: Request):
|
|
|
956
959
|
name="admin.html",
|
|
957
960
|
context=(
|
|
958
961
|
{
|
|
959
|
-
"
|
|
962
|
+
"user_signed_in": user is not None,
|
|
960
963
|
"user_name": user.get("name", "unknown"),
|
|
961
964
|
"user_email": user.get("email", "unknown"),
|
|
965
|
+
"project_names_url": project_names_url,
|
|
962
966
|
}
|
|
963
967
|
),
|
|
964
968
|
)
|
{aind_data_transfer_service-1.18.2.dist-info → aind_data_transfer_service-1.20.0.dist-info}/RECORD
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
aind_data_transfer_service/__init__.py,sha256=
|
|
1
|
+
aind_data_transfer_service/__init__.py,sha256=0Tg_XABtYFzHXVwU7PkAqA-H3SNTaKUlzP8zb_D1nPY,273
|
|
2
2
|
aind_data_transfer_service/log_handler.py,sha256=uchOHpfIIcm4lbsquzhoX2sHGndxERdyoc4wBUZHckw,1703
|
|
3
|
-
aind_data_transfer_service/server.py,sha256=
|
|
3
|
+
aind_data_transfer_service/server.py,sha256=BPm2J2nyF7pni00pGMsw9Wuk3QAbn6DCfA2CzLUkjMM,37505
|
|
4
4
|
aind_data_transfer_service/configs/__init__.py,sha256=9W5GTuso9Is1B9X16RXcdb_GxasZvj6qDzOBDv0AbTc,36
|
|
5
5
|
aind_data_transfer_service/configs/csv_handler.py,sha256=0MDdYvGZxDxZhvkhKRA4AMYYF7Iubmcc-JLNBBu2Uxk,5873
|
|
6
6
|
aind_data_transfer_service/configs/job_upload_template.py,sha256=ajlqkkpUM-KFVynCCWj44mrxPTRAU2dc3IBu16Sq4R0,5142
|
|
@@ -8,8 +8,8 @@ aind_data_transfer_service/configs/platforms_v1.py,sha256=XwLG2ua9uTanuEi7N8y-mG
|
|
|
8
8
|
aind_data_transfer_service/models/__init__.py,sha256=Meym73bEZ9nQr4QoeyhQmV3nRTYtd_4kWKPNygsBfJg,25
|
|
9
9
|
aind_data_transfer_service/models/core.py,sha256=3tOslFEvIpgvMO-LnPIaySGxA3iJynQY5vXsXy6_VCk,10783
|
|
10
10
|
aind_data_transfer_service/models/internal.py,sha256=tWO1yRMu9hHLv0mt7QhOwTPWGbKApWmCf1wwajx5qjI,10681
|
|
11
|
-
aind_data_transfer_service-1.
|
|
12
|
-
aind_data_transfer_service-1.
|
|
13
|
-
aind_data_transfer_service-1.
|
|
14
|
-
aind_data_transfer_service-1.
|
|
15
|
-
aind_data_transfer_service-1.
|
|
11
|
+
aind_data_transfer_service-1.20.0.dist-info/licenses/LICENSE,sha256=U0Y7B3gZJHXpjJVLgTQjM8e_c8w4JJpLgGhIdsoFR1Y,1092
|
|
12
|
+
aind_data_transfer_service-1.20.0.dist-info/METADATA,sha256=Nv_KyD-ZAR5BRv9c6gfDE95hQ2kaXwDmxg4m-kVbpNI,2336
|
|
13
|
+
aind_data_transfer_service-1.20.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
14
|
+
aind_data_transfer_service-1.20.0.dist-info/top_level.txt,sha256=XmxH0q27Jholj2-VYh-6WMrh9Lw6kkuCX_fdsj3SaFE,27
|
|
15
|
+
aind_data_transfer_service-1.20.0.dist-info/RECORD,,
|
{aind_data_transfer_service-1.18.2.dist-info → aind_data_transfer_service-1.20.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|