selector_spec_names

function of dascore.utils.pd source

selector_spec_names(
    spec: collections.abc.Mapping[collections.abc.Mapping[str, Any], str, collections.abc.Iterable[str], None] ,
)-> ‘set[str]’

Return the names an _attrs/_coords argument designates.

Either form: a mapping of name -> selector, or a name (or names) tagging bare kwargs. A malformed spec keeps only what is a name, so resolve_selector_namespaces is left to complain about the rest properly.