phenotypic.sdk_.canonical_metadata_order#

phenotypic.sdk_.canonical_metadata_order() dict[str, int][source]#

Global rank for every known metadata header (cluster then definition order).

Cluster-order major, enum definition-order minor. A header absent from this map is an unknown/uncategorized user tag; callers rank those last. The map is derived entirely from the import-time schema enums, so it is cached. The returned dict is read-only by contract; callers must not mutate it (mirrors header_to_module()).

Return type:

dict[str, int]