Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
properties_value2 = response_doc.get('properties', None)
if properties_value2 is not None:
provisioning_state_value = properties_value2.get('provisioningState', None)
if provisioning_state_value is not None:
provisioning_state_instance = provisioning_state_value
storage_account_instance.provisioning_state = provisioning_state_instance
account_type_value = properties_value2.get('accountType', None)
if account_type_value is not None:
account_type_instance = account_type_value
storage_account_instance.account_type = account_type_instance
primary_endpoints_value = properties_value2.get('primaryEndpoints', None)
if primary_endpoints_value is not None:
primary_endpoints_instance = Endpoints()
storage_account_instance.primary_endpoints = primary_endpoints_instance
blob_value = primary_endpoints_value.get('blob', None)
if blob_value is not None:
blob_instance = blob_value
primary_endpoints_instance.blob = blob_instance
queue_value = primary_endpoints_value.get('queue', None)
if queue_value is not None:
queue_instance = queue_value
primary_endpoints_instance.queue = queue_instance
table_value = primary_endpoints_value.get('table', None)
if table_value is not None:
table_instance = table_value
primary_endpoints_instance.table = table_instance
properties_value = response_doc.get('properties', None)
if properties_value is not None:
provisioning_state_value = properties_value.get('provisioningState', None)
if provisioning_state_value is not None:
provisioning_state_instance = provisioning_state_value
storage_account_instance.provisioning_state = provisioning_state_instance
account_type_value = properties_value.get('accountType', None)
if account_type_value is not None:
account_type_instance = account_type_value
storage_account_instance.account_type = account_type_instance
primary_endpoints_value = properties_value.get('primaryEndpoints', None)
if primary_endpoints_value is not None:
primary_endpoints_instance = Endpoints()
storage_account_instance.primary_endpoints = primary_endpoints_instance
blob_value = primary_endpoints_value.get('blob', None)
if blob_value is not None:
blob_instance = blob_value
primary_endpoints_instance.blob = blob_instance
queue_value = primary_endpoints_value.get('queue', None)
if queue_value is not None:
queue_instance = queue_value
primary_endpoints_instance.queue = queue_instance
table_value = primary_endpoints_value.get('table', None)
if table_value is not None:
table_instance = table_value
primary_endpoints_instance.table = table_instance
custom_domain_instance = CustomDomain()
storage_account_json_instance.custom_domain = custom_domain_instance
name_value2 = custom_domain_value.get('name', None)
if name_value2 is not None:
name_instance2 = name_value2
custom_domain_instance.name = name_instance2
use_sub_domain_value = custom_domain_value.get('useSubDomain', None)
if use_sub_domain_value is not None:
use_sub_domain_instance = use_sub_domain_value
custom_domain_instance.use_sub_domain = use_sub_domain_instance
secondary_endpoints_value = properties_value.get('secondaryEndpoints', None)
if secondary_endpoints_value is not None:
secondary_endpoints_instance = Endpoints()
storage_account_json_instance.secondary_endpoints = secondary_endpoints_instance
blob_value2 = secondary_endpoints_value.get('blob', None)
if blob_value2 is not None:
blob_instance2 = blob_value2
secondary_endpoints_instance.blob = blob_instance2
queue_value2 = secondary_endpoints_value.get('queue', None)
if queue_value2 is not None:
queue_instance2 = queue_value2
secondary_endpoints_instance.queue = queue_instance2
table_value2 = secondary_endpoints_value.get('table', None)
if table_value2 is not None:
table_instance2 = table_value2
secondary_endpoints_instance.table = table_instance2
properties_value2 = response_doc.get('properties', None)
if properties_value2 is not None:
provisioning_state_value = properties_value2.get('provisioningState', None)
if provisioning_state_value is not None:
provisioning_state_instance = provisioning_state_value
storage_account_instance.provisioning_state = provisioning_state_instance
account_type_value = properties_value2.get('accountType', None)
if account_type_value is not None:
account_type_instance = account_type_value
storage_account_instance.account_type = account_type_instance
primary_endpoints_value = properties_value2.get('primaryEndpoints', None)
if primary_endpoints_value is not None:
primary_endpoints_instance = Endpoints()
storage_account_instance.primary_endpoints = primary_endpoints_instance
blob_value = primary_endpoints_value.get('blob', None)
if blob_value is not None:
blob_instance = blob_value
primary_endpoints_instance.blob = blob_instance
queue_value = primary_endpoints_value.get('queue', None)
if queue_value is not None:
queue_instance = queue_value
primary_endpoints_instance.queue = queue_instance
table_value = primary_endpoints_value.get('table', None)
if table_value is not None:
table_instance = table_value
primary_endpoints_instance.table = table_instance
custom_domain_instance = CustomDomain()
storage_account_instance.custom_domain = custom_domain_instance
name_value2 = custom_domain_value.get('name', None)
if name_value2 is not None:
name_instance2 = name_value2
custom_domain_instance.name = name_instance2
use_sub_domain_value = custom_domain_value.get('useSubDomain', None)
if use_sub_domain_value is not None:
use_sub_domain_instance = use_sub_domain_value
custom_domain_instance.use_sub_domain = use_sub_domain_instance
secondary_endpoints_value = properties_value2.get('secondaryEndpoints', None)
if secondary_endpoints_value is not None:
secondary_endpoints_instance = Endpoints()
storage_account_instance.secondary_endpoints = secondary_endpoints_instance
blob_value2 = secondary_endpoints_value.get('blob', None)
if blob_value2 is not None:
blob_instance2 = blob_value2
secondary_endpoints_instance.blob = blob_instance2
queue_value2 = secondary_endpoints_value.get('queue', None)
if queue_value2 is not None:
queue_instance2 = queue_value2
secondary_endpoints_instance.queue = queue_instance2
table_value2 = secondary_endpoints_value.get('table', None)
if table_value2 is not None:
table_instance2 = table_value2
secondary_endpoints_instance.table = table_instance2
properties_value = value_value.get('properties', None)
if properties_value is not None:
provisioning_state_value = properties_value.get('provisioningState', None)
if provisioning_state_value is not None:
provisioning_state_instance = provisioning_state_value
storage_account_json_instance.provisioning_state = provisioning_state_instance
account_type_value = properties_value.get('accountType', None)
if account_type_value is not None:
account_type_instance = account_type_value
storage_account_json_instance.account_type = account_type_instance
primary_endpoints_value = properties_value.get('primaryEndpoints', None)
if primary_endpoints_value is not None:
primary_endpoints_instance = Endpoints()
storage_account_json_instance.primary_endpoints = primary_endpoints_instance
blob_value = primary_endpoints_value.get('blob', None)
if blob_value is not None:
blob_instance = blob_value
primary_endpoints_instance.blob = blob_instance
queue_value = primary_endpoints_value.get('queue', None)
if queue_value is not None:
queue_instance = queue_value
primary_endpoints_instance.queue = queue_instance
table_value = primary_endpoints_value.get('table', None)
if table_value is not None:
table_instance = table_value
primary_endpoints_instance.table = table_instance
custom_domain_instance = CustomDomain()
storage_account_instance.custom_domain = custom_domain_instance
name_value2 = custom_domain_value.get('name', None)
if name_value2 is not None:
name_instance2 = name_value2
custom_domain_instance.name = name_instance2
use_sub_domain_value = custom_domain_value.get('useSubDomain', None)
if use_sub_domain_value is not None:
use_sub_domain_instance = use_sub_domain_value
custom_domain_instance.use_sub_domain = use_sub_domain_instance
secondary_endpoints_value = properties_value.get('secondaryEndpoints', None)
if secondary_endpoints_value is not None:
secondary_endpoints_instance = Endpoints()
storage_account_instance.secondary_endpoints = secondary_endpoints_instance
blob_value2 = secondary_endpoints_value.get('blob', None)
if blob_value2 is not None:
blob_instance2 = blob_value2
secondary_endpoints_instance.blob = blob_instance2
queue_value2 = secondary_endpoints_value.get('queue', None)
if queue_value2 is not None:
queue_instance2 = queue_value2
secondary_endpoints_instance.queue = queue_instance2
table_value2 = secondary_endpoints_value.get('table', None)
if table_value2 is not None:
table_instance2 = table_value2
secondary_endpoints_instance.table = table_instance2
properties_value = value_value.get('properties', None)
if properties_value is not None:
provisioning_state_value = properties_value.get('provisioningState', None)
if provisioning_state_value is not None:
provisioning_state_instance = provisioning_state_value
storage_account_json_instance.provisioning_state = provisioning_state_instance
account_type_value = properties_value.get('accountType', None)
if account_type_value is not None:
account_type_instance = account_type_value
storage_account_json_instance.account_type = account_type_instance
primary_endpoints_value = properties_value.get('primaryEndpoints', None)
if primary_endpoints_value is not None:
primary_endpoints_instance = Endpoints()
storage_account_json_instance.primary_endpoints = primary_endpoints_instance
blob_value = primary_endpoints_value.get('blob', None)
if blob_value is not None:
blob_instance = blob_value
primary_endpoints_instance.blob = blob_instance
queue_value = primary_endpoints_value.get('queue', None)
if queue_value is not None:
queue_instance = queue_value
primary_endpoints_instance.queue = queue_instance
table_value = primary_endpoints_value.get('table', None)
if table_value is not None:
table_instance = table_value
primary_endpoints_instance.table = table_instance
custom_domain_instance = CustomDomain()
storage_account_instance.custom_domain = custom_domain_instance
name_value2 = custom_domain_value.get('name', None)
if name_value2 is not None:
name_instance2 = name_value2
custom_domain_instance.name = name_instance2
use_sub_domain_value = custom_domain_value.get('useSubDomain', None)
if use_sub_domain_value is not None:
use_sub_domain_instance = use_sub_domain_value
custom_domain_instance.use_sub_domain = use_sub_domain_instance
secondary_endpoints_value = properties_value.get('secondaryEndpoints', None)
if secondary_endpoints_value is not None:
secondary_endpoints_instance = Endpoints()
storage_account_instance.secondary_endpoints = secondary_endpoints_instance
blob_value2 = secondary_endpoints_value.get('blob', None)
if blob_value2 is not None:
blob_instance2 = blob_value2
secondary_endpoints_instance.blob = blob_instance2
queue_value2 = secondary_endpoints_value.get('queue', None)
if queue_value2 is not None:
queue_instance2 = queue_value2
secondary_endpoints_instance.queue = queue_instance2
table_value2 = secondary_endpoints_value.get('table', None)
if table_value2 is not None:
table_instance2 = table_value2
secondary_endpoints_instance.table = table_instance2
custom_domain_instance = CustomDomain()
storage_account_instance.custom_domain = custom_domain_instance
name_value2 = custom_domain_value2.get('name', None)
if name_value2 is not None:
name_instance2 = name_value2
custom_domain_instance.name = name_instance2
use_sub_domain_value = custom_domain_value2.get('useSubDomain', None)
if use_sub_domain_value is not None:
use_sub_domain_instance = use_sub_domain_value
custom_domain_instance.use_sub_domain = use_sub_domain_instance
secondary_endpoints_value = properties_value2.get('secondaryEndpoints', None)
if secondary_endpoints_value is not None:
secondary_endpoints_instance = Endpoints()
storage_account_instance.secondary_endpoints = secondary_endpoints_instance
blob_value2 = secondary_endpoints_value.get('blob', None)
if blob_value2 is not None:
blob_instance2 = blob_value2
secondary_endpoints_instance.blob = blob_instance2
queue_value2 = secondary_endpoints_value.get('queue', None)
if queue_value2 is not None:
queue_instance2 = queue_value2
secondary_endpoints_instance.queue = queue_instance2
table_value2 = secondary_endpoints_value.get('table', None)
if table_value2 is not None:
table_instance2 = table_value2
secondary_endpoints_instance.table = table_instance2