https://flyte.org logo
#ask-the-community
Title
# ask-the-community
v

varsha Parthasarathy

11/09/2022, 7:40 PM
👋 - I have a
FlyteFile
being passed as an input and my function (which i can’t edit) is expecting a os.path version of a file. How can I extract the
uri
from a
Flytefile
?
j

Jay Ganbat

11/09/2022, 10:54 PM
does the function expect local file or you want the remote path? if its input, it should be at
.remote_source
and if it needs local path you can force download and just send
.path
to the method