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 b568bf8Copy full SHA for b568bf8
chipflow_lib/packaging/base.py
@@ -48,7 +48,7 @@ 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
+ assert self._ordered_pins is not None, "Subclass must set self._ordered_pins in model_post_init"
52
return super().model_post_init(__context)
53
54
def register_component(self, name: str, component: wiring.Component) -> None:
0 commit comments