-
-
Notifications
You must be signed in to change notification settings - Fork 28
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: copilot seat details
schema fixed
#68
Conversation
While parsing OpenAPI spec for 2022-11-28: codegen/parser/utils.py", line 105, in merge_dict del old[key] ~~~^^^^^ KeyError: 'enum' Signed-off-by: Joao Eduardo Luis <[email protected]>
This is caused by schema update made by GitHub. This should be fixed in the schema override part in the |
I suspected that could be the case as well. Any idea which schema bit is triggering this? Happy to open a PR to address it. Also, feel free to close this one if not the right path to address the problem :) |
It seems this is caused by Lines 226 to 231 in 620e08f
|
copilot seat details
schema fixed
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.
It seems codegen is successful now 👍🏻 (My gh codespace OOM again and again)
@yanyongyu thank you for all your work on this! |
While parsing OpenAPI spec for 2022-11-28:
Signed-off-by: Joao Eduardo Luis <[email protected]>
P.S.: This was hit while running
python -m codegen
on the current master branch (620e08f), which was surprising. I'm not ruling out this might be a problem with my environment, but I suspect this might be a corner case somewhere with the schema.