Skip to content

Commit e8b94d3

Browse files
committed
⚙️ fixed: remove not use args on model dump.
1 parent b0a600b commit e8b94d3

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

src/ddeutil/workflow/api/routes/job.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ async def job_execute(
6969
by_alias=True,
7070
exclude_none=False,
7171
exclude_unset=True,
72-
exclude_defaults=True,
7372
),
7473
"params": params,
7574
"context": context,

src/ddeutil/workflow/api/routes/logs.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ async def get_traces(
4444
by_alias=True,
4545
exclude_none=True,
4646
exclude_unset=True,
47-
exclude_defaults=True,
4847
)
4948
for trace in result.trace.find_traces()
5049
],
@@ -73,7 +72,6 @@ async def get_trace_with_id(run_id: str):
7372
by_alias=True,
7473
exclude_none=True,
7574
exclude_unset=True,
76-
exclude_defaults=True,
7775
)
7876
),
7977
}

src/ddeutil/workflow/api/routes/workflows.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ async def get_workflow_by_name(name: str) -> DictData:
5656
by_alias=True,
5757
exclude_none=False,
5858
exclude_unset=True,
59-
exclude_defaults=True,
6059
)
6160

6261

@@ -99,7 +98,6 @@ async def get_workflow_audits(name: str):
9998
by_alias=True,
10099
exclude_none=False,
101100
exclude_unset=True,
102-
exclude_defaults=True,
103101
)
104102
for audit in get_audit().find_audits(name=name)
105103
],
@@ -133,6 +131,5 @@ async def get_workflow_release_audit(name: str, release: str):
133131
by_alias=True,
134132
exclude_none=False,
135133
exclude_unset=True,
136-
exclude_defaults=True,
137134
),
138135
}

0 commit comments

Comments
 (0)