lsst-ctrl-bps-panda 30.0.0rc3__py3-none-any.whl → 30.0.1__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.
- lsst/ctrl/bps/panda/edgenode/cmd_line_decoder.py +1 -1
- lsst/ctrl/bps/panda/panda_auth_drivers.py +10 -2
- lsst/ctrl/bps/panda/panda_auth_utils.py +1 -1
- lsst/ctrl/bps/panda/utils.py +20 -2
- lsst/ctrl/bps/panda/version.py +1 -1
- {lsst_ctrl_bps_panda-30.0.0rc3.dist-info → lsst_ctrl_bps_panda-30.0.1.dist-info}/METADATA +3 -3
- {lsst_ctrl_bps_panda-30.0.0rc3.dist-info → lsst_ctrl_bps_panda-30.0.1.dist-info}/RECORD +14 -14
- {lsst_ctrl_bps_panda-30.0.0rc3.dist-info → lsst_ctrl_bps_panda-30.0.1.dist-info}/WHEEL +1 -1
- {lsst_ctrl_bps_panda-30.0.0rc3.dist-info → lsst_ctrl_bps_panda-30.0.1.dist-info}/licenses/COPYRIGHT +0 -0
- {lsst_ctrl_bps_panda-30.0.0rc3.dist-info → lsst_ctrl_bps_panda-30.0.1.dist-info}/licenses/LICENSE +0 -0
- {lsst_ctrl_bps_panda-30.0.0rc3.dist-info → lsst_ctrl_bps_panda-30.0.1.dist-info}/licenses/bsd_license.txt +0 -0
- {lsst_ctrl_bps_panda-30.0.0rc3.dist-info → lsst_ctrl_bps_panda-30.0.1.dist-info}/licenses/gpl-v3.0.txt +0 -0
- {lsst_ctrl_bps_panda-30.0.0rc3.dist-info → lsst_ctrl_bps_panda-30.0.1.dist-info}/top_level.txt +0 -0
- {lsst_ctrl_bps_panda-30.0.0rc3.dist-info → lsst_ctrl_bps_panda-30.0.1.dist-info}/zip-safe +0 -0
|
@@ -317,7 +317,7 @@ def use_map_file(input_file):
|
|
|
317
317
|
-------
|
|
318
318
|
use_qnode_map: `bool`
|
|
319
319
|
Whether qnode_map is used. There is a placeholder 'PH'
|
|
320
|
-
|
|
320
|
+
when enableQnodeMap is true.
|
|
321
321
|
"""
|
|
322
322
|
parts = input_file.split(":")
|
|
323
323
|
use_qnode_map = len(parts) == 2 and parts[0] == "PH"
|
|
@@ -69,8 +69,16 @@ def panda_auth_reset_driver():
|
|
|
69
69
|
panda_auth_update(None, True)
|
|
70
70
|
|
|
71
71
|
|
|
72
|
-
def panda_auth_refresh_driver(days, verbose):
|
|
73
|
-
"""Refresh auth token.
|
|
72
|
+
def panda_auth_refresh_driver(days: int, verbose: bool) -> None:
|
|
73
|
+
"""Refresh auth token.
|
|
74
|
+
|
|
75
|
+
Parameters
|
|
76
|
+
----------
|
|
77
|
+
days : `int`
|
|
78
|
+
Number of days before token expires.
|
|
79
|
+
verbose : `bool`
|
|
80
|
+
Enable verbose logging.
|
|
81
|
+
"""
|
|
74
82
|
try:
|
|
75
83
|
panda_auth_refresh(days, verbose)
|
|
76
84
|
except TokenNotFoundError as e:
|
|
@@ -187,7 +187,7 @@ def panda_auth_refresh(days=4, verbose=False):
|
|
|
187
187
|
Returns
|
|
188
188
|
-------
|
|
189
189
|
status: `dict`
|
|
190
|
-
A dictionary containing the refreshed token status
|
|
190
|
+
A dictionary containing the refreshed token status.
|
|
191
191
|
"""
|
|
192
192
|
panda_url = os.environ.get("PANDA_URL")
|
|
193
193
|
panda_auth_vo = os.environ.get("PANDA_AUTH_VO")
|
lsst/ctrl/bps/panda/utils.py
CHANGED
|
@@ -294,7 +294,7 @@ def idds_call_with_check(func, *, func_name: str, request_id: int, **kwargs):
|
|
|
294
294
|
|
|
295
295
|
Parameters
|
|
296
296
|
----------
|
|
297
|
-
func :
|
|
297
|
+
func : `~collections.abc.Callable`
|
|
298
298
|
The iDDS client function to call.
|
|
299
299
|
func_name : `str`
|
|
300
300
|
Name used for logging.
|
|
@@ -305,7 +305,7 @@ def idds_call_with_check(func, *, func_name: str, request_id: int, **kwargs):
|
|
|
305
305
|
|
|
306
306
|
Returns
|
|
307
307
|
-------
|
|
308
|
-
ret :
|
|
308
|
+
ret : `~typing.Any`
|
|
309
309
|
The return value from the iDDS client function.
|
|
310
310
|
"""
|
|
311
311
|
call_kwargs = dict(kwargs)
|
|
@@ -366,12 +366,30 @@ def _make_doma_work(
|
|
|
366
366
|
----------
|
|
367
367
|
config : `lsst.ctrl.bps.BpsConfig`
|
|
368
368
|
BPS configuration.
|
|
369
|
+
generic_workflow : `lsst.ctrl.bps.GenericWorkflow`
|
|
370
|
+
The workflow.
|
|
369
371
|
gwjob : `lsst.ctrl.bps.GenericWorkflowJob`
|
|
370
372
|
Job representing the jobs for the PanDA task.
|
|
371
373
|
task_count : `int`
|
|
372
374
|
Count of PanDA tasks used when making unique names.
|
|
373
375
|
task_chunk : `int`
|
|
374
376
|
Count of chunk of a PanDA tasks used when making unique names.
|
|
377
|
+
enable_event_service : `bool`, optional
|
|
378
|
+
???.
|
|
379
|
+
enable_job_name_map : `bool`, optional
|
|
380
|
+
???.
|
|
381
|
+
order_id_map_files : `typing.Any`, optional
|
|
382
|
+
???.
|
|
383
|
+
es_label : `typing.Any`, optional
|
|
384
|
+
???.
|
|
385
|
+
max_payloads_per_panda_job : `int`, optional
|
|
386
|
+
???.
|
|
387
|
+
max_wms_job_wall_time : `typing.Any`, optional
|
|
388
|
+
???.
|
|
389
|
+
remote_filename : `typing.Any`, optional
|
|
390
|
+
???.
|
|
391
|
+
qnode_map_filename : `typing.Any`, optional
|
|
392
|
+
???.
|
|
375
393
|
|
|
376
394
|
Returns
|
|
377
395
|
-------
|
lsst/ctrl/bps/panda/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__all__ = ["__version__"]
|
|
2
|
-
__version__ = "30.0.
|
|
2
|
+
__version__ = "30.0.1"
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lsst-ctrl-bps-panda
|
|
3
|
-
Version: 30.0.
|
|
3
|
+
Version: 30.0.1
|
|
4
4
|
Summary: PanDA plugin for lsst-ctrl-bps.
|
|
5
5
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
6
6
|
License-Expression: BSD-3-Clause OR GPL-3.0-or-later
|
|
7
7
|
Project-URL: Homepage, https://github.com/lsst/ctrl_bps_panda
|
|
8
|
+
Project-URL: Source, https://github.com/lsst/ctrl_bps_panda
|
|
8
9
|
Keywords: lsst
|
|
9
10
|
Classifier: Intended Audience :: Science/Research
|
|
10
11
|
Classifier: Operating System :: OS Independent
|
|
11
12
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.14
|
|
16
16
|
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
17
|
-
Requires-Python: >=3.
|
|
17
|
+
Requires-Python: >=3.12.0
|
|
18
18
|
Description-Content-Type: text/x-rst
|
|
19
19
|
License-File: COPYRIGHT
|
|
20
20
|
License-File: LICENSE
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
lsst/ctrl/bps/panda/__init__.py,sha256=oApEOBGMuIv98uQvcDf6DLVvrbD6_8p9o0m2YPTenPY,1351
|
|
2
2
|
lsst/ctrl/bps/panda/cmd_line_embedder.py,sha256=_gyqWQQxM8ZtZzQbWlOdgjfgrotrwV3sFvwWXxe-jfQ,6778
|
|
3
3
|
lsst/ctrl/bps/panda/constants.py,sha256=C8DBJT-jIDF-byBSH5rcefLFkqDNC2DRxMhxmSk-GyI,1960
|
|
4
|
-
lsst/ctrl/bps/panda/panda_auth_drivers.py,sha256=
|
|
5
|
-
lsst/ctrl/bps/panda/panda_auth_utils.py,sha256=
|
|
4
|
+
lsst/ctrl/bps/panda/panda_auth_drivers.py,sha256=mDTLNH7RM56b2xIgYWE238pG8urZDZCaDQ6RFKOjnDI,3333
|
|
5
|
+
lsst/ctrl/bps/panda/panda_auth_utils.py,sha256=NZvTS4WzK5qsjy6mKpMhOTBaETrCjnyarshorW7ilAU,8545
|
|
6
6
|
lsst/ctrl/bps/panda/panda_exceptions.py,sha256=HcOKWMuG79c16Y9j7IJbp990k4DBQ54e7haY1Fsl6XQ,629
|
|
7
7
|
lsst/ctrl/bps/panda/panda_service.py,sha256=wQySP0wLppjgvVmgqUk0FHXLIt4hBaCZR0lnuBl6jgc,20450
|
|
8
|
-
lsst/ctrl/bps/panda/utils.py,sha256=
|
|
9
|
-
lsst/ctrl/bps/panda/version.py,sha256=
|
|
8
|
+
lsst/ctrl/bps/panda/utils.py,sha256=J8tVYwrreeoxR-tUcvjbTy9NeTPd5NIeVL5aEhcrstg,45573
|
|
9
|
+
lsst/ctrl/bps/panda/version.py,sha256=2rje6AhRlSZA0YGspwzNRmFUDs6Lw4d0LRgaVZiU0dY,49
|
|
10
10
|
lsst/ctrl/bps/panda/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
lsst/ctrl/bps/panda/cli/panda_auth.py,sha256=i54ati_HoKSlyslQRBl7QpX1w5z8MjSfHHMpT43ZeXQ,2055
|
|
12
12
|
lsst/ctrl/bps/panda/cli/cmd/__init__.py,sha256=QNhn-2QmXHKVUgwmtuX7wnDv3qOUuU_30juuM_2AGaE,1413
|
|
@@ -18,13 +18,13 @@ lsst/ctrl/bps/panda/conf_example/test_sdf.yaml,sha256=e7C8df1h59KA3vBCm_qD1Xmcm2
|
|
|
18
18
|
lsst/ctrl/bps/panda/conf_example/test_usdf.yaml,sha256=WIbXCJZDaG7zYUHt7U96MUjUsPRdHlk8C0Rg00nsPjs,390
|
|
19
19
|
lsst/ctrl/bps/panda/edgenode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
20
|
lsst/ctrl/bps/panda/edgenode/build_cmd_line_decoder.py,sha256=Sx7S-jnnyl4IBXWk19B1kcx6cdQGz4RwJDgqQvTwot8,3945
|
|
21
|
-
lsst/ctrl/bps/panda/edgenode/cmd_line_decoder.py,sha256=
|
|
22
|
-
lsst_ctrl_bps_panda-30.0.
|
|
23
|
-
lsst_ctrl_bps_panda-30.0.
|
|
24
|
-
lsst_ctrl_bps_panda-30.0.
|
|
25
|
-
lsst_ctrl_bps_panda-30.0.
|
|
26
|
-
lsst_ctrl_bps_panda-30.0.
|
|
27
|
-
lsst_ctrl_bps_panda-30.0.
|
|
28
|
-
lsst_ctrl_bps_panda-30.0.
|
|
29
|
-
lsst_ctrl_bps_panda-30.0.
|
|
30
|
-
lsst_ctrl_bps_panda-30.0.
|
|
21
|
+
lsst/ctrl/bps/panda/edgenode/cmd_line_decoder.py,sha256=iNT-AODN-_5AmlIgd6SYDaEFVgk46ASFko3ICSYUa90,14620
|
|
22
|
+
lsst_ctrl_bps_panda-30.0.1.dist-info/licenses/COPYRIGHT,sha256=5ATATZSyXxMNKoJuCJdATg4YNm56ubTwU_hDbShxIWw,116
|
|
23
|
+
lsst_ctrl_bps_panda-30.0.1.dist-info/licenses/LICENSE,sha256=pRExkS03v0MQW-neNfIcaSL6aiAnoLxYgtZoFzQ6zkM,232
|
|
24
|
+
lsst_ctrl_bps_panda-30.0.1.dist-info/licenses/bsd_license.txt,sha256=7MIcv8QRX9guUtqPSBDMPz2SnZ5swI-xZMqm_VDSfxY,1606
|
|
25
|
+
lsst_ctrl_bps_panda-30.0.1.dist-info/licenses/gpl-v3.0.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
26
|
+
lsst_ctrl_bps_panda-30.0.1.dist-info/METADATA,sha256=Yc1Xl7VIWG5KGndj_WbP_YV5qyJwfW0QyzRqROdxiZ4,2401
|
|
27
|
+
lsst_ctrl_bps_panda-30.0.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
28
|
+
lsst_ctrl_bps_panda-30.0.1.dist-info/top_level.txt,sha256=eUWiOuVVm9wwTrnAgiJT6tp6HQHXxIhj2QSZ7NYZH80,5
|
|
29
|
+
lsst_ctrl_bps_panda-30.0.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
30
|
+
lsst_ctrl_bps_panda-30.0.1.dist-info/RECORD,,
|
{lsst_ctrl_bps_panda-30.0.0rc3.dist-info → lsst_ctrl_bps_panda-30.0.1.dist-info}/licenses/COPYRIGHT
RENAMED
|
File without changes
|
{lsst_ctrl_bps_panda-30.0.0rc3.dist-info → lsst_ctrl_bps_panda-30.0.1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lsst_ctrl_bps_panda-30.0.0rc3.dist-info → lsst_ctrl_bps_panda-30.0.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|