chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
def filter_by_schema_keys(obj, schema):
|
||||
try:
|
||||
return {k: v for k, v in obj.items() if k in schema or k == "messages"}
|
||||
except Exception:
|
||||
return obj
|
||||
Reference in New Issue
Block a user