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.

__init__.py 3.3KB

1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. from __future__ import annotations
  2. from .imports import lazy_import
  3. from .version import version as __version__ # noqa: F401
  4. __all__ = [
  5. "AbortHandshake",
  6. "basic_auth_protocol_factory",
  7. "BasicAuthWebSocketServerProtocol",
  8. "broadcast",
  9. "ClientProtocol",
  10. "connect",
  11. "ConnectionClosed",
  12. "ConnectionClosedError",
  13. "ConnectionClosedOK",
  14. "Data",
  15. "DuplicateParameter",
  16. "ExtensionName",
  17. "ExtensionParameter",
  18. "InvalidHandshake",
  19. "InvalidHeader",
  20. "InvalidHeaderFormat",
  21. "InvalidHeaderValue",
  22. "InvalidMessage",
  23. "InvalidOrigin",
  24. "InvalidParameterName",
  25. "InvalidParameterValue",
  26. "InvalidState",
  27. "InvalidStatus",
  28. "InvalidStatusCode",
  29. "InvalidUpgrade",
  30. "InvalidURI",
  31. "LoggerLike",
  32. "NegotiationError",
  33. "Origin",
  34. "parse_uri",
  35. "PayloadTooBig",
  36. "ProtocolError",
  37. "RedirectHandshake",
  38. "SecurityError",
  39. "serve",
  40. "ServerProtocol",
  41. "Subprotocol",
  42. "unix_connect",
  43. "unix_serve",
  44. "WebSocketClientProtocol",
  45. "WebSocketCommonProtocol",
  46. "WebSocketException",
  47. "WebSocketProtocolError",
  48. "WebSocketServer",
  49. "WebSocketServerProtocol",
  50. "WebSocketURI",
  51. ]
  52. lazy_import(
  53. globals(),
  54. aliases={
  55. "auth": ".legacy",
  56. "basic_auth_protocol_factory": ".legacy.auth",
  57. "BasicAuthWebSocketServerProtocol": ".legacy.auth",
  58. "broadcast": ".legacy.protocol",
  59. "ClientProtocol": ".client",
  60. "connect": ".legacy.client",
  61. "unix_connect": ".legacy.client",
  62. "WebSocketClientProtocol": ".legacy.client",
  63. "Headers": ".datastructures",
  64. "MultipleValuesError": ".datastructures",
  65. "WebSocketException": ".exceptions",
  66. "ConnectionClosed": ".exceptions",
  67. "ConnectionClosedError": ".exceptions",
  68. "ConnectionClosedOK": ".exceptions",
  69. "InvalidHandshake": ".exceptions",
  70. "SecurityError": ".exceptions",
  71. "InvalidMessage": ".exceptions",
  72. "InvalidHeader": ".exceptions",
  73. "InvalidHeaderFormat": ".exceptions",
  74. "InvalidHeaderValue": ".exceptions",
  75. "InvalidOrigin": ".exceptions",
  76. "InvalidUpgrade": ".exceptions",
  77. "InvalidStatus": ".exceptions",
  78. "InvalidStatusCode": ".exceptions",
  79. "NegotiationError": ".exceptions",
  80. "DuplicateParameter": ".exceptions",
  81. "InvalidParameterName": ".exceptions",
  82. "InvalidParameterValue": ".exceptions",
  83. "AbortHandshake": ".exceptions",
  84. "RedirectHandshake": ".exceptions",
  85. "InvalidState": ".exceptions",
  86. "InvalidURI": ".exceptions",
  87. "PayloadTooBig": ".exceptions",
  88. "ProtocolError": ".exceptions",
  89. "WebSocketProtocolError": ".exceptions",
  90. "protocol": ".legacy",
  91. "WebSocketCommonProtocol": ".legacy.protocol",
  92. "ServerProtocol": ".server",
  93. "serve": ".legacy.server",
  94. "unix_serve": ".legacy.server",
  95. "WebSocketServerProtocol": ".legacy.server",
  96. "WebSocketServer": ".legacy.server",
  97. "Data": ".typing",
  98. "LoggerLike": ".typing",
  99. "Origin": ".typing",
  100. "ExtensionHeader": ".typing",
  101. "ExtensionParameter": ".typing",
  102. "Subprotocol": ".typing",
  103. },
  104. deprecated_aliases={
  105. "framing": ".legacy",
  106. "handshake": ".legacy",
  107. "parse_uri": ".uri",
  108. "WebSocketURI": ".uri",
  109. },
  110. )