Skip to content

Commit 80ca237

Browse files
committed
Refactor imports in __init__.py and desk_controller.py; remove unused flow and deployment references
1 parent 865a60e commit 80ca237

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

src/progressive_automations_python/__init__.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,7 @@
3838
)
3939

4040
from progressive_automations_python.prefect_flows import (
41-
simple_movement_flow,
42-
)
43-
44-
from progressive_automations_python.deployment import (
45-
create_deployments
41+
deploy_move_desk_flow,
4642
)
4743

4844
__all__ = [
@@ -59,6 +55,5 @@
5955
"save_state",
6056
"get_duty_cycle_status",
6157
"show_duty_cycle_status",
62-
"simple_movement_flow",
63-
"create_deployments"
58+
"deploy_move_desk_flow"
6459
]

src/progressive_automations_python/desk_controller.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"""
77

88
from typing import Optional
9-
from prefect import flow
109
from progressive_automations_python.config import (
1110
DUTY_CYCLE_MAX_ON_TIME,
1211
DUTY_CYCLE_PERIOD,
@@ -80,7 +79,6 @@ def check_duty_cycle_status_before_execution() -> dict:
8079
}
8180

8281

83-
@flow
8482
def move_to_height(target_height: float) -> dict:
8583
"""
8684
Move desk to target height with safety checks and duty cycle enforcement

0 commit comments

Comments
 (0)