surfdataverse 4.1.1__tar.gz → 4.1.2__tar.gz
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.
- {surfdataverse-4.1.1 → surfdataverse-4.1.2}/PKG-INFO +1 -1
- {surfdataverse-4.1.1 → surfdataverse-4.1.2}/pyproject.toml +1 -1
- {surfdataverse-4.1.1 → surfdataverse-4.1.2}/src/surfdataverse/core.py +4 -0
- {surfdataverse-4.1.1 → surfdataverse-4.1.2}/README.md +0 -0
- {surfdataverse-4.1.1 → surfdataverse-4.1.2}/src/surfdataverse/__init__.py +0 -0
- {surfdataverse-4.1.1 → surfdataverse-4.1.2}/src/surfdataverse/container.py +0 -0
- {surfdataverse-4.1.1 → surfdataverse-4.1.2}/src/surfdataverse/exceptions.py +0 -0
|
@@ -102,6 +102,10 @@ class DataverseClient:
|
|
|
102
102
|
self.account = accounts[0]
|
|
103
103
|
logger.info("Acquiring token silently")
|
|
104
104
|
result = self.app.acquire_token_silent(scopes=scope, account=self.account)
|
|
105
|
+
if result is None:
|
|
106
|
+
logger.info("No token found in cache for the account, will need interactive login")
|
|
107
|
+
result = self.app.acquire_token_interactive(scope)
|
|
108
|
+
|
|
105
109
|
logger.info(
|
|
106
110
|
f"Silent token result: {result.keys() if isinstance(result, dict) else type(result)}"
|
|
107
111
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|