You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.4 KiB

4 years ago
  1. __version__ = '3.4.4'
  2. # This relies on each of the submodules having an __all__ variable.
  3. from . import hdrs # noqa
  4. from .client import * # noqa
  5. from .client import ClientSession, ServerFingerprintMismatch # noqa
  6. from .cookiejar import * # noqa
  7. from .formdata import * # noqa
  8. from .helpers import * # noqa
  9. from .http import (HttpVersion, HttpVersion10, HttpVersion11, # noqa
  10. WSMsgType, WSCloseCode, WSMessage, WebSocketError) # noqa
  11. from .multipart import * # noqa
  12. from .payload import * # noqa
  13. from .payload_streamer import * # noqa
  14. from .resolver import * # noqa
  15. from .signals import * # noqa
  16. from .streams import * # noqa
  17. from .tracing import * # noqa
  18. try:
  19. from .worker import GunicornWebWorker, GunicornUVLoopWebWorker # noqa
  20. workers = ('GunicornWebWorker', 'GunicornUVLoopWebWorker')
  21. except ImportError: # pragma: no cover
  22. workers = () # type: ignore
  23. __all__ = (client.__all__ + # noqa
  24. cookiejar.__all__ + # noqa
  25. formdata.__all__ + # noqa
  26. helpers.__all__ + # noqa
  27. multipart.__all__ + # noqa
  28. payload.__all__ + # noqa
  29. payload_streamer.__all__ + # noqa
  30. streams.__all__ + # noqa
  31. signals.__all__ + # noqa
  32. tracing.__all__ + # noqa
  33. ('hdrs', 'HttpVersion', 'HttpVersion10', 'HttpVersion11',
  34. 'WSMsgType', 'WSCloseCode',
  35. 'WebSocketError', 'WSMessage',
  36. ) + workers)