-
The docs say that class Address(typing.NamedTuple):
host: str
port: int So if the code reflects the actual behavior, should the docs be reworded to say |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think the documentation is wrong. I remember that type hint being fixed to match what is on the ASGI spec: https://asgi.readthedocs.io/en/latest/specs/www.html#http-connection-scope. PR welcome to fix the documentation - please also confirm what I said (a blame on the |
Beta Was this translation helpful? Give feedback.
I think the documentation is wrong. I remember that type hint being fixed to match what is on the ASGI spec: https://asgi.readthedocs.io/en/latest/specs/www.html#http-connection-scope.
PR welcome to fix the documentation - please also confirm what I said (a blame on the
Address
would likely point you to a PR).