mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
more typed orm (#28507)
This commit is contained in:
@ -29,6 +29,8 @@ class OpsService:
|
||||
if not app:
|
||||
return None
|
||||
tenant_id = app.tenant_id
|
||||
if trace_config_data.tracing_config is None:
|
||||
raise ValueError("Tracing config cannot be None.")
|
||||
decrypt_tracing_config = OpsTraceManager.decrypt_tracing_config(
|
||||
tenant_id, tracing_provider, trace_config_data.tracing_config
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user