Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
SDKs
Python SDK
Commits
8f1fe5a5
Commit
8f1fe5a5
authored
Oct 18, 2021
by
Spencer Sutton
Browse files
Some syntax changes
parent
675280cb
Pipeline
#72345
passed with stages
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
osdu_api/clients/partition/partition_client.py
View file @
8f1fe5a5
...
...
@@ -43,10 +43,10 @@ class PartitionClient(BaseClient):
dict: CSP-specific partition info
"""
if
data_partition_id
==
None
:
if
data_partition_id
is
None
:
raise
Exception
(
"data partition id cannot be empty"
)
if
bearer_token
==
None
:
if
bearer_token
is
None
:
# explicitly passing service principal token because this use case
# requires it be used even when other use cases have it disabled
self
.
_refresh_service_principal_token
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment