Privileged issue
Issue Content
Once 3.10 hits EOL we can adopt the more modern typing.Self which is current >=3.11 https://peps.python.org/pep-0673/.
This would allow us to update some of the client return typing:
def __enter__(self) -> OpenAQ:
"""Enters the context manager, returning the client instance."""
return self
to
def __enter__(self) -> Self:
"""Enters the context manager, returning the client instance."""
return self
Privileged issue
Issue Content
Once 3.10 hits EOL we can adopt the more modern typing.Self which is current >=3.11 https://peps.python.org/pep-0673/.
This would allow us to update some of the client return typing:
to