Skip to content

Commit 67aa4dc

Browse files
committed
Fixing circular dependency
fixing order of annotation
1 parent 3d3356e commit 67aa4dc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/conductor/client/http/models/task_def.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ def __post_init__(self, owner_app, create_time, update_time, created_by, updated
304304
if total_timeout_seconds is not None:
305305
self.total_timeout_seconds = total_timeout_seconds
306306

307-
@deprecated
308307
@property
308+
@deprecated
309309
def owner_app(self):
310310
"""Gets the owner_app of this TaskDef. # noqa: E501
311311

src/conductor/client/http/models/workflow_def.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
from deprecated import deprecated
1010

1111
from conductor.client.helpers.helper import ObjectMapper
12-
from conductor.client.http.models import WorkflowTask, SchemaDef, RateLimit
12+
from conductor.client.http.models import WorkflowTask, RateLimit
13+
from conductor.client.http.models.schema_def import SchemaDef # Direct import to break circular dependency
1314

1415
object_mapper = ObjectMapper()
1516

0 commit comments

Comments
 (0)