Dan Allan
Dan Allan
I don't know of anyone who uses entrypoints this way. Maybe @saulshanabrook or @takluyver would be generous enough to weigh in on whether the entrypoint construction ```py 'imageio mime:image/png mime:image/jpg...
Yes, actually I was thinking along those lines. For example, we might have one `'image/tiff'` driver that returns plain dask arrays and another than returns richer xarray.DataArray-of-dask-arrays objects with labeled...
Great, sounds like a plan. I can foresee this interacting with the discussion about enabling plugins to implement a smaller interface from which we automatically construct a full DataSource subclass....
> We are not limited to looking at the filename alone. Definitely. We also might want to incorporate file signature sniffing. In fact there is a [standard library module that...
@takluyver Can you help me understand the story around `entry_points` in `pyproject.toml`? Judging from and https://flit.readthedocs.io/en/latest/pyproject_toml.html#entry-points-sectionshttps://python-poetry.org/docs/pyproject/#plugins it looks like this has to be addressed for the specific tool or tools...
The `_load` method is called as part of `__init__`. To defer slow network requests, you can hook into `_make_entries_container` and return a dict-like object that only does a network request...
I think it's easiest to understand from the inside out. 1. You have some `MyDataSource` object with `_load` method that actually pulls down the (expensive) data. That `_load` method will...
> If we were able to turn `LocalCatalogEntry` into a `LazyCatalogEntry`, calling _load would be deferred until access to the subcatalog (e.g. self._entries[collection.id] is attempted. If I understand what you...
Yes, I think making these other uses beyond "simple YAML files" more prominent in the documentation would be helpful for selling intake more broadly. Sign me up for contributing some...
Finally started on this in #544