single-cell-data / SOMA

A flexible and extensible API for annotated 2D matrix data stored in multiple underlying formats.
MIT License
69 stars 9 forks source link

Update `PlatformConfig` to allow impl-specific types #166

Closed thetorpedodog closed 1 year ago

thetorpedodog commented 1 year ago

This incorporates the specification changes from this commit: 89692959e9112d9cf1323cf0521a4cf0fa1efa49 into the Python implementation.

We restrict the multi-platform–compatible type to be specifically a dict (and not a Mapping) so that if some implementation had a configuration that implemented Mapping, it would be excluded (i.e., we only look inside basic built-in types and no funny business).

Tracking: https://github.com/single-cell-data/TileDB-SOMA/issues/1394