Open foundrytom opened 1 year ago
Define the (Python) Specifications trait set using a frozenset so it can be hashed.
Specification
frozenset
Simplifies switching on trait set in manager implementations in Python, where a handler map is a nice way to structure code.
kTraitSet
Re-opening due to the change being reverted in https://github.com/OpenAssetIO/OpenAssetIO-TraitGen/issues/94. This issue is blocked until we can bump the required version of pybind11 used by OpenAssetIO.
What
Define the (Python)
Specification
s trait set using afrozenset
so it can be hashed.Why
Simplifies switching on trait set in manager implementations in Python, where a handler map is a nice way to structure code.
ACs
frozenset
for their statickTraitSet