Skip to content

Flyte Directory in the new Flytekit API #1315

Answered by SandraGH5
SandraGH5 asked this question in Q&A
Discussion options

You must be logged in to vote

Use FlyteFile or FlyteDirectory (native types) to reference a remote File or directory
os.fspath(flytedir) will download and return the local path.
os.listdir() works too, and os.path.join

References:

@jeevb
@katrogan
@kumare3

Replies: 1 comment

Comment options

SandraGH5
Aug 6, 2021
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by SandraGH5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
flytekit FlyteKit Python related issue
1 participant