diracx-cli 0.0.1a25__py3-none-any.whl → 0.0.1a26__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.
- diracx/cli/auth.py +2 -1
- {diracx_cli-0.0.1a25.dist-info → diracx_cli-0.0.1a26.dist-info}/METADATA +1 -1
- {diracx_cli-0.0.1a25.dist-info → diracx_cli-0.0.1a26.dist-info}/RECORD +6 -6
- {diracx_cli-0.0.1a25.dist-info → diracx_cli-0.0.1a26.dist-info}/WHEEL +0 -0
- {diracx_cli-0.0.1a25.dist-info → diracx_cli-0.0.1a26.dist-info}/entry_points.txt +0 -0
- {diracx_cli-0.0.1a25.dist-info → diracx_cli-0.0.1a26.dist-info}/top_level.txt +0 -0
diracx/cli/auth.py
CHANGED
|
@@ -5,6 +5,7 @@ __all__ = ("app",)
|
|
|
5
5
|
import asyncio
|
|
6
6
|
import json
|
|
7
7
|
import os
|
|
8
|
+
from asyncio import sleep
|
|
8
9
|
from datetime import datetime, timedelta, timezone
|
|
9
10
|
from typing import Annotated, Optional
|
|
10
11
|
|
|
@@ -92,7 +93,7 @@ async def login(
|
|
|
92
93
|
if response.error == "authorization_pending":
|
|
93
94
|
# TODO: Setting more than 5 seconds results in an error
|
|
94
95
|
# Related to keep-alive disconnects from uvicon (--timeout-keep-alive)
|
|
95
|
-
await
|
|
96
|
+
await sleep(2)
|
|
96
97
|
continue
|
|
97
98
|
raise RuntimeError(f"Device flow failed with {response}")
|
|
98
99
|
break
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
diracx/cli/__init__.py,sha256=HB9Umd1DXskg8lrRY0ZnSaOBVYPD5Pl4PYRWts-ZR0E,808
|
|
2
2
|
diracx/cli/__main__.py,sha256=yGjYWjRcrrp5mJ0xD0v3rc7VIA9bzDib5D7LPAdH4OI,92
|
|
3
|
-
diracx/cli/auth.py,sha256=
|
|
3
|
+
diracx/cli/auth.py,sha256=e3jl1iGplZrPBXvFM1j1D59BdoyE34wZsSEkDDjUg2Q,4751
|
|
4
4
|
diracx/cli/config.py,sha256=-QPTTuH83epgFviO_af_DJBVjRakIrc6MbxkHg1KLlI,853
|
|
5
5
|
diracx/cli/jobs.py,sha256=qxV7y_WVtYzO6h55lgbWgk_ZC9eN1i1hIFHTpwxC9mE,4760
|
|
6
6
|
diracx/cli/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -8,8 +8,8 @@ diracx/cli/utils.py,sha256=NwhMMHwveKOdW2aoSqpnLnfOKhPnjmPPLpX69naPAzc,855
|
|
|
8
8
|
diracx/cli/internal/__init__.py,sha256=KZrzVcKu3YhNev2XF2KA2nttAa9ONU3CVUgatVMonJ4,143
|
|
9
9
|
diracx/cli/internal/config.py,sha256=xPT7lnJ3QPqJgaNJuMoUpV6CIIxZY_d7HKFb4uINb_8,6552
|
|
10
10
|
diracx/cli/internal/legacy.py,sha256=AQJnLZZDNmE1N6Vd6WdjG8kZPFWufBSez4Hhi0aQZYc,10538
|
|
11
|
-
diracx_cli-0.0.
|
|
12
|
-
diracx_cli-0.0.
|
|
13
|
-
diracx_cli-0.0.
|
|
14
|
-
diracx_cli-0.0.
|
|
15
|
-
diracx_cli-0.0.
|
|
11
|
+
diracx_cli-0.0.1a26.dist-info/METADATA,sha256=UcakxHwP5kBe_qFChNehsV8BpHRO_lDYB7XDhRXWbqI,803
|
|
12
|
+
diracx_cli-0.0.1a26.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
13
|
+
diracx_cli-0.0.1a26.dist-info/entry_points.txt,sha256=b1909GHVOkFUiHVglNlpwia4Ug-7Ncrg-8D5xtYVAlw,169
|
|
14
|
+
diracx_cli-0.0.1a26.dist-info/top_level.txt,sha256=vJx10tdRlBX3rF2Psgk5jlwVGZNcL3m_7iQWwgPXt-U,7
|
|
15
|
+
diracx_cli-0.0.1a26.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|