mlx.data.core.AWSFileFetcher.fetch#
- AWSFileFetcher.fetch(self: mlx.data._c.core.FileFetcher, filename: str) mlx.data._c.core.FileFetcherHandle #
Ensures the filename is in the local cache.
It can either fetch it, return immediately if it was prefetched or wait until it is downloaded if it is currently being prefetched.
- Parameters:
filename (str) – A file to fetch from the remote.