in scripts/copy_bigquery_data.py [0:0]
def get_batch_data_gcs(BUCKET_NAME):
'''
Copy necessary files for datagen streaming
'''
copy_blob(
bucket_name="cymbal-fraudfinder",
blob_name="datagen/hacked_customers_history.txt",
destination_bucket_name=BUCKET_NAME,
destination_blob_name="datagen/hacked_customers_history.txt"
)
copy_blob(
bucket_name="cymbal-fraudfinder",
blob_name="datagen/hacked_terminals_history.txt",
destination_bucket_name=BUCKET_NAME,
destination_blob_name="datagen/hacked_terminals_history.txt"
)
copy_blob(
bucket_name="cymbal-fraudfinder",
blob_name="datagen/demographics/customer_profiles.csv",
destination_bucket_name=BUCKET_NAME,
destination_blob_name="datagen/demographics/customer_profiles.csv"
)
copy_blob(
bucket_name="cymbal-fraudfinder",
blob_name="datagen/demographics/terminal_profiles.csv",
destination_bucket_name=BUCKET_NAME,
destination_blob_name="datagen/demographics/terminal_profiles.csv"
)
copy_blob(
bucket_name="cymbal-fraudfinder",
blob_name="datagen/demographics/customer_with_terminal_profiles.csv",
destination_bucket_name=BUCKET_NAME,
destination_blob_name="datagen/demographics/customer_with_terminal_profiles.csv"
)
return "Done get_batch_data_gcs"