Skip to content

feat: Improve library interface #676

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

Merged
merged 1 commit into from
Sep 26, 2022

Conversation

EltonChou
Copy link
Contributor

@dbanty
Copy link
Collaborator

dbanty commented Sep 26, 2022

Awesome, thanks! A bunch of folks will appreciate this I'm sure 🥰.

dbanty
dbanty previously approved these changes Sep 26, 2022
@codecov
Copy link

codecov bot commented Sep 26, 2022

Codecov Report

Merging #676 (daf507b) into main (08c985f) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #676   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           49        49           
  Lines         1797      1800    +3     
=========================================
+ Hits          1797      1800    +3     
Impacted Files Coverage Δ
openapi_python_client/__init__.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@EltonChou
Copy link
Contributor Author

Sorry for requesting review again.
Try to fix the commit sign issue

@dbanty dbanty added this to the 0.12.0 milestone Sep 26, 2022
@dbanty dbanty merged commit 9cea5af into openapi-generators:main Sep 26, 2022
@EltonChou EltonChou deleted the improve_library_interface branch September 27, 2022 00:52
@johnthagen
Copy link
Collaborator

johnthagen commented Sep 27, 2022

Thank you @EltonChou! This makes the developer experience when using this library much better when using an IDE + mypy (an IDE like PyCharm will auto-import from the root models but mypy will warn that the classes weren't explicitly re-exported).

❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VSCode pylance raised reportPrivateImportUsage error.
3 participants