Commit 8f1fe5a5 authored by Spencer Sutton's avatar Spencer Sutton
Browse files

Some syntax changes

parent 675280cb
Pipeline #72345 passed with stages
in 24 seconds
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment