We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cde4cc commit d76d703Copy full SHA for d76d703
1 file changed
src/robusta/core/sinks/robusta/dal/supabase_dal.py
@@ -586,7 +586,7 @@ def get_active_namespaces(self) -> List[NamespaceInfo]:
586
return [NamespaceInfo.from_db_row(namespace) for namespace in res.data]
587
588
def __to_db_namespace(self, namespace: NamespaceInfo) -> Dict[Any, Any]:
589
- db_job = namespace.dict()
+ db_job = namespace.dict(exclude_none=True)
590
db_job["account_id"] = self.account_id
591
db_job["cluster_id"] = self.cluster
592
db_job["updated_at"] = "now()"
0 commit comments