We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aba282 commit 7e3e516Copy full SHA for 7e3e516
safegraph_patterns/delphi_safegraph_patterns/run.py
@@ -58,12 +58,13 @@ def run_module():
58
# Why call subprocess rather than using a native Python client, e.g. boto3?
59
# Because boto3 does not have a simple rsync-like call that can perform
60
# the following behavior elegantly.
61
- if bool(params["sync"]):
+ if params["sync"]:
62
subprocess.run(
63
f'aws s3 sync s3://sg-c19-response/{ver[1]}/ '
64
f'{raw_data_dir}/{ver[1]}/ --endpoint {aws_endpoint}',
65
env=env_vars,
66
shell=True,
67
+ check=True
68
)
69
70
brand_df = pd.read_csv(
0 commit comments