Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
v-chen_data committed Sep 25, 2024
1 parent 7be07f2 commit da5f468
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions llmfoundry/command_utils/data_prep/convert_delta_to_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,12 +547,12 @@ def validate_and_get_cluster_info(
if res is None:
raise ClusterDoesNotExistError(cluster_id)

data_security_mode = str(res.data_security_mode).upper()[len('DATASECURITYMODE.'):]
spark_conf = res.spark_conf
if spark_conf:
print('spark_conf: ', spark_conf)
else:
print('spark_conf: ', 'CANT BE FOUND')
perms = w.permissions.get(
request_object_type='clusters',
request_object_id=cluster_id,
)

print('perms: ', perms)

# None stands for Shared Access Mode
if data_security_mode not in ('NONE', 'SINGLE_USER'):
Expand Down

0 comments on commit da5f468

Please sign in to comment.