-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description of feature
Thanks for developing such a nice package.
The download of a large resource in the op
module can be a bit time consuming. I wonder if we could make the download asynchronously and return a future object instead.
Potential API design:
markers = dc.op.resource('MSigDB', as_future=True) # Non-blocking
markers = markers.result() # Get the result
For caching, since the database is from OmniPath and hosted by your team, the etag would be a graceful solution. This is also how huggingface handle file caching.
I'm happy to submit a PR for the async download part.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request