ConceptInfo
relationalai.semantics.inspect
ConceptInfo( name: str, extends: tuple[str, ...], identify_by: tuple[RelationshipInfo, ...], properties: tuple[RelationshipInfo, ...], relationships: tuple[RelationshipInfo, ...], data_sources: tuple[str, ...] = (),)Read-only view of a Concept.
Inherited properties from base concepts are included automatically.
Use all_properties to get identity + non-identity properties together.
Attributes
Section titled “Attributes”.extends
Section titled “.extends”ConceptInfo.extends: tuple[str, ...]Names of base concepts (empty if no bases).
.identify_by
Section titled “.identify_by”ConceptInfo.identify_by: tuple[RelationshipInfo, ...]Properties that form the concept’s unique key (from identify_by=).
.properties
Section titled “.properties”ConceptInfo.properties: tuple[RelationshipInfo, ...]Non-identity properties (regular attributes). Includes inherited properties from base concepts.
.relationships
Section titled “.relationships”ConceptInfo.relationships: tuple[RelationshipInfo, ...]Multi-valued relationships declared on this concept or inherited from base concepts.
Used By
Section titled “Used By”semantics > inspect └── ModelSchema └── get
Returned By
Section titled “Returned By”semantics > inspect └── ModelSchema └── get