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] Improve Python stubs generation #2606

Merged
merged 5 commits into from
Apr 20, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
Co-authored-by: Burak <unexge@gmail.com>
  • Loading branch information
crisidev and unexge authored Apr 20, 2023
commit fe64e20c1621b2811b659593ecede74ebc2829d9
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ sealed class PythonType {
when (it) {
"crate" -> pythonRootModuleName
// In Python, we expose submodules from `aws_smithy_http_server_python`
// like `types`, `middleware`, `tls` etc. from `__root_module__name`
// like `types`, `middleware`, `tls` etc. from Python root module
"aws_smithy_http_server_python" -> pythonRootModuleName
else -> it
}
Expand Down
2 changes: 1 addition & 1 deletion examples/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pip install maturin uvloop aiohttp mypy
```

The server can depend on [uvloop](https://pypi.org/project/uvloop/) for a faster
event loop implementationand it will be automatically used instead of the standard
event loop implementation and it will be automatically used instead of the standard
library event loop if it is found in the dependencies' closure.

### Makefile
Expand Down