There was an error while loading. Please reload this page.
1 parent 4810580 commit 77354d6Copy full SHA for 77354d6
1 file changed
src/libecalc/process/shaft.py
@@ -19,10 +19,11 @@ def __init__(
19
self,
20
configuration_handler_id: ConfigurationHandlerId | None = None,
21
speed_rpm: float | None = None,
22
+ compressors: list[Compressor] | None = None,
23
):
24
self._id: Final[ConfigurationHandlerId] = configuration_handler_id or ConfigurationHandler._create_id()
25
self._speed_rpm = speed_rpm
- self._compressors: list[Compressor] = []
26
+ self._compressors: list[Compressor] = compressors or []
27
28
def get_id(self) -> ConfigurationHandlerId:
29
return self._id
0 commit comments