cuddly-jelly-27016
06/30/2025, 12:11 AMFlyteFile from a remote url. This is supported but counter intuitive (FlyteFile(path="s3://....", remote=False))
3. FlyteDirectory.crawl() should yield `FlyteFile`s and they should have metadata
4. FlyteDirectory.crawl(details=True) returns a list of tuples (file_base, {file_path: dict}) a dict of one item is useless in my opinion. It should return (file_base, (file_path, dict)) instead... but we should return FlyteFiles anyway and have materialized metadata on FlyteFiles.. maybe something like (file_base, (file_path, FlyteFile))
5. FlyteFile.download() downloads files in random locations. I think these should be under the working directory by default (maybe in randomly generated folder names)... and I think it should allow you to download to a specific location... right now I've to open(my target) and write to it
### Describe alternatives you've considered
Reimplement these at the task level.
### Propose: Link/Inline OR Additional context
No response
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
06/30/2025, 12:11 AM