ontocast.onto.tenancy¶
Tenant/project naming helpers for triple-store datasets and vector collections.
Naming convention (separator default --)::
{tenant}{sep}{project}{sep}facts
{tenant}{sep}{project}{sep}ontologies
Runtime tenant and project are taken from CLI flags or HTTP request parameters only
(not from environment variables). :data:DEFAULT_TENANT / :data:DEFAULT_PROJECT
are used when a parameter is omitted and for deriving initial Fuseki/Qdrant names
in configuration.
tenant_project_facts_name(tenant, project, *, sep=TENANCY_SEP)
¶
Facts dataset (Fuseki) or facts collection (Qdrant).
tenant_project_ontologies_name(tenant, project, *, sep=TENANCY_SEP)
¶
Ontologies dataset (Fuseki) or ontologies collection (Qdrant).
tenant_project_store_name(tenant, project, kind, *, sep=TENANCY_SEP)
¶
Return Fuseki dataset or Qdrant collection name for the given kind.