Skip to content
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

Python - local imports cause invalid serialization code #5637

Open
baywet opened this issue Oct 18, 2024 · 1 comment · May be fixed by #5724
Open

Python - local imports cause invalid serialization code #5637

baywet opened this issue Oct 18, 2024 · 1 comment · May be fixed by #5724
Labels
Python type:bug A broken experience type:regression A bug from previous release WIP

Comments

@baywet
Copy link
Member

baywet commented Oct 18, 2024

kiota generate -d https://raw.githubusercontent.com/APIs-guru/openapi-directory/gh-pages/v2/specs/github.com/api.github.com/1.1.4/openapi.json -l Python

Results in

integration_test/client/models/workspace_user.py:115: error: Argument 2 to "write_object_value" of "SerializationWriter" has incompatible type "ErrorDetails | None"; expected "None"  [arg-type]
@shemogumbe
Copy link
Contributor

shemogumbe commented Nov 4, 2024

The imports were added in this commit 139c958 Reverted in the linked PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Python type:bug A broken experience type:regression A bug from previous release WIP
Projects
Status: In Review 💭
Development

Successfully merging a pull request may close this issue.

2 participants