configuration

Default configuration and cached accessor for the global characteristic registry.

  • No auto-configuration in constructor.

  • Provide characteristic_registry() with @lru_cache that builds the

singleton instance and seeds it with a set of edges.

pysatl_core.distributions.registry.configuration.characteristic_registry()[source]

Return a cached, configured characteristic registry (singleton instance). :rtype: CharacteristicRegistry

Notes

  • The singleton is created via CharacteristicRegistry.__new__().

  • Configuration is applied exactly once per process via LRU caching.

  • Users may build and configure a separate (unconfigured) registry by instantiating CharacteristicRegistry() directly.

Return type:

CharacteristicRegistry

pysatl_core.distributions.registry.configuration.reset_characteristic_registry()[source]

Reset the cached characteristic registry.

Return type:

None