obs_coords – Coordinates for the obs axis, which is indexed by the soma_joinid value. May be an int, a list of int, or a slice. The default, None, selects all.
However, the method signature lists many more possible types. In addition the being inconsistent, the method signature is hard to interpret.
Without being familiar with the schema, it's not clear which
obs
columns users can selected using theobs_value_filter
argument.For example, users can use
sex_ontology_term_id
or human-readablesex
, but that's not clear in the method signature or documentation.Proposal
obs_coord
andvars_coord
in the method signature.obs_value_filter
parameter definition.vars_value_filter
parameter definition.Questions
get_anndata
says:However, the method signature lists many more possible types. In addition the being inconsistent, the method signature is hard to interpret.
Which is correct and can we simplify the method signature type definitions to make it easier to understand?