pydiagral 1.5.0b5__py3-none-any.whl → 1.5.0b6__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.
- pydiagral/api.py +2 -1
- {pydiagral-1.5.0b5.dist-info → pydiagral-1.5.0b6.dist-info}/METADATA +1 -1
- {pydiagral-1.5.0b5.dist-info → pydiagral-1.5.0b6.dist-info}/RECORD +5 -5
- {pydiagral-1.5.0b5.dist-info → pydiagral-1.5.0b6.dist-info}/WHEEL +0 -0
- {pydiagral-1.5.0b5.dist-info → pydiagral-1.5.0b6.dist-info}/licenses/LICENSE +0 -0
pydiagral/api.py
CHANGED
@@ -447,7 +447,8 @@ class DiagralAPI:
|
|
447
447
|
try:
|
448
448
|
await self.get_system_status()
|
449
449
|
except DiagralAPIError:
|
450
|
-
|
450
|
+
# If connection fails, clean up keys
|
451
|
+
if not api_keys_provided:
|
451
452
|
await self.delete_apikey(apikey=self.__apikey)
|
452
453
|
raise
|
453
454
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pydiagral
|
3
|
-
Version: 1.5.
|
3
|
+
Version: 1.5.0b6
|
4
4
|
Summary: A Python library for interacting with Diagral systems
|
5
5
|
Project-URL: Homepage, https://github.com/mguyard/pydiagral
|
6
6
|
Project-URL: Documentation, https://github.com/mguyard/pydiagral
|
@@ -1,10 +1,10 @@
|
|
1
1
|
pydiagral/__init__.py,sha256=4uM-RD2GQ6JYJkxu-D6wj3XpqfY5gN2hP8NF6WvRI9k,576
|
2
|
-
pydiagral/api.py,sha256=
|
2
|
+
pydiagral/api.py,sha256=nEmP1UuZWIMoSpWMxGk4dF2AbejlE7AJHMTBGUeLra8,50129
|
3
3
|
pydiagral/constants.py,sha256=2B0TdKxQHA3cpIBxojo43bMW44wN9xKYsHbBRHWsaBk,119
|
4
4
|
pydiagral/exceptions.py,sha256=vMhGDQW-AhYIH9gcKHK1-4SHV3eZUXeeqXPyznUAKnU,1211
|
5
5
|
pydiagral/models.py,sha256=vUjxuApjVaMtd7H6Iw5LarwABi30O4FfdObhZRbUNuc,54931
|
6
6
|
pydiagral/utils.py,sha256=-VxI-lNaC4bU1K4DSmWDhvbsS2bXv5FAGULGKBf1UMU,449
|
7
|
-
pydiagral-1.5.
|
8
|
-
pydiagral-1.5.
|
9
|
-
pydiagral-1.5.
|
10
|
-
pydiagral-1.5.
|
7
|
+
pydiagral-1.5.0b6.dist-info/METADATA,sha256=YdmzIantyKA47YQYefTeaDwkHsYME30gjbJO4vCT3Ok,48531
|
8
|
+
pydiagral-1.5.0b6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
9
|
+
pydiagral-1.5.0b6.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
10
|
+
pydiagral-1.5.0b6.dist-info/RECORD,,
|
File without changes
|
File without changes
|