File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
safegraph_patterns/delphi_safegraph_patterns Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -63,12 +63,12 @@ def run_module():
63
63
# Why call subprocess rather than using a native Python client, e.g. boto3?
64
64
# Because boto3 does not have a simple rsync-like call that can perform
65
65
# the following behavior elegantly.
66
- # subprocess.run(
67
- # f'aws s3 sync s3://sg-c19-response/{ver[1]}/ '
68
- # f'{raw_data_dir}/{ver[1]}/ --endpoint {aws_endpoint}',
69
- # env=env_vars,
70
- # shell=True,
71
- # )
66
+ subprocess .run (
67
+ f'aws s3 sync s3://sg-c19-response/{ ver [1 ]} / '
68
+ f'{ raw_data_dir } /{ ver [1 ]} / --endpoint { aws_endpoint } ' ,
69
+ env = env_vars ,
70
+ shell = True ,
71
+ )
72
72
73
73
brand_df = pd .read_csv (
74
74
join (static_file_dir , f"brand_info/brand_info_{ ver [0 ]} .csv" )
@@ -86,4 +86,4 @@ def run_module():
86
86
87
87
with mp .Pool (n_core ) as pool :
88
88
pool .map (process_file , files )
89
-
89
+
You can’t perform that action at this time.
0 commit comments