Skip to content

Commit 77354d6

Browse files
committed
chore: add compressors parameter to shaft
1 parent 4810580 commit 77354d6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/libecalc/process/shaft.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ def __init__(
1919
self,
2020
configuration_handler_id: ConfigurationHandlerId | None = None,
2121
speed_rpm: float | None = None,
22+
compressors: list[Compressor] | None = None,
2223
):
2324
self._id: Final[ConfigurationHandlerId] = configuration_handler_id or ConfigurationHandler._create_id()
2425
self._speed_rpm = speed_rpm
25-
self._compressors: list[Compressor] = []
26+
self._compressors: list[Compressor] = compressors or []
2627

2728
def get_id(self) -> ConfigurationHandlerId:
2829
return self._id

0 commit comments

Comments
 (0)