Types
momapy_kb.lpg.types
Custom type plugins for momapy-specific types.
Provides node classes and PylpgTypePlugin implementations for types that are specific to momapy: FrozenDict, NoneValueType, LayoutModelMapping, and FrozenSurjectionDict.
Functions:
| Name | Description |
|---|---|
register_momapy_plugins |
Register all momapy-specific type plugins on a context. |
register_momapy_plugins
Register all momapy-specific type plugins on a context.
Registers plugins for FrozenDict, NoneValueType, LayoutModelMapping, and FrozenSurjectionDict, and adds the corresponding type-to-node-class and node-class-to-type mappings.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ctx
|
PylpgContext
|
The pylpg context to register plugins on. |
required |