flytekit.interfaces.data.local package

Submodules

flytekit.interfaces.data.local.local_file_proxy module

class flytekit.interfaces.data.local.local_file_proxy.LocalFileProxy(sandbox)[source]

Bases: flytekit.interfaces.data.common.DataProxy

download(from_path, to_path)[source]
Parameters
  • from_path (Text) –

  • to_path (Text) –

download_directory(from_path, to_path)[source]
Parameters
  • from_path (Text) –

  • to_path (Text) –

exists(path)[source]
Parameters

path (Text) – the path of the file

Rtype bool

whether the file exists or not

get_random_directory()[source]
Return type

Text

get_random_path()[source]
Return type

Text

upload(from_path, to_path)[source]
Parameters
  • from_path (Text) –

  • to_path (Text) –

upload_directory(from_path, to_path)[source]
Parameters
  • from_path (Text) –

  • to_path (Text) –

Module contents