-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fix] AGE-1360 #2285
[Fix] AGE-1360 #2285
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -41,7 +41,7 @@ def _is_uuid_key(key: str) -> bool: | |||
"root.id", | |||
"tree.id", | |||
"node.id", | |||
"parend.id", | |||
"parent.id", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Independent fix.
@@ -152,6 +152,7 @@ def parse_ingest_value( | |||
attributes[key] = to_type(attributes[key]) | |||
except ValueError: | |||
print_exc() | |||
print(f"key='{key}' attribute='{attributes[key]}' type='{to_type}'") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simply more info for future debugging of things like badly formed hexadecimal UUID string
@@ -167,7 +168,7 @@ def parse_ingest( | |||
} | |||
for field, attributes in typecheck.items(): | |||
if attributes is not None: | |||
for key in attributes.keys(): | |||
for key in list(attributes.keys()): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prevents dictionary changed size during iteration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jp-agenta for the quick fix
No description provided.