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

Fix httpx app shortcut deprecation warning #2291

Open
simonw opened this issue Mar 1, 2024 · 0 comments
Open

Fix httpx app shortcut deprecation warning #2291

simonw opened this issue Mar 1, 2024 · 0 comments
Labels
minor Minor bugs (not high priority)

Comments

@simonw
Copy link
Owner

simonw commented Mar 1, 2024

Spotted with latest HTTPX in a test using datasette.client:

.../site-packages/httpx/_client.py:1426:
  DeprecationWarning: The 'app' shortcut is now deprecated.
  Use the explicit style 'transport=ASGITransport(app=...)' instead.
    warnings.warn(message, DeprecationWarning)
@simonw simonw added the minor Minor bugs (not high priority) label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Minor bugs (not high priority)
Projects
None yet
Development

No branches or pull requests

1 participant