fix(aurora): make sure the bot key does not exist in the Change.from_dict() data dictionary
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 54s

This commit is contained in:
Seaswimmer 2024-08-21 15:16:40 -04:00
parent 4d2004ed93
commit cd3d3c7733
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -69,4 +69,6 @@ class Change(AuroraBaseModel):
"end_timestamp": end_timestamp, "end_timestamp": end_timestamp,
"duration": duration "duration": duration
}) })
if "bot" in data:
del data["bot"]
return cls(bot=bot, **data) return cls(bot=bot, **data)