We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2027f3e commit 25eccbdCopy full SHA for 25eccbd
python/thirdweb-ai/src/thirdweb_ai/common/utils.py
@@ -59,6 +59,11 @@ def clean_resolve(out: dict[str, Any]):
59
for key in list(transaction.keys()):
60
if key not in TRANSACTION_KEYS_TO_KEEP:
61
transaction.pop(key, None)
62
+ if "events" in out["data"]:
63
+ for event in out["data"]["events"]:
64
+ for key in list(event.keys()):
65
+ if key not in EVENT_KEYS_TO_KEEP:
66
+ event.pop(key, None)
67
return out
68
69
0 commit comments