refactor(ops): Optimize the iteration for filter_none_values and use logging.error to record logs when an exception occurs (#8461)
This commit is contained in:
parent
1a8dcae10e
commit
831c5a93af
3 changed files with 8 additions and 6 deletions
|
|
@ -21,8 +21,7 @@ class BaseTraceInfo(BaseModel):
|
|||
return None
|
||||
if isinstance(v, str | dict | list):
|
||||
return v
|
||||
else:
|
||||
return ""
|
||||
return ""
|
||||
|
||||
|
||||
class WorkflowTraceInfo(BaseTraceInfo):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue