Skip to content

Commit

Permalink
Update prism.py
Browse files Browse the repository at this point in the history
Updated wbucket naming convention to prism_python_wbucket and expanded randint range
  • Loading branch information
mwaldronii committed Nov 18, 2020
1 parent 95ed632 commit 652aa2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prism/prism.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def create_bucket(self, schema, dataset_id, operation="Replace"):
}

data = {
"name": "bucket_" + str(random.randint(100000, 999999)),
"name": "prism_python_wbucket_" + str(random.randint(1000000, 9999999)),
"operation": {"id": "Operation_Type=" + operation},
"targetDataset": {"id": dataset_id},
"schema": schema,
Expand Down

0 comments on commit 652aa2f

Please sign in to comment.