We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 126bd42 commit 1dc2906Copy full SHA for 1dc2906
chipflow_lib/packaging/base.py
@@ -48,7 +48,8 @@ def model_post_init(self, __context):
48
"""Initialize internal tracking structures"""
49
self._interfaces: Dict[str, dict] = {}
50
self._components: Dict[str, wiring.Component] = {}
51
- self._ordered_pins = None # Subclasses should set this
+ if not hasattr(self, '_ordered_pins'):
52
+ assert True, "Subclass must set self._ordered_pins in model_post_init"
53
return super().model_post_init(__context)
54
55
def register_component(self, name: str, component: wiring.Component) -> None:
0 commit comments