Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
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.

1 year ago
123456789101112131415161718192021222324252627282930
  1. from __future__ import annotations
  2. import sys
  3. from .imports import lazy_import
  4. from .version import version as websockets_version
  5. # For backwards compatibility:
  6. lazy_import(
  7. globals(),
  8. # Headers and MultipleValuesError used to be defined in this module.
  9. aliases={
  10. "Headers": ".datastructures",
  11. "MultipleValuesError": ".datastructures",
  12. },
  13. deprecated_aliases={
  14. "read_request": ".legacy.http",
  15. "read_response": ".legacy.http",
  16. },
  17. )
  18. __all__ = ["USER_AGENT"]
  19. PYTHON_VERSION = "{}.{}".format(*sys.version_info)
  20. USER_AGENT = f"Python/{PYTHON_VERSION} websockets/{websockets_version}"