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 - code reduction #2440

Closed
baywet opened this issue Mar 21, 2023 · 0 comments · Fixed by #2817
Closed

Python - code reduction #2440

baywet opened this issue Mar 21, 2023 · 0 comments · Fixed by #2817
Assignees
Labels
enhancement New feature or request Python WIP
Milestone

Comments

@baywet
Copy link
Member

baywet commented Mar 21, 2023

follow up of #2388 and #2406. Abstractions needs to have a new base request builder class with the request adapter, url template and paths parameters properties. One (or more) base constructor needs to be added to handle validation and assignment of those parameters. Depending on the type system a Base Request Configruation or a request configuration class needs to be added with the headers and options properties, and if the covariance in the generic type system allows it, the query parameters property. Generation needs to be updated accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Python WIP
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants