flytekit.interfaces.data.s3 package

Submodules

flytekit.interfaces.data.s3.s3proxy module

class flytekit.interfaces.data.s3.s3proxy.AwsS3Proxy(raw_output_data_prefix_override: str = None)[source]

Bases: flytekit.interfaces.data.common.DataProxy

download(remote_path, local_path)[source]
Parameters
  • remote_path (Text) – remote s3:// path

  • local_path (Text) – directory to copy to

download_directory(remote_path, local_path)[source]
Parameters
  • remote_path (Text) – remote s3:// path

  • local_path (Text) – directory to copy to

exists(remote_path)[source]
Parameters

remote_path (Text) – remote s3:// path

Rtype bool

whether the s3 file exists or not

get_random_directory()[source]
Return type

Text

get_random_path()[source]
Return type

Text

property raw_output_data_prefix_override
upload(file_path, to_path)[source]
Parameters
  • file_path (Text) –

  • to_path (Text) –

upload_directory(local_path, remote_path)[source]
Parameters
  • local_path (Text) –

  • remote_path (Text) –

Module contents