@levencode/deploom 0.0.0-stage → 0.2.21-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2664) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +59 -3
  3. package/THIRD_PARTY_NOTICES/CPython/CPython-third-party-license.rst +1183 -0
  4. package/THIRD_PARTY_NOTICES/CPython/LICENSE.txt +645 -0
  5. package/THIRD_PARTY_NOTICES/CPython/bzip2-1.0.8/LICENSE +42 -0
  6. package/THIRD_PARTY_NOTICES/CPython/expat-2.8.5/AUTHORS +10 -0
  7. package/THIRD_PARTY_NOTICES/CPython/expat-2.8.5/COPYING +21 -0
  8. package/THIRD_PARTY_NOTICES/CPython/hacl-star-bb3d0dc8d9d15a5cd51094d5b69e70aa09005ff0/LICENSE +201 -0
  9. package/THIRD_PARTY_NOTICES/CPython/libb2-0.98.1/COPYING +117 -0
  10. package/THIRD_PARTY_NOTICES/CPython/libffi-3.4.4/LICENSE +21 -0
  11. package/THIRD_PARTY_NOTICES/CPython/libffi-3.4.4/LICENSE-BUILDTOOLS +353 -0
  12. package/THIRD_PARTY_NOTICES/CPython/mpdecimal-4.0.0/COPYRIGHT.txt +23 -0
  13. package/THIRD_PARTY_NOTICES/CPython/official-embed.spdx.json +433 -0
  14. package/THIRD_PARTY_NOTICES/CPython/openssl-3.5.9/AUTHORS.md +53 -0
  15. package/THIRD_PARTY_NOTICES/CPython/openssl-3.5.9/LICENSE.txt +177 -0
  16. package/THIRD_PARTY_NOTICES/CPython/sqlite-3.50.4.0/public-domain.txt +32 -0
  17. package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/AUTHORS +27 -0
  18. package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/COPYING +65 -0
  19. package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/COPYING.GPLv2 +339 -0
  20. package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/COPYING.GPLv3 +674 -0
  21. package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/COPYING.LGPLv2.1 +502 -0
  22. package/THIRD_PARTY_NOTICES/CPython/zlib-1.3.1/LICENSE +22 -0
  23. package/THIRD_PARTY_NOTICES/CPython/zlib-1.3.1/README +117 -0
  24. package/THIRD_PARTY_NOTICES/PyJWT/pyjwt-2.15.1.dist-info/licenses/AUTHORS.rst +7 -0
  25. package/THIRD_PARTY_NOTICES/PyJWT/pyjwt-2.15.1.dist-info/licenses/LICENSE +21 -0
  26. package/THIRD_PARTY_NOTICES/PyYAML/pyyaml-6.0.3.dist-info/licenses/LICENSE +20 -0
  27. package/THIRD_PARTY_NOTICES/annotated-types/annotated_types-0.8.0.dist-info/licenses/LICENSE +21 -0
  28. package/THIRD_PARTY_NOTICES/anyio/anyio-4.15.1.dist-info/licenses/LICENSE +20 -0
  29. package/THIRD_PARTY_NOTICES/attrs/attrs-26.1.0.dist-info/licenses/LICENSE +21 -0
  30. package/THIRD_PARTY_NOTICES/certifi/certifi-2026.10.23.dist-info/licenses/LICENSE +20 -0
  31. package/THIRD_PARTY_NOTICES/cffi/cffi-2.1.1.dist-info/licenses/LICENSE +23 -0
  32. package/THIRD_PARTY_NOTICES/charset-normalizer/charset_normalizer-3.5.2.dist-info/licenses/LICENSE +21 -0
  33. package/THIRD_PARTY_NOTICES/click/click-8.5.0.dist-info/licenses/LICENSE.txt +28 -0
  34. package/THIRD_PARTY_NOTICES/cryptography/cryptography-50.0.2.dist-info/licenses/LICENSE +3 -0
  35. package/THIRD_PARTY_NOTICES/cryptography/cryptography-50.0.2.dist-info/licenses/LICENSE.APACHE +202 -0
  36. package/THIRD_PARTY_NOTICES/cryptography/cryptography-50.0.2.dist-info/licenses/LICENSE.BSD +27 -0
  37. package/THIRD_PARTY_NOTICES/deploom-mcp/deploom_mcp-0.2.21.dist-info/licenses/LICENSE +202 -0
  38. package/THIRD_PARTY_NOTICES/h11/h11-0.16.0.dist-info/licenses/LICENSE.txt +22 -0
  39. package/THIRD_PARTY_NOTICES/httpcore2/httpcore2-2.16.0.dist-info/licenses/LICENSE.md +28 -0
  40. package/THIRD_PARTY_NOTICES/httpx2/httpx2-2.16.0.dist-info/licenses/LICENSE.md +13 -0
  41. package/THIRD_PARTY_NOTICES/idna/idna-3.20.dist-info/licenses/LICENSE.md +31 -0
  42. package/THIRD_PARTY_NOTICES/jsonschema/jsonschema-4.26.0.dist-info/licenses/COPYING +19 -0
  43. package/THIRD_PARTY_NOTICES/jsonschema-specifications/jsonschema_specifications-2025.9.1.dist-info/licenses/COPYING +19 -0
  44. package/THIRD_PARTY_NOTICES/mcp/mcp-2.3.0.dist-info/licenses/LICENSE +21 -0
  45. package/THIRD_PARTY_NOTICES/mcp-types/mcp_types-2.3.0.dist-info/licenses/LICENSE +21 -0
  46. package/THIRD_PARTY_NOTICES/opentelemetry-api/opentelemetry_api-1.45.2.dist-info/licenses/LICENSE +201 -0
  47. package/THIRD_PARTY_NOTICES/pycparser/pycparser-3.12.dist-info/licenses/LICENSE +27 -0
  48. package/THIRD_PARTY_NOTICES/pydantic/pydantic-2.14.2.dist-info/licenses/LICENSE +21 -0
  49. package/THIRD_PARTY_NOTICES/pydantic_core/pydantic_core-2.50.2.dist-info/licenses/LICENSE +21 -0
  50. package/THIRD_PARTY_NOTICES/python-dateutil/python_dateutil-3.0.0.dist-info/licenses/LICENSE +54 -0
  51. package/THIRD_PARTY_NOTICES/python-multipart/python_multipart-0.0.32.dist-info/licenses/LICENSE.txt +202 -0
  52. package/THIRD_PARTY_NOTICES/pywin32/adodbapi/license.txt +505 -0
  53. package/THIRD_PARTY_NOTICES/pywin32/pythonwin/license.txt +30 -0
  54. package/THIRD_PARTY_NOTICES/pywin32/win32/license.txt +30 -0
  55. package/THIRD_PARTY_NOTICES/pywin32/win32com/License.txt +30 -0
  56. package/THIRD_PARTY_NOTICES/referencing/referencing-0.37.0.dist-info/licenses/COPYING +19 -0
  57. package/THIRD_PARTY_NOTICES/requests/requests-2.34.2.dist-info/licenses/LICENSE +175 -0
  58. package/THIRD_PARTY_NOTICES/requests/requests-2.34.2.dist-info/licenses/NOTICE +2 -0
  59. package/THIRD_PARTY_NOTICES/rpds-py/rpds_py-2026.9.1.dist-info/licenses/LICENSE +19 -0
  60. package/THIRD_PARTY_NOTICES/semantic-version/semantic_version-2.10.0.dist-info/LICENSE +22 -0
  61. package/THIRD_PARTY_NOTICES/six/six-1.17.0.dist-info/LICENSE +18 -0
  62. package/THIRD_PARTY_NOTICES/sse-starlette/sse_starlette-3.6.0.dist-info/licenses/AUTHORS +10 -0
  63. package/THIRD_PARTY_NOTICES/sse-starlette/sse_starlette-3.6.0.dist-info/licenses/LICENSE +27 -0
  64. package/THIRD_PARTY_NOTICES/starlette/starlette-1.10.0.dist-info/licenses/LICENSE.md +27 -0
  65. package/THIRD_PARTY_NOTICES/truststore/truststore-0.10.5.dist-info/licenses/LICENSE +21 -0
  66. package/THIRD_PARTY_NOTICES/typing-inspection/typing_inspection-0.4.4.dist-info/licenses/LICENSE +21 -0
  67. package/THIRD_PARTY_NOTICES/typing_extensions/typing_extensions-4.16.0.dist-info/licenses/LICENSE +279 -0
  68. package/THIRD_PARTY_NOTICES/tzdata/tzdata-2026.6.dist-info/licenses/LICENSE +16 -0
  69. package/THIRD_PARTY_NOTICES/tzdata/tzdata-2026.6.dist-info/licenses/licenses/LICENSE_APACHE +201 -0
  70. package/THIRD_PARTY_NOTICES/urllib3/urllib3-2.8.0.dist-info/licenses/LICENSE.txt +21 -0
  71. package/THIRD_PARTY_NOTICES/uvicorn/uvicorn-0.54.0.dist-info/licenses/LICENSE.md +27 -0
  72. package/THIRD_PARTY_NOTICES/z3-solver/BUILD-INFO.txt +3 -0
  73. package/THIRD_PARTY_NOTICES/z3-solver/GCC-COPYRIGHT.txt +1532 -0
  74. package/THIRD_PARTY_NOTICES/z3-solver/GCC-GPL-3.txt +674 -0
  75. package/THIRD_PARTY_NOTICES/z3-solver/GCC-RUNTIME-EXCEPTION.txt +73 -0
  76. package/THIRD_PARTY_NOTICES/z3-solver/MinGW-COPYRIGHT.txt +998 -0
  77. package/THIRD_PARTY_NOTICES/z3-solver/Z3-LICENSE.txt +10 -0
  78. package/THIRD_PARTY_NOTICES/z3-solver/compiler-copyright.txt +1714 -0
  79. package/bin/client-config.cjs +61 -0
  80. package/bin/deploom.cjs +177 -0
  81. package/bin/launch.cjs +141 -0
  82. package/bin/verify-runtime.cjs +42 -0
  83. package/package.json +42 -6
  84. package/runtime/LICENSE.txt +645 -0
  85. package/runtime/Lib/site-packages/00_deploom_runtime.pth +1 -0
  86. package/runtime/Lib/site-packages/PyWin32.chm +0 -0
  87. package/runtime/Lib/site-packages/_cffi_backend.cp313-win_amd64.pyd +0 -0
  88. package/runtime/Lib/site-packages/_yaml/__init__.py +33 -0
  89. package/runtime/Lib/site-packages/adodbapi/__init__.py +82 -0
  90. package/runtime/Lib/site-packages/adodbapi/ado_consts.py +283 -0
  91. package/runtime/Lib/site-packages/adodbapi/adodbapi.py +1153 -0
  92. package/runtime/Lib/site-packages/adodbapi/apibase.py +723 -0
  93. package/runtime/Lib/site-packages/adodbapi/examples/db_print.py +72 -0
  94. package/runtime/Lib/site-packages/adodbapi/examples/db_table_names.py +21 -0
  95. package/runtime/Lib/site-packages/adodbapi/examples/xls_read.py +41 -0
  96. package/runtime/Lib/site-packages/adodbapi/examples/xls_write.py +41 -0
  97. package/runtime/Lib/site-packages/adodbapi/is64bit.py +34 -0
  98. package/runtime/Lib/site-packages/adodbapi/license.txt +505 -0
  99. package/runtime/Lib/site-packages/adodbapi/process_connect_string.py +137 -0
  100. package/runtime/Lib/site-packages/adodbapi/readme.txt +88 -0
  101. package/runtime/Lib/site-packages/adodbapi/schema_table.py +16 -0
  102. package/runtime/Lib/site-packages/adodbapi/setup.py +68 -0
  103. package/runtime/Lib/site-packages/adodbapi/test/adodbapitest.py +1547 -0
  104. package/runtime/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +184 -0
  105. package/runtime/Lib/site-packages/adodbapi/test/dbapi20.py +879 -0
  106. package/runtime/Lib/site-packages/adodbapi/test/is64bit.py +34 -0
  107. package/runtime/Lib/site-packages/adodbapi/test/setuptestframework.py +98 -0
  108. package/runtime/Lib/site-packages/adodbapi/test/test_adodbapi_dbapi20.py +195 -0
  109. package/runtime/Lib/site-packages/adodbapi/test/tryconnection.py +30 -0
  110. package/runtime/Lib/site-packages/annotated_types/__init__.py +416 -0
  111. package/runtime/Lib/site-packages/annotated_types/py.typed +0 -0
  112. package/runtime/Lib/site-packages/annotated_types/test_cases.py +146 -0
  113. package/runtime/Lib/site-packages/annotated_types-0.8.0.dist-info/METADATA +295 -0
  114. package/runtime/Lib/site-packages/annotated_types-0.8.0.dist-info/RECORD +7 -0
  115. package/runtime/Lib/site-packages/annotated_types-0.8.0.dist-info/WHEEL +4 -0
  116. package/runtime/Lib/site-packages/annotated_types-0.8.0.dist-info/licenses/LICENSE +21 -0
  117. package/runtime/Lib/site-packages/anyio/__init__.py +154 -0
  118. package/runtime/Lib/site-packages/anyio/_backends/__init__.py +0 -0
  119. package/runtime/Lib/site-packages/anyio/_backends/_asyncio.py +3201 -0
  120. package/runtime/Lib/site-packages/anyio/_backends/_trio.py +1473 -0
  121. package/runtime/Lib/site-packages/anyio/_core/__init__.py +0 -0
  122. package/runtime/Lib/site-packages/anyio/_core/_asyncio_selector_thread.py +167 -0
  123. package/runtime/Lib/site-packages/anyio/_core/_concurrency_utils.py +156 -0
  124. package/runtime/Lib/site-packages/anyio/_core/_contextmanagers.py +200 -0
  125. package/runtime/Lib/site-packages/anyio/_core/_eventloop.py +240 -0
  126. package/runtime/Lib/site-packages/anyio/_core/_exceptions.py +205 -0
  127. package/runtime/Lib/site-packages/anyio/_core/_fileio.py +1045 -0
  128. package/runtime/Lib/site-packages/anyio/_core/_futures.py +191 -0
  129. package/runtime/Lib/site-packages/anyio/_core/_resources.py +18 -0
  130. package/runtime/Lib/site-packages/anyio/_core/_signals.py +29 -0
  131. package/runtime/Lib/site-packages/anyio/_core/_sockets.py +1011 -0
  132. package/runtime/Lib/site-packages/anyio/_core/_streams.py +52 -0
  133. package/runtime/Lib/site-packages/anyio/_core/_subprocesses.py +196 -0
  134. package/runtime/Lib/site-packages/anyio/_core/_synchronization.py +778 -0
  135. package/runtime/Lib/site-packages/anyio/_core/_tasks.py +464 -0
  136. package/runtime/Lib/site-packages/anyio/_core/_tempfile.py +615 -0
  137. package/runtime/Lib/site-packages/anyio/_core/_testing.py +82 -0
  138. package/runtime/Lib/site-packages/anyio/_core/_typedattr.py +85 -0
  139. package/runtime/Lib/site-packages/anyio/_lazyimport.py +176 -0
  140. package/runtime/Lib/site-packages/anyio/abc/__init__.py +63 -0
  141. package/runtime/Lib/site-packages/anyio/abc/_eventloop.py +428 -0
  142. package/runtime/Lib/site-packages/anyio/abc/_resources.py +39 -0
  143. package/runtime/Lib/site-packages/anyio/abc/_sockets.py +401 -0
  144. package/runtime/Lib/site-packages/anyio/abc/_streams.py +237 -0
  145. package/runtime/Lib/site-packages/anyio/abc/_subprocesses.py +82 -0
  146. package/runtime/Lib/site-packages/anyio/abc/_tasks.py +223 -0
  147. package/runtime/Lib/site-packages/anyio/abc/_testing.py +79 -0
  148. package/runtime/Lib/site-packages/anyio/from_thread.py +588 -0
  149. package/runtime/Lib/site-packages/anyio/functools.py +400 -0
  150. package/runtime/Lib/site-packages/anyio/itertools.py +629 -0
  151. package/runtime/Lib/site-packages/anyio/lowlevel.py +228 -0
  152. package/runtime/Lib/site-packages/anyio/py.typed +0 -0
  153. package/runtime/Lib/site-packages/anyio/pytest_plugin.py +404 -0
  154. package/runtime/Lib/site-packages/anyio/streams/__init__.py +0 -0
  155. package/runtime/Lib/site-packages/anyio/streams/buffered.py +201 -0
  156. package/runtime/Lib/site-packages/anyio/streams/file.py +157 -0
  157. package/runtime/Lib/site-packages/anyio/streams/memory.py +326 -0
  158. package/runtime/Lib/site-packages/anyio/streams/stapled.py +160 -0
  159. package/runtime/Lib/site-packages/anyio/streams/text.py +176 -0
  160. package/runtime/Lib/site-packages/anyio/streams/tls.py +436 -0
  161. package/runtime/Lib/site-packages/anyio/to_interpreter.py +246 -0
  162. package/runtime/Lib/site-packages/anyio/to_process.py +269 -0
  163. package/runtime/Lib/site-packages/anyio/to_thread.py +80 -0
  164. package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/METADATA +108 -0
  165. package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/RECORD +53 -0
  166. package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/WHEEL +5 -0
  167. package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/entry_points.txt +2 -0
  168. package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/licenses/LICENSE +20 -0
  169. package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/top_level.txt +1 -0
  170. package/runtime/Lib/site-packages/attr/__init__.py +104 -0
  171. package/runtime/Lib/site-packages/attr/__init__.pyi +389 -0
  172. package/runtime/Lib/site-packages/attr/_cmp.py +160 -0
  173. package/runtime/Lib/site-packages/attr/_cmp.pyi +13 -0
  174. package/runtime/Lib/site-packages/attr/_compat.py +99 -0
  175. package/runtime/Lib/site-packages/attr/_config.py +31 -0
  176. package/runtime/Lib/site-packages/attr/_funcs.py +497 -0
  177. package/runtime/Lib/site-packages/attr/_make.py +3406 -0
  178. package/runtime/Lib/site-packages/attr/_next_gen.py +674 -0
  179. package/runtime/Lib/site-packages/attr/_typing_compat.pyi +15 -0
  180. package/runtime/Lib/site-packages/attr/_version_info.py +89 -0
  181. package/runtime/Lib/site-packages/attr/_version_info.pyi +9 -0
  182. package/runtime/Lib/site-packages/attr/converters.py +162 -0
  183. package/runtime/Lib/site-packages/attr/converters.pyi +19 -0
  184. package/runtime/Lib/site-packages/attr/exceptions.py +95 -0
  185. package/runtime/Lib/site-packages/attr/exceptions.pyi +17 -0
  186. package/runtime/Lib/site-packages/attr/filters.py +72 -0
  187. package/runtime/Lib/site-packages/attr/filters.pyi +6 -0
  188. package/runtime/Lib/site-packages/attr/py.typed +0 -0
  189. package/runtime/Lib/site-packages/attr/setters.py +79 -0
  190. package/runtime/Lib/site-packages/attr/setters.pyi +20 -0
  191. package/runtime/Lib/site-packages/attr/validators.py +750 -0
  192. package/runtime/Lib/site-packages/attr/validators.pyi +140 -0
  193. package/runtime/Lib/site-packages/attrs/__init__.py +72 -0
  194. package/runtime/Lib/site-packages/attrs/__init__.pyi +314 -0
  195. package/runtime/Lib/site-packages/attrs/converters.py +3 -0
  196. package/runtime/Lib/site-packages/attrs/exceptions.py +3 -0
  197. package/runtime/Lib/site-packages/attrs/filters.py +3 -0
  198. package/runtime/Lib/site-packages/attrs/py.typed +0 -0
  199. package/runtime/Lib/site-packages/attrs/setters.py +3 -0
  200. package/runtime/Lib/site-packages/attrs/validators.py +3 -0
  201. package/runtime/Lib/site-packages/attrs-26.1.0.dist-info/METADATA +199 -0
  202. package/runtime/Lib/site-packages/attrs-26.1.0.dist-info/RECORD +35 -0
  203. package/runtime/Lib/site-packages/attrs-26.1.0.dist-info/WHEEL +4 -0
  204. package/runtime/Lib/site-packages/attrs-26.1.0.dist-info/licenses/LICENSE +21 -0
  205. package/runtime/Lib/site-packages/certifi/__init__.py +4 -0
  206. package/runtime/Lib/site-packages/certifi/__main__.py +12 -0
  207. package/runtime/Lib/site-packages/certifi/cacert.pem +3885 -0
  208. package/runtime/Lib/site-packages/certifi/core.py +83 -0
  209. package/runtime/Lib/site-packages/certifi/py.typed +0 -0
  210. package/runtime/Lib/site-packages/certifi/tests/__init__.py +0 -0
  211. package/runtime/Lib/site-packages/certifi/tests/test_certify.py +18 -0
  212. package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/METADATA +79 -0
  213. package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/RECORD +12 -0
  214. package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/WHEEL +5 -0
  215. package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/licenses/LICENSE +20 -0
  216. package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/top_level.txt +1 -0
  217. package/runtime/Lib/site-packages/cffi/__init__.py +14 -0
  218. package/runtime/Lib/site-packages/cffi/_cffi_errors.h +135 -0
  219. package/runtime/Lib/site-packages/cffi/_cffi_gen_src.py +216 -0
  220. package/runtime/Lib/site-packages/cffi/_cffi_include.h +397 -0
  221. package/runtime/Lib/site-packages/cffi/_embedding.h +512 -0
  222. package/runtime/Lib/site-packages/cffi/_imp_emulation.py +83 -0
  223. package/runtime/Lib/site-packages/cffi/_shimmed_dist_utils.py +45 -0
  224. package/runtime/Lib/site-packages/cffi/api.py +960 -0
  225. package/runtime/Lib/site-packages/cffi/backend_ctypes.py +1120 -0
  226. package/runtime/Lib/site-packages/cffi/cffi_opcode.py +187 -0
  227. package/runtime/Lib/site-packages/cffi/commontypes.py +82 -0
  228. package/runtime/Lib/site-packages/cffi/cparser.py +1014 -0
  229. package/runtime/Lib/site-packages/cffi/error.py +31 -0
  230. package/runtime/Lib/site-packages/cffi/ffiplatform.py +113 -0
  231. package/runtime/Lib/site-packages/cffi/gen_src.py +5 -0
  232. package/runtime/Lib/site-packages/cffi/lock.py +30 -0
  233. package/runtime/Lib/site-packages/cffi/model.py +617 -0
  234. package/runtime/Lib/site-packages/cffi/parse_c_type.h +181 -0
  235. package/runtime/Lib/site-packages/cffi/pkgconfig.py +121 -0
  236. package/runtime/Lib/site-packages/cffi/recompiler.py +1586 -0
  237. package/runtime/Lib/site-packages/cffi/setuptools_ext.py +231 -0
  238. package/runtime/Lib/site-packages/cffi/vengine_cpy.py +1058 -0
  239. package/runtime/Lib/site-packages/cffi/vengine_gen.py +679 -0
  240. package/runtime/Lib/site-packages/cffi/verifier.py +306 -0
  241. package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/METADATA +67 -0
  242. package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/RECORD +31 -0
  243. package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/WHEEL +5 -0
  244. package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/entry_points.txt +5 -0
  245. package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/licenses/LICENSE +23 -0
  246. package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/top_level.txt +2 -0
  247. package/runtime/Lib/site-packages/charset_normalizer/__init__.py +48 -0
  248. package/runtime/Lib/site-packages/charset_normalizer/__main__.py +6 -0
  249. package/runtime/Lib/site-packages/charset_normalizer/api.py +934 -0
  250. package/runtime/Lib/site-packages/charset_normalizer/cd.cp313-win_amd64.pyd +0 -0
  251. package/runtime/Lib/site-packages/charset_normalizer/cd.py +467 -0
  252. package/runtime/Lib/site-packages/charset_normalizer/cli/__init__.py +8 -0
  253. package/runtime/Lib/site-packages/charset_normalizer/cli/__main__.py +363 -0
  254. package/runtime/Lib/site-packages/charset_normalizer/constant.py +2497 -0
  255. package/runtime/Lib/site-packages/charset_normalizer/legacy.py +79 -0
  256. package/runtime/Lib/site-packages/charset_normalizer/md.cp313-win_amd64.pyd +0 -0
  257. package/runtime/Lib/site-packages/charset_normalizer/md.py +1065 -0
  258. package/runtime/Lib/site-packages/charset_normalizer/models.py +387 -0
  259. package/runtime/Lib/site-packages/charset_normalizer/py.typed +0 -0
  260. package/runtime/Lib/site-packages/charset_normalizer/utils.py +452 -0
  261. package/runtime/Lib/site-packages/charset_normalizer/version.py +8 -0
  262. package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/METADATA +892 -0
  263. package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/RECORD +21 -0
  264. package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/WHEEL +5 -0
  265. package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/entry_points.txt +2 -0
  266. package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/licenses/LICENSE +21 -0
  267. package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/top_level.txt +1 -0
  268. package/runtime/Lib/site-packages/click/__init__.py +144 -0
  269. package/runtime/Lib/site-packages/click/_compat.py +590 -0
  270. package/runtime/Lib/site-packages/click/_termui_impl.py +972 -0
  271. package/runtime/Lib/site-packages/click/_textwrap.py +188 -0
  272. package/runtime/Lib/site-packages/click/_utils.py +36 -0
  273. package/runtime/Lib/site-packages/click/_winconsole.py +297 -0
  274. package/runtime/Lib/site-packages/click/core.py +3799 -0
  275. package/runtime/Lib/site-packages/click/decorators.py +627 -0
  276. package/runtime/Lib/site-packages/click/exceptions.py +378 -0
  277. package/runtime/Lib/site-packages/click/formatting.py +320 -0
  278. package/runtime/Lib/site-packages/click/globals.py +67 -0
  279. package/runtime/Lib/site-packages/click/parser.py +533 -0
  280. package/runtime/Lib/site-packages/click/py.typed +0 -0
  281. package/runtime/Lib/site-packages/click/shell_completion.py +801 -0
  282. package/runtime/Lib/site-packages/click/termui.py +1014 -0
  283. package/runtime/Lib/site-packages/click/testing.py +798 -0
  284. package/runtime/Lib/site-packages/click/types.py +1422 -0
  285. package/runtime/Lib/site-packages/click/utils.py +688 -0
  286. package/runtime/Lib/site-packages/click-8.5.0.dist-info/METADATA +83 -0
  287. package/runtime/Lib/site-packages/click-8.5.0.dist-info/RECORD +22 -0
  288. package/runtime/Lib/site-packages/click-8.5.0.dist-info/WHEEL +4 -0
  289. package/runtime/Lib/site-packages/click-8.5.0.dist-info/licenses/LICENSE.txt +28 -0
  290. package/runtime/Lib/site-packages/cryptography/__about__.py +17 -0
  291. package/runtime/Lib/site-packages/cryptography/__init__.py +13 -0
  292. package/runtime/Lib/site-packages/cryptography/cobblestone.py +21 -0
  293. package/runtime/Lib/site-packages/cryptography/exceptions.py +52 -0
  294. package/runtime/Lib/site-packages/cryptography/fernet.py +240 -0
  295. package/runtime/Lib/site-packages/cryptography/hazmat/__init__.py +13 -0
  296. package/runtime/Lib/site-packages/cryptography/hazmat/_oid.py +373 -0
  297. package/runtime/Lib/site-packages/cryptography/hazmat/asn1/__init__.py +47 -0
  298. package/runtime/Lib/site-packages/cryptography/hazmat/asn1/asn1.py +533 -0
  299. package/runtime/Lib/site-packages/cryptography/hazmat/backends/__init__.py +13 -0
  300. package/runtime/Lib/site-packages/cryptography/hazmat/backends/openssl/__init__.py +9 -0
  301. package/runtime/Lib/site-packages/cryptography/hazmat/backends/openssl/backend.py +309 -0
  302. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/__init__.py +5 -0
  303. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/__init__.pyi +67 -0
  304. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/_openssl.pyi +8 -0
  305. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/asn1.pyi +7 -0
  306. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/cobblestone.pyi +33 -0
  307. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/declarative_asn1.pyi +133 -0
  308. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/exceptions.pyi +17 -0
  309. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/ocsp.pyi +117 -0
  310. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi +82 -0
  311. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/aead.pyi +189 -0
  312. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ciphers.pyi +38 -0
  313. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi +18 -0
  314. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/dh.pyi +51 -0
  315. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi +41 -0
  316. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ec.pyi +52 -0
  317. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi +13 -0
  318. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi +13 -0
  319. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi +30 -0
  320. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi +22 -0
  321. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hpke.pyi +109 -0
  322. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi +205 -0
  323. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/keys.pyi +34 -0
  324. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/keywrap.pyi +28 -0
  325. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/mldsa.pyi +35 -0
  326. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/mlkem.pyi +18 -0
  327. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi +15 -0
  328. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi +55 -0
  329. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi +13 -0
  330. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/x448.pyi +13 -0
  331. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/pkcs12.pyi +52 -0
  332. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/pkcs7.pyi +50 -0
  333. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/test_support.pyi +23 -0
  334. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/x509.pyi +313 -0
  335. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust.pyd +0 -0
  336. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/openssl/__init__.py +5 -0
  337. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/openssl/_conditional.py +199 -0
  338. package/runtime/Lib/site-packages/cryptography/hazmat/bindings/openssl/binding.py +107 -0
  339. package/runtime/Lib/site-packages/cryptography/hazmat/decrepit/__init__.py +5 -0
  340. package/runtime/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/__init__.py +5 -0
  341. package/runtime/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/algorithms.py +145 -0
  342. package/runtime/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/modes.py +53 -0
  343. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/__init__.py +5 -0
  344. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/_asymmetric.py +19 -0
  345. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/_cipheralgorithm.py +60 -0
  346. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/_modes.py +105 -0
  347. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/_serialization.py +136 -0
  348. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__init__.py +5 -0
  349. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py +253 -0
  350. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py +179 -0
  351. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py +369 -0
  352. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py +116 -0
  353. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/ed448.py +143 -0
  354. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/mldsa.py +505 -0
  355. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/mlkem.py +278 -0
  356. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/padding.py +141 -0
  357. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py +295 -0
  358. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/types.py +94 -0
  359. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/utils.py +28 -0
  360. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py +134 -0
  361. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/x448.py +137 -0
  362. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py +27 -0
  363. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/aead.py +23 -0
  364. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/algorithms.py +138 -0
  365. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/base.py +146 -0
  366. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/modes.py +192 -0
  367. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/cmac.py +10 -0
  368. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/constant_time.py +14 -0
  369. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/hashes.py +357 -0
  370. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/hmac.py +13 -0
  371. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/hpke.py +27 -0
  372. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/__init__.py +32 -0
  373. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/argon2.py +17 -0
  374. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/concatkdf.py +16 -0
  375. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/hkdf.py +16 -0
  376. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/kbkdf.py +26 -0
  377. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/pbkdf2.py +13 -0
  378. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/scrypt.py +19 -0
  379. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/x963kdf.py +13 -0
  380. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/keywrap.py +25 -0
  381. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/padding.py +69 -0
  382. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/poly1305.py +11 -0
  383. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/__init__.py +85 -0
  384. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/base.py +16 -0
  385. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/pkcs12.py +176 -0
  386. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/pkcs7.py +412 -0
  387. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/ssh.py +1615 -0
  388. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/twofactor/__init__.py +9 -0
  389. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/twofactor/hotp.py +101 -0
  390. package/runtime/Lib/site-packages/cryptography/hazmat/primitives/twofactor/totp.py +56 -0
  391. package/runtime/Lib/site-packages/cryptography/py.typed +0 -0
  392. package/runtime/Lib/site-packages/cryptography/utils.py +136 -0
  393. package/runtime/Lib/site-packages/cryptography/x509/__init__.py +270 -0
  394. package/runtime/Lib/site-packages/cryptography/x509/base.py +834 -0
  395. package/runtime/Lib/site-packages/cryptography/x509/certificate_transparency.py +35 -0
  396. package/runtime/Lib/site-packages/cryptography/x509/extensions.py +2533 -0
  397. package/runtime/Lib/site-packages/cryptography/x509/general_name.py +281 -0
  398. package/runtime/Lib/site-packages/cryptography/x509/name.py +489 -0
  399. package/runtime/Lib/site-packages/cryptography/x509/ocsp.py +379 -0
  400. package/runtime/Lib/site-packages/cryptography/x509/oid.py +37 -0
  401. package/runtime/Lib/site-packages/cryptography/x509/verification.py +34 -0
  402. package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/METADATA +111 -0
  403. package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/RECORD +120 -0
  404. package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/WHEEL +4 -0
  405. package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/licenses/LICENSE +3 -0
  406. package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/licenses/LICENSE.APACHE +202 -0
  407. package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/licenses/LICENSE.BSD +27 -0
  408. package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/sboms/cryptography-rust.cyclonedx.json +1365 -0
  409. package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/sboms/sbom.json +43 -0
  410. package/runtime/Lib/site-packages/dateutil/__init__.py +26 -0
  411. package/runtime/Lib/site-packages/dateutil/_common.py +43 -0
  412. package/runtime/Lib/site-packages/dateutil/_tzdata_impl.py +147 -0
  413. package/runtime/Lib/site-packages/dateutil/_version.py +4 -0
  414. package/runtime/Lib/site-packages/dateutil/easter.py +89 -0
  415. package/runtime/Lib/site-packages/dateutil/parser/__init__.py +61 -0
  416. package/runtime/Lib/site-packages/dateutil/parser/_parser.py +1613 -0
  417. package/runtime/Lib/site-packages/dateutil/parser/isoparser.py +416 -0
  418. package/runtime/Lib/site-packages/dateutil/relativedelta.py +596 -0
  419. package/runtime/Lib/site-packages/dateutil/rrule.py +1764 -0
  420. package/runtime/Lib/site-packages/dateutil/tz/__init__.py +60 -0
  421. package/runtime/Lib/site-packages/dateutil/tz/_common.py +419 -0
  422. package/runtime/Lib/site-packages/dateutil/tz/_factories.py +80 -0
  423. package/runtime/Lib/site-packages/dateutil/tz/_tzfile.py +1428 -0
  424. package/runtime/Lib/site-packages/dateutil/tz/_tzpath.py +104 -0
  425. package/runtime/Lib/site-packages/dateutil/tz/tz.py +1472 -0
  426. package/runtime/Lib/site-packages/dateutil/tz/win.py +370 -0
  427. package/runtime/Lib/site-packages/dateutil/tzwin.py +2 -0
  428. package/runtime/Lib/site-packages/dateutil/utils.py +71 -0
  429. package/runtime/Lib/site-packages/dateutil/zoneinfo/__init__.py +233 -0
  430. package/runtime/Lib/site-packages/dateutil/zoneinfo/rebuild.py +42 -0
  431. package/runtime/Lib/site-packages/deploom_mcp/__init__.py +7 -0
  432. package/runtime/Lib/site-packages/deploom_mcp/__main__.py +7 -0
  433. package/runtime/Lib/site-packages/deploom_mcp/_core/VERSION +1 -0
  434. package/runtime/Lib/site-packages/deploom_mcp/_core/analyze_verification_telemetry.py +426 -0
  435. package/runtime/Lib/site-packages/deploom_mcp/_core/artifact_integrity.py +468 -0
  436. package/runtime/Lib/site-packages/deploom_mcp/_core/baseline_cohort_inference.py +352 -0
  437. package/runtime/Lib/site-packages/deploom_mcp/_core/baseline_constraint_verifier.py +5903 -0
  438. package/runtime/Lib/site-packages/deploom_mcp/_core/baseline_performance_summary.py +270 -0
  439. package/runtime/Lib/site-packages/deploom_mcp/_core/baseline_repair_handoff.py +208 -0
  440. package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi54_branch_search.py +225 -0
  441. package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi55_resolver_overrides.py +244 -0
  442. package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi56_causal_anytime_search.py +285 -0
  443. package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi57_yarn1_resolver_seed.py +622 -0
  444. package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi581_probe_budget_and_cohort.py +194 -0
  445. package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi582_pre_run_closure.py +168 -0
  446. package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi583_duplicate_fallback_control.py +43 -0
  447. package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi58_bounded_causal_search.py +193 -0
  448. package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi58_reuse_economics.py +44 -0
  449. package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi591_unified_cohort_handoff.py +214 -0
  450. package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi59_transitive_override_search.py +525 -0
  451. package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi_anytime.py +313 -0
  452. package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi_progressive_baseline.py +166 -0
  453. package/runtime/Lib/site-packages/deploom_mcp/_core/block_v_predicate_search.py +427 -0
  454. package/runtime/Lib/site-packages/deploom_mcp/_core/block_v_predicate_state.py +385 -0
  455. package/runtime/Lib/site-packages/deploom_mcp/_core/block_v_prepared_artifact.py +1094 -0
  456. package/runtime/Lib/site-packages/deploom_mcp/_core/block_v_recovery.py +916 -0
  457. package/runtime/Lib/site-packages/deploom_mcp/_core/block_vex_storage.py +352 -0
  458. package/runtime/Lib/site-packages/deploom_mcp/_core/block_vf_active_search.py +167 -0
  459. package/runtime/Lib/site-packages/deploom_mcp/_core/bounded_telemetry.py +68 -0
  460. package/runtime/Lib/site-packages/deploom_mcp/_core/checkpoint_build_upgrade.py +158 -0
  461. package/runtime/Lib/site-packages/deploom_mcp/_core/checkpoint_index_recovery.py +63 -0
  462. package/runtime/Lib/site-packages/deploom_mcp/_core/cli_io.py +30 -0
  463. package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_action_cost.py +50 -0
  464. package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_attempt_telemetry.py +131 -0
  465. package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_conflict_regions.py +114 -0
  466. package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_size_policy.py +22 -0
  467. package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_telemetry_report.py +105 -0
  468. package/runtime/Lib/site-packages/deploom_mcp/_core/constraint_cache.py +757 -0
  469. package/runtime/Lib/site-packages/deploom_mcp/_core/constraint_verify.py +669 -0
  470. package/runtime/Lib/site-packages/deploom_mcp/_core/cross_process_io.py +135 -0
  471. package/runtime/Lib/site-packages/deploom_mcp/_core/delivery_audit_recovery.py +53 -0
  472. package/runtime/Lib/site-packages/deploom_mcp/_core/delivery_git_status.py +62 -0
  473. package/runtime/Lib/site-packages/deploom_mcp/_core/delivery_source_identity.py +196 -0
  474. package/runtime/Lib/site-packages/deploom_mcp/_core/delivery_worktree.py +53 -0
  475. package/runtime/Lib/site-packages/deploom_mcp/_core/dependency-knowledge.schema.json +61 -0
  476. package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_audit_branch.py +651 -0
  477. package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_compatibility_evidence.py +364 -0
  478. package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_interaction.py +60 -0
  479. package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_live_roadmap_generator.py +28192 -0
  480. package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_live_roadmap_worker.py +162 -0
  481. package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_release_branch.py +407 -0
  482. package/runtime/Lib/site-packages/deploom_mcp/_core/deploom_failure.py +619 -0
  483. package/runtime/Lib/site-packages/deploom_mcp/_core/document_locales/en.json +83 -0
  484. package/runtime/Lib/site-packages/deploom_mcp/_core/document_locales/ru.json +83 -0
  485. package/runtime/Lib/site-packages/deploom_mcp/_core/draft_decision_contract.py +159 -0
  486. package/runtime/Lib/site-packages/deploom_mcp/_core/draft_input_identity.py +218 -0
  487. package/runtime/Lib/site-packages/deploom_mcp/_core/draft_npm_preflight.py +171 -0
  488. package/runtime/Lib/site-packages/deploom_mcp/_core/draft_publication_guard.py +68 -0
  489. package/runtime/Lib/site-packages/deploom_mcp/_core/frontend_source_policy.py +54 -0
  490. package/runtime/Lib/site-packages/deploom_mcp/_core/git_hook_policy.py +102 -0
  491. package/runtime/Lib/site-packages/deploom_mcp/_core/git_identity.py +65 -0
  492. package/runtime/Lib/site-packages/deploom_mcp/_core/io_governor.py +124 -0
  493. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_adaptive_budget.py +109 -0
  494. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_audit_policy.py +79 -0
  495. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_checkpoint_publication.py +90 -0
  496. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_cohort_planner.py +378 -0
  497. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_cohort_review.py +98 -0
  498. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery.py +701 -0
  499. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery_checkout.py +59 -0
  500. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery_notes.py +228 -0
  501. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery_preflight.py +112 -0
  502. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery_submodules.py +31 -0
  503. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_discovery_checkpoint.py +94 -0
  504. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_migration.py +6249 -0
  505. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_progress.py +52 -0
  506. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_registry_metadata.py +98 -0
  507. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_registry_yarn.py +127 -0
  508. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_restart.py +70 -0
  509. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_resume.py +73 -0
  510. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_scope_expansion.py +101 -0
  511. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_stage_checkpoint.py +211 -0
  512. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_state_transaction.py +124 -0
  513. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_target_deferrals.py +61 -0
  514. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_task.py +1411 -0
  515. package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_trial_workspace.py +54 -0
  516. package/runtime/Lib/site-packages/deploom_mcp/_core/lockfile_consistency.py +1242 -0
  517. package/runtime/Lib/site-packages/deploom_mcp/_core/lockfile_preflight.py +102 -0
  518. package/runtime/Lib/site-packages/deploom_mcp/_core/manual_dependency_audit.py +2081 -0
  519. package/runtime/Lib/site-packages/deploom_mcp/_core/materialization_retention.py +148 -0
  520. package/runtime/Lib/site-packages/deploom_mcp/_core/materialized_workspace_verifier.py +320 -0
  521. package/runtime/Lib/site-packages/deploom_mcp/_core/migration_documents.py +506 -0
  522. package/runtime/Lib/site-packages/deploom_mcp/_core/migration_research.py +158 -0
  523. package/runtime/Lib/site-packages/deploom_mcp/_core/migration_validation.py +231 -0
  524. package/runtime/Lib/site-packages/deploom_mcp/_core/npm_bundle_obligations.py +240 -0
  525. package/runtime/Lib/site-packages/deploom_mcp/_core/npm_platform_obligations.py +256 -0
  526. package/runtime/Lib/site-packages/deploom_mcp/_core/npm_semver_batch.py +111 -0
  527. package/runtime/Lib/site-packages/deploom_mcp/_core/npm_shared_transition.py +88 -0
  528. package/runtime/Lib/site-packages/deploom_mcp/_core/osv_offline.py +105 -0
  529. package/runtime/Lib/site-packages/deploom_mcp/_core/package_manager_profile.py +331 -0
  530. package/runtime/Lib/site-packages/deploom_mcp/_core/package_manager_telemetry.py +73 -0
  531. package/runtime/Lib/site-packages/deploom_mcp/_core/peer_solver_goal.py +109 -0
  532. package/runtime/Lib/site-packages/deploom_mcp/_core/peer_solver_model.py +304 -0
  533. package/runtime/Lib/site-packages/deploom_mcp/_core/peer_solver_transition.py +308 -0
  534. package/runtime/Lib/site-packages/deploom_mcp/_core/peer_solver_z3.py +300 -0
  535. package/runtime/Lib/site-packages/deploom_mcp/_core/planning_cache.py +180 -0
  536. package/runtime/Lib/site-packages/deploom_mcp/_core/prepared_workspace_fastpath.py +1528 -0
  537. package/runtime/Lib/site-packages/deploom_mcp/_core/project_execution_environment.py +105 -0
  538. package/runtime/Lib/site-packages/deploom_mcp/_core/project_runtime.py +433 -0
  539. package/runtime/Lib/site-packages/deploom_mcp/_core/project_topology.py +813 -0
  540. package/runtime/Lib/site-packages/deploom_mcp/_core/proven_dependency_state.py +234 -0
  541. package/runtime/Lib/site-packages/deploom_mcp/_core/registry_advisory_evidence.py +202 -0
  542. package/runtime/Lib/site-packages/deploom_mcp/_core/registry_candidate_diagnostics.py +334 -0
  543. package/runtime/Lib/site-packages/deploom_mcp/_core/registry_metadata_cache.py +233 -0
  544. package/runtime/Lib/site-packages/deploom_mcp/_core/registry_request_context.py +36 -0
  545. package/runtime/Lib/site-packages/deploom_mcp/_core/reparse_materialization.py +335 -0
  546. package/runtime/Lib/site-packages/deploom_mcp/_core/resolution_inventory.py +481 -0
  547. package/runtime/Lib/site-packages/deploom_mcp/_core/resolved_dependency_state.py +820 -0
  548. package/runtime/Lib/site-packages/deploom_mcp/_core/run_tool_tests.py +69 -0
  549. package/runtime/Lib/site-packages/deploom_mcp/_core/run_writer_lock.py +78 -0
  550. package/runtime/Lib/site-packages/deploom_mcp/_core/runtime_metrics.py +185 -0
  551. package/runtime/Lib/site-packages/deploom_mcp/_core/scoped_source_policy.py +111 -0
  552. package/runtime/Lib/site-packages/deploom_mcp/_core/security_workspace_scope.py +136 -0
  553. package/runtime/Lib/site-packages/deploom_mcp/_core/settings.schema.json +1229 -0
  554. package/runtime/Lib/site-packages/deploom_mcp/_core/snapshot_compaction.py +288 -0
  555. package/runtime/Lib/site-packages/deploom_mcp/_core/source_snapshot.py +2635 -0
  556. package/runtime/Lib/site-packages/deploom_mcp/_core/source_snapshot_storage.py +96 -0
  557. package/runtime/Lib/site-packages/deploom_mcp/_core/standalone_build_outputs.py +167 -0
  558. package/runtime/Lib/site-packages/deploom_mcp/_core/storage_capacity.py +19 -0
  559. package/runtime/Lib/site-packages/deploom_mcp/_core/storage_cleanup_inventory.py +379 -0
  560. package/runtime/Lib/site-packages/deploom_mcp/_core/storage_maintenance_control.py +84 -0
  561. package/runtime/Lib/site-packages/deploom_mcp/_core/storybook_release_policy.py +37 -0
  562. package/runtime/Lib/site-packages/deploom_mcp/_core/substrate_identity.py +129 -0
  563. package/runtime/Lib/site-packages/deploom_mcp/_core/validate_dependency_regression.py +402 -0
  564. package/runtime/Lib/site-packages/deploom_mcp/_core/validate_dependency_update.py +920 -0
  565. package/runtime/Lib/site-packages/deploom_mcp/_core/verification_experiment_registry.py +299 -0
  566. package/runtime/Lib/site-packages/deploom_mcp/_core/verification_identity_diagnostics.py +38 -0
  567. package/runtime/Lib/site-packages/deploom_mcp/_core/verification_invocation.py +145 -0
  568. package/runtime/Lib/site-packages/deploom_mcp/_core/verification_linux_pid_namespace.py +134 -0
  569. package/runtime/Lib/site-packages/deploom_mcp/_core/verification_observability.py +857 -0
  570. package/runtime/Lib/site-packages/deploom_mcp/_core/verification_process_supervisor.py +790 -0
  571. package/runtime/Lib/site-packages/deploom_mcp/_core/verification_proof.py +1526 -0
  572. package/runtime/Lib/site-packages/deploom_mcp/_core/verification_source_closure.py +337 -0
  573. package/runtime/Lib/site-packages/deploom_mcp/_core/verification_stage_checkpoint.py +367 -0
  574. package/runtime/Lib/site-packages/deploom_mcp/_core/verification_storage_maintenance.py +298 -0
  575. package/runtime/Lib/site-packages/deploom_mcp/_core/verification_workspace_backend.py +398 -0
  576. package/runtime/Lib/site-packages/deploom_mcp/_core/windows_unc.py +48 -0
  577. package/runtime/Lib/site-packages/deploom_mcp/_core/worker_runtime_state.py +26 -0
  578. package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_glob.py +208 -0
  579. package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_health_evidence.py +145 -0
  580. package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_health_policy.py +142 -0
  581. package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_noise.py +83 -0
  582. package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_npm_lock_delta.py +351 -0
  583. package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_npm_obligations.py +190 -0
  584. package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_npm_preflight.py +535 -0
  585. package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_npm_transitive_override.py +239 -0
  586. package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_peer_model.py +936 -0
  587. package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_registry_metadata.py +73 -0
  588. package/runtime/Lib/site-packages/deploom_mcp/_core/yarn_berry.py +151 -0
  589. package/runtime/Lib/site-packages/deploom_mcp/audit_evidence.py +186 -0
  590. package/runtime/Lib/site-packages/deploom_mcp/audit_server.py +57 -0
  591. package/runtime/Lib/site-packages/deploom_mcp/audit_worker.py +738 -0
  592. package/runtime/Lib/site-packages/deploom_mcp/blueprint.py +1344 -0
  593. package/runtime/Lib/site-packages/deploom_mcp/decision_followups.py +384 -0
  594. package/runtime/Lib/site-packages/deploom_mcp/decisions.py +485 -0
  595. package/runtime/Lib/site-packages/deploom_mcp/dependency_audit.py +237 -0
  596. package/runtime/Lib/site-packages/deploom_mcp/distribution.py +51 -0
  597. package/runtime/Lib/site-packages/deploom_mcp/goal_artifact_scope.py +65 -0
  598. package/runtime/Lib/site-packages/deploom_mcp/goal_candidate.py +174 -0
  599. package/runtime/Lib/site-packages/deploom_mcp/goal_candidate_worker.py +30 -0
  600. package/runtime/Lib/site-packages/deploom_mcp/goal_check_bindings.py +236 -0
  601. package/runtime/Lib/site-packages/deploom_mcp/goal_choice_contract.py +79 -0
  602. package/runtime/Lib/site-packages/deploom_mcp/goal_choice_issuance.py +58 -0
  603. package/runtime/Lib/site-packages/deploom_mcp/goal_choice_lineage.py +115 -0
  604. package/runtime/Lib/site-packages/deploom_mcp/goal_choice_profile.py +38 -0
  605. package/runtime/Lib/site-packages/deploom_mcp/goal_choice_worker.py +66 -0
  606. package/runtime/Lib/site-packages/deploom_mcp/goal_contract.py +173 -0
  607. package/runtime/Lib/site-packages/deploom_mcp/goal_core_integrity.py +28 -0
  608. package/runtime/Lib/site-packages/deploom_mcp/goal_current_proof_boundary.py +41 -0
  609. package/runtime/Lib/site-packages/deploom_mcp/goal_current_proof_budget.py +135 -0
  610. package/runtime/Lib/site-packages/deploom_mcp/goal_current_proof_process.py +137 -0
  611. package/runtime/Lib/site-packages/deploom_mcp/goal_current_read_trace.py +66 -0
  612. package/runtime/Lib/site-packages/deploom_mcp/goal_delta_trial.py +413 -0
  613. package/runtime/Lib/site-packages/deploom_mcp/goal_execution_environment.py +71 -0
  614. package/runtime/Lib/site-packages/deploom_mcp/goal_execution_registry.py +207 -0
  615. package/runtime/Lib/site-packages/deploom_mcp/goal_final_authorization.py +133 -0
  616. package/runtime/Lib/site-packages/deploom_mcp/goal_final_auxiliary.py +114 -0
  617. package/runtime/Lib/site-packages/deploom_mcp/goal_final_candidate.py +102 -0
  618. package/runtime/Lib/site-packages/deploom_mcp/goal_final_checkpoint.py +342 -0
  619. package/runtime/Lib/site-packages/deploom_mcp/goal_final_materialization.py +150 -0
  620. package/runtime/Lib/site-packages/deploom_mcp/goal_final_resource_policy.py +49 -0
  621. package/runtime/Lib/site-packages/deploom_mcp/goal_final_transaction.py +243 -0
  622. package/runtime/Lib/site-packages/deploom_mcp/goal_final_worker.py +19 -0
  623. package/runtime/Lib/site-packages/deploom_mcp/goal_frozen_candidate.py +187 -0
  624. package/runtime/Lib/site-packages/deploom_mcp/goal_generated_outputs.py +94 -0
  625. package/runtime/Lib/site-packages/deploom_mcp/goal_historical_checkpoint.py +220 -0
  626. package/runtime/Lib/site-packages/deploom_mcp/goal_historical_lineage.py +97 -0
  627. package/runtime/Lib/site-packages/deploom_mcp/goal_invocation_adapter.py +179 -0
  628. package/runtime/Lib/site-packages/deploom_mcp/goal_lock_scope.py +476 -0
  629. package/runtime/Lib/site-packages/deploom_mcp/goal_published_edges.py +263 -0
  630. package/runtime/Lib/site-packages/deploom_mcp/goal_report.py +134 -0
  631. package/runtime/Lib/site-packages/deploom_mcp/goal_shared_scope.py +36 -0
  632. package/runtime/Lib/site-packages/deploom_mcp/goal_tap_nyc_execution.py +153 -0
  633. package/runtime/Lib/site-packages/deploom_mcp/goal_tap_nyc_input.py +174 -0
  634. package/runtime/Lib/site-packages/deploom_mcp/goal_tap_nyc_outputs.py +64 -0
  635. package/runtime/Lib/site-packages/deploom_mcp/goal_tap_nyc_spawn.py +66 -0
  636. package/runtime/Lib/site-packages/deploom_mcp/goal_tool_cache.py +146 -0
  637. package/runtime/Lib/site-packages/deploom_mcp/goal_tools.py +90 -0
  638. package/runtime/Lib/site-packages/deploom_mcp/goal_verifier_bridge.py +293 -0
  639. package/runtime/Lib/site-packages/deploom_mcp/goal_windows_file_swap.py +233 -0
  640. package/runtime/Lib/site-packages/deploom_mcp/goal_windows_tree_swap.py +105 -0
  641. package/runtime/Lib/site-packages/deploom_mcp/goal_worker.py +103 -0
  642. package/runtime/Lib/site-packages/deploom_mcp/goal_workspace_observation.py +49 -0
  643. package/runtime/Lib/site-packages/deploom_mcp/migration_evidence.py +191 -0
  644. package/runtime/Lib/site-packages/deploom_mcp/migration_sources.py +217 -0
  645. package/runtime/Lib/site-packages/deploom_mcp/migration_usage.cjs +91 -0
  646. package/runtime/Lib/site-packages/deploom_mcp/migration_usage.py +76 -0
  647. package/runtime/Lib/site-packages/deploom_mcp/migration_worker.py +56 -0
  648. package/runtime/Lib/site-packages/deploom_mcp/planning_registry.py +130 -0
  649. package/runtime/Lib/site-packages/deploom_mcp/process_runner.py +313 -0
  650. package/runtime/Lib/site-packages/deploom_mcp/project_capabilities.py +103 -0
  651. package/runtime/Lib/site-packages/deploom_mcp/proxy_settings.py +60 -0
  652. package/runtime/Lib/site-packages/deploom_mcp/public_cache.py +152 -0
  653. package/runtime/Lib/site-packages/deploom_mcp/py.typed +0 -0
  654. package/runtime/Lib/site-packages/deploom_mcp/registry_projection.py +313 -0
  655. package/runtime/Lib/site-packages/deploom_mcp/resources/release-manifest.json +176 -0
  656. package/runtime/Lib/site-packages/deploom_mcp/resources/scripts/check_skill.py +36 -0
  657. package/runtime/Lib/site-packages/deploom_mcp/resources/scripts/install_skill.py +280 -0
  658. package/runtime/Lib/site-packages/deploom_mcp/resources/scripts/skill_integrity.py +95 -0
  659. package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/SKILL.md +281 -0
  660. package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/contract.json +20 -0
  661. package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/examples/blocked-upgrade.md +37 -0
  662. package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/examples/plan-only.md +20 -0
  663. package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/examples/yellow-exclude-react.md +29 -0
  664. package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/blueprint-contract.md +160 -0
  665. package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/evidence-report.md +150 -0
  666. package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/execution-policy.md +143 -0
  667. package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/goal-and-migration-evidence.md +124 -0
  668. package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/npm-workspaces.md +241 -0
  669. package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/preflight.md +75 -0
  670. package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/verification-policy.md +77 -0
  671. package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/scripts/validate_evidence.py +264 -0
  672. package/runtime/Lib/site-packages/deploom_mcp/resources/upgrade-blueprint.schema.json +1080 -0
  673. package/runtime/Lib/site-packages/deploom_mcp/resources/workspace-upgrade-blueprint.schema.json +1770 -0
  674. package/runtime/Lib/site-packages/deploom_mcp/server.py +1345 -0
  675. package/runtime/Lib/site-packages/deploom_mcp/shared_records.py +75 -0
  676. package/runtime/Lib/site-packages/deploom_mcp/standalone_audit_guard.cjs +71 -0
  677. package/runtime/Lib/site-packages/deploom_mcp/target_assessment.py +185 -0
  678. package/runtime/Lib/site-packages/deploom_mcp/workspace_acceptance.py +311 -0
  679. package/runtime/Lib/site-packages/deploom_mcp/workspace_candidate_policy.py +123 -0
  680. package/runtime/Lib/site-packages/deploom_mcp/workspace_delivery_apply.py +149 -0
  681. package/runtime/Lib/site-packages/deploom_mcp/workspace_edits.py +413 -0
  682. package/runtime/Lib/site-packages/deploom_mcp/workspace_finalize.py +85 -0
  683. package/runtime/Lib/site-packages/deploom_mcp/workspace_goal_request.py +95 -0
  684. package/runtime/Lib/site-packages/deploom_mcp/workspace_input_io.py +123 -0
  685. package/runtime/Lib/site-packages/deploom_mcp/workspace_inventory.py +428 -0
  686. package/runtime/Lib/site-packages/deploom_mcp/workspace_migration_card.py +343 -0
  687. package/runtime/Lib/site-packages/deploom_mcp/workspace_native_intent.py +155 -0
  688. package/runtime/Lib/site-packages/deploom_mcp/workspace_plan_details.py +172 -0
  689. package/runtime/Lib/site-packages/deploom_mcp/workspace_plan_snapshot.py +429 -0
  690. package/runtime/Lib/site-packages/deploom_mcp/workspace_policy_delivery.py +88 -0
  691. package/runtime/Lib/site-packages/deploom_mcp/workspace_policy_request.py +139 -0
  692. package/runtime/Lib/site-packages/deploom_mcp/workspace_source_delivery.py +138 -0
  693. package/runtime/Lib/site-packages/deploom_mcp/workspace_tools.py +313 -0
  694. package/runtime/Lib/site-packages/deploom_mcp/workspace_upgrade.py +237 -0
  695. package/runtime/Lib/site-packages/deploom_mcp/workspace_verification_attempt.py +127 -0
  696. package/runtime/Lib/site-packages/deploom_mcp/yarn_candidate_audit.py +72 -0
  697. package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/METADATA +85 -0
  698. package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/RECORD +272 -0
  699. package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/WHEEL +5 -0
  700. package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/entry_points.txt +4 -0
  701. package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/licenses/LICENSE +202 -0
  702. package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/top_level.txt +1 -0
  703. package/runtime/Lib/site-packages/h11/__init__.py +62 -0
  704. package/runtime/Lib/site-packages/h11/_abnf.py +132 -0
  705. package/runtime/Lib/site-packages/h11/_connection.py +659 -0
  706. package/runtime/Lib/site-packages/h11/_events.py +369 -0
  707. package/runtime/Lib/site-packages/h11/_headers.py +282 -0
  708. package/runtime/Lib/site-packages/h11/_readers.py +250 -0
  709. package/runtime/Lib/site-packages/h11/_receivebuffer.py +153 -0
  710. package/runtime/Lib/site-packages/h11/_state.py +365 -0
  711. package/runtime/Lib/site-packages/h11/_util.py +135 -0
  712. package/runtime/Lib/site-packages/h11/_version.py +16 -0
  713. package/runtime/Lib/site-packages/h11/_writers.py +145 -0
  714. package/runtime/Lib/site-packages/h11/py.typed +1 -0
  715. package/runtime/Lib/site-packages/h11-0.16.0.dist-info/METADATA +202 -0
  716. package/runtime/Lib/site-packages/h11-0.16.0.dist-info/RECORD +17 -0
  717. package/runtime/Lib/site-packages/h11-0.16.0.dist-info/WHEEL +5 -0
  718. package/runtime/Lib/site-packages/h11-0.16.0.dist-info/licenses/LICENSE.txt +22 -0
  719. package/runtime/Lib/site-packages/h11-0.16.0.dist-info/top_level.txt +1 -0
  720. package/runtime/Lib/site-packages/httpcore2/__init__.py +141 -0
  721. package/runtime/Lib/site-packages/httpcore2/_api.py +95 -0
  722. package/runtime/Lib/site-packages/httpcore2/_async/__init__.py +39 -0
  723. package/runtime/Lib/site-packages/httpcore2/_async/connection.py +208 -0
  724. package/runtime/Lib/site-packages/httpcore2/_async/connection_pool.py +440 -0
  725. package/runtime/Lib/site-packages/httpcore2/_async/http11.py +357 -0
  726. package/runtime/Lib/site-packages/httpcore2/_async/http2.py +582 -0
  727. package/runtime/Lib/site-packages/httpcore2/_async/http_proxy.py +357 -0
  728. package/runtime/Lib/site-packages/httpcore2/_async/interfaces.py +160 -0
  729. package/runtime/Lib/site-packages/httpcore2/_async/socks_proxy.py +327 -0
  730. package/runtime/Lib/site-packages/httpcore2/_backends/__init__.py +0 -0
  731. package/runtime/Lib/site-packages/httpcore2/_backends/anyio.py +149 -0
  732. package/runtime/Lib/site-packages/httpcore2/_backends/auto.py +50 -0
  733. package/runtime/Lib/site-packages/httpcore2/_backends/base.py +97 -0
  734. package/runtime/Lib/site-packages/httpcore2/_backends/mock.py +143 -0
  735. package/runtime/Lib/site-packages/httpcore2/_backends/sync.py +235 -0
  736. package/runtime/Lib/site-packages/httpcore2/_backends/trio.py +157 -0
  737. package/runtime/Lib/site-packages/httpcore2/_exceptions.py +84 -0
  738. package/runtime/Lib/site-packages/httpcore2/_models.py +490 -0
  739. package/runtime/Lib/site-packages/httpcore2/_ssl.py +40 -0
  740. package/runtime/Lib/site-packages/httpcore2/_sync/__init__.py +39 -0
  741. package/runtime/Lib/site-packages/httpcore2/_sync/connection.py +208 -0
  742. package/runtime/Lib/site-packages/httpcore2/_sync/connection_pool.py +440 -0
  743. package/runtime/Lib/site-packages/httpcore2/_sync/http11.py +357 -0
  744. package/runtime/Lib/site-packages/httpcore2/_sync/http2.py +582 -0
  745. package/runtime/Lib/site-packages/httpcore2/_sync/http_proxy.py +357 -0
  746. package/runtime/Lib/site-packages/httpcore2/_sync/interfaces.py +160 -0
  747. package/runtime/Lib/site-packages/httpcore2/_sync/socks_proxy.py +327 -0
  748. package/runtime/Lib/site-packages/httpcore2/_synchronization.py +338 -0
  749. package/runtime/Lib/site-packages/httpcore2/_trace.py +105 -0
  750. package/runtime/Lib/site-packages/httpcore2/_utils.py +65 -0
  751. package/runtime/Lib/site-packages/httpcore2/py.typed +0 -0
  752. package/runtime/Lib/site-packages/httpcore2-2.16.0.dist-info/METADATA +785 -0
  753. package/runtime/Lib/site-packages/httpcore2-2.16.0.dist-info/RECORD +36 -0
  754. package/runtime/Lib/site-packages/httpcore2-2.16.0.dist-info/WHEEL +4 -0
  755. package/runtime/Lib/site-packages/httpcore2-2.16.0.dist-info/licenses/LICENSE.md +28 -0
  756. package/runtime/Lib/site-packages/httpx2/__init__.py +130 -0
  757. package/runtime/Lib/site-packages/httpx2/__version__.py +5 -0
  758. package/runtime/Lib/site-packages/httpx2/_alias.py +71 -0
  759. package/runtime/Lib/site-packages/httpx2/_api.py +532 -0
  760. package/runtime/Lib/site-packages/httpx2/_auth.py +335 -0
  761. package/runtime/Lib/site-packages/httpx2/_client.py +2236 -0
  762. package/runtime/Lib/site-packages/httpx2/_config.py +221 -0
  763. package/runtime/Lib/site-packages/httpx2/_content.py +237 -0
  764. package/runtime/Lib/site-packages/httpx2/_cookies.py +74 -0
  765. package/runtime/Lib/site-packages/httpx2/_decoders.py +458 -0
  766. package/runtime/Lib/site-packages/httpx2/_exceptions.py +380 -0
  767. package/runtime/Lib/site-packages/httpx2/_main.py +483 -0
  768. package/runtime/Lib/site-packages/httpx2/_models.py +1274 -0
  769. package/runtime/Lib/site-packages/httpx2/_multipart.py +284 -0
  770. package/runtime/Lib/site-packages/httpx2/_sse.py +226 -0
  771. package/runtime/Lib/site-packages/httpx2/_status_codes.py +189 -0
  772. package/runtime/Lib/site-packages/httpx2/_transports/__init__.py +27 -0
  773. package/runtime/Lib/site-packages/httpx2/_transports/asgi.py +178 -0
  774. package/runtime/Lib/site-packages/httpx2/_transports/base.py +83 -0
  775. package/runtime/Lib/site-packages/httpx2/_transports/default.py +400 -0
  776. package/runtime/Lib/site-packages/httpx2/_transports/mock.py +40 -0
  777. package/runtime/Lib/site-packages/httpx2/_transports/wsgi.py +145 -0
  778. package/runtime/Lib/site-packages/httpx2/_types.py +86 -0
  779. package/runtime/Lib/site-packages/httpx2/_urlparse.py +502 -0
  780. package/runtime/Lib/site-packages/httpx2/_urls.py +689 -0
  781. package/runtime/Lib/site-packages/httpx2/_utils.py +282 -0
  782. package/runtime/Lib/site-packages/httpx2/py.typed +0 -0
  783. package/runtime/Lib/site-packages/httpx2/websockets/__init__.py +57 -0
  784. package/runtime/Lib/site-packages/httpx2/websockets/_api.py +1676 -0
  785. package/runtime/Lib/site-packages/httpx2/websockets/_exceptions.py +55 -0
  786. package/runtime/Lib/site-packages/httpx2/websockets/_ping.py +43 -0
  787. package/runtime/Lib/site-packages/httpx2/websockets/_transport.py +289 -0
  788. package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/METADATA +230 -0
  789. package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/RECORD +37 -0
  790. package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/WHEEL +4 -0
  791. package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/entry_points.txt +2 -0
  792. package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/licenses/LICENSE.md +13 -0
  793. package/runtime/Lib/site-packages/idna/__init__.py +47 -0
  794. package/runtime/Lib/site-packages/idna/__main__.py +6 -0
  795. package/runtime/Lib/site-packages/idna/cli.py +132 -0
  796. package/runtime/Lib/site-packages/idna/codec.py +225 -0
  797. package/runtime/Lib/site-packages/idna/compat.py +43 -0
  798. package/runtime/Lib/site-packages/idna/core.py +863 -0
  799. package/runtime/Lib/site-packages/idna/idnadata.py +1933 -0
  800. package/runtime/Lib/site-packages/idna/intranges.py +55 -0
  801. package/runtime/Lib/site-packages/idna/package_data.py +1 -0
  802. package/runtime/Lib/site-packages/idna/py.typed +0 -0
  803. package/runtime/Lib/site-packages/idna/uts46data.py +17117 -0
  804. package/runtime/Lib/site-packages/idna-3.20.dist-info/METADATA +176 -0
  805. package/runtime/Lib/site-packages/idna-3.20.dist-info/RECORD +16 -0
  806. package/runtime/Lib/site-packages/idna-3.20.dist-info/WHEEL +4 -0
  807. package/runtime/Lib/site-packages/idna-3.20.dist-info/entry_points.txt +3 -0
  808. package/runtime/Lib/site-packages/idna-3.20.dist-info/licenses/LICENSE.md +31 -0
  809. package/runtime/Lib/site-packages/isapi/PyISAPI_loader.dll +0 -0
  810. package/runtime/Lib/site-packages/isapi/README.txt +7 -0
  811. package/runtime/Lib/site-packages/isapi/__init__.py +39 -0
  812. package/runtime/Lib/site-packages/isapi/doc/isapi.html +92 -0
  813. package/runtime/Lib/site-packages/isapi/install.py +809 -0
  814. package/runtime/Lib/site-packages/isapi/isapicon.py +121 -0
  815. package/runtime/Lib/site-packages/isapi/samples/README.txt +20 -0
  816. package/runtime/Lib/site-packages/isapi/samples/advanced.py +218 -0
  817. package/runtime/Lib/site-packages/isapi/samples/redirector.py +116 -0
  818. package/runtime/Lib/site-packages/isapi/samples/redirector_asynch.py +85 -0
  819. package/runtime/Lib/site-packages/isapi/samples/redirector_with_filter.py +162 -0
  820. package/runtime/Lib/site-packages/isapi/samples/test.py +195 -0
  821. package/runtime/Lib/site-packages/isapi/simple.py +73 -0
  822. package/runtime/Lib/site-packages/isapi/test/README.txt +3 -0
  823. package/runtime/Lib/site-packages/isapi/test/extension_simple.py +114 -0
  824. package/runtime/Lib/site-packages/isapi/threaded_extension.py +193 -0
  825. package/runtime/Lib/site-packages/jsonschema/__init__.py +120 -0
  826. package/runtime/Lib/site-packages/jsonschema/__main__.py +6 -0
  827. package/runtime/Lib/site-packages/jsonschema/_format.py +546 -0
  828. package/runtime/Lib/site-packages/jsonschema/_keywords.py +449 -0
  829. package/runtime/Lib/site-packages/jsonschema/_legacy_keywords.py +449 -0
  830. package/runtime/Lib/site-packages/jsonschema/_types.py +204 -0
  831. package/runtime/Lib/site-packages/jsonschema/_typing.py +29 -0
  832. package/runtime/Lib/site-packages/jsonschema/_utils.py +355 -0
  833. package/runtime/Lib/site-packages/jsonschema/benchmarks/__init__.py +5 -0
  834. package/runtime/Lib/site-packages/jsonschema/benchmarks/const_vs_enum.py +30 -0
  835. package/runtime/Lib/site-packages/jsonschema/benchmarks/contains.py +28 -0
  836. package/runtime/Lib/site-packages/jsonschema/benchmarks/import_benchmark.py +31 -0
  837. package/runtime/Lib/site-packages/jsonschema/benchmarks/issue232/issue.json +2653 -0
  838. package/runtime/Lib/site-packages/jsonschema/benchmarks/issue232.py +25 -0
  839. package/runtime/Lib/site-packages/jsonschema/benchmarks/json_schema_test_suite.py +12 -0
  840. package/runtime/Lib/site-packages/jsonschema/benchmarks/nested_schemas.py +56 -0
  841. package/runtime/Lib/site-packages/jsonschema/benchmarks/subcomponents.py +42 -0
  842. package/runtime/Lib/site-packages/jsonschema/benchmarks/unused_registry.py +35 -0
  843. package/runtime/Lib/site-packages/jsonschema/benchmarks/useless_applicator_schemas.py +106 -0
  844. package/runtime/Lib/site-packages/jsonschema/benchmarks/useless_keywords.py +32 -0
  845. package/runtime/Lib/site-packages/jsonschema/benchmarks/validator_creation.py +14 -0
  846. package/runtime/Lib/site-packages/jsonschema/cli.py +292 -0
  847. package/runtime/Lib/site-packages/jsonschema/exceptions.py +490 -0
  848. package/runtime/Lib/site-packages/jsonschema/protocols.py +230 -0
  849. package/runtime/Lib/site-packages/jsonschema/tests/__init__.py +0 -0
  850. package/runtime/Lib/site-packages/jsonschema/tests/_suite.py +285 -0
  851. package/runtime/Lib/site-packages/jsonschema/tests/fuzz_validate.py +50 -0
  852. package/runtime/Lib/site-packages/jsonschema/tests/test_cli.py +904 -0
  853. package/runtime/Lib/site-packages/jsonschema/tests/test_deprecations.py +432 -0
  854. package/runtime/Lib/site-packages/jsonschema/tests/test_exceptions.py +759 -0
  855. package/runtime/Lib/site-packages/jsonschema/tests/test_format.py +91 -0
  856. package/runtime/Lib/site-packages/jsonschema/tests/test_jsonschema_test_suite.py +262 -0
  857. package/runtime/Lib/site-packages/jsonschema/tests/test_types.py +221 -0
  858. package/runtime/Lib/site-packages/jsonschema/tests/test_utils.py +138 -0
  859. package/runtime/Lib/site-packages/jsonschema/tests/test_validators.py +2573 -0
  860. package/runtime/Lib/site-packages/jsonschema/tests/typing/__init__.py +0 -0
  861. package/runtime/Lib/site-packages/jsonschema/tests/typing/test_all_concrete_validators_match_protocol.py +38 -0
  862. package/runtime/Lib/site-packages/jsonschema/validators.py +1410 -0
  863. package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/METADATA +170 -0
  864. package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/RECORD +43 -0
  865. package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/WHEEL +4 -0
  866. package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/entry_points.txt +2 -0
  867. package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/licenses/COPYING +19 -0
  868. package/runtime/Lib/site-packages/jsonschema_specifications/__init__.py +12 -0
  869. package/runtime/Lib/site-packages/jsonschema_specifications/_core.py +38 -0
  870. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/metaschema.json +42 -0
  871. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/applicator +56 -0
  872. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/content +17 -0
  873. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/core +57 -0
  874. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/format +14 -0
  875. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/meta-data +37 -0
  876. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/validation +98 -0
  877. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/metaschema.json +58 -0
  878. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/applicator +48 -0
  879. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/content +17 -0
  880. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/core +51 -0
  881. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/format-annotation +14 -0
  882. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/format-assertion +14 -0
  883. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/meta-data +37 -0
  884. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/unevaluated +15 -0
  885. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/validation +98 -0
  886. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft3/metaschema.json +172 -0
  887. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft4/metaschema.json +149 -0
  888. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft6/metaschema.json +153 -0
  889. package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft7/metaschema.json +166 -0
  890. package/runtime/Lib/site-packages/jsonschema_specifications/tests/__init__.py +0 -0
  891. package/runtime/Lib/site-packages/jsonschema_specifications/tests/test_jsonschema_specifications.py +41 -0
  892. package/runtime/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/METADATA +54 -0
  893. package/runtime/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/RECORD +28 -0
  894. package/runtime/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/WHEEL +4 -0
  895. package/runtime/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/licenses/COPYING +19 -0
  896. package/runtime/Lib/site-packages/jwt/__init__.py +78 -0
  897. package/runtime/Lib/site-packages/jwt/algorithms.py +1121 -0
  898. package/runtime/Lib/site-packages/jwt/api_jwk.py +196 -0
  899. package/runtime/Lib/site-packages/jwt/api_jws.py +485 -0
  900. package/runtime/Lib/site-packages/jwt/api_jwt.py +595 -0
  901. package/runtime/Lib/site-packages/jwt/exceptions.py +113 -0
  902. package/runtime/Lib/site-packages/jwt/help.py +66 -0
  903. package/runtime/Lib/site-packages/jwt/jwk_set_cache.py +47 -0
  904. package/runtime/Lib/site-packages/jwt/jwks_client.py +333 -0
  905. package/runtime/Lib/site-packages/jwt/py.typed +0 -0
  906. package/runtime/Lib/site-packages/jwt/types.py +69 -0
  907. package/runtime/Lib/site-packages/jwt/utils.py +146 -0
  908. package/runtime/Lib/site-packages/jwt/warnings.py +11 -0
  909. package/runtime/Lib/site-packages/mcp/__init__.py +145 -0
  910. package/runtime/Lib/site-packages/mcp/cli/__init__.py +6 -0
  911. package/runtime/Lib/site-packages/mcp/cli/claude.py +170 -0
  912. package/runtime/Lib/site-packages/mcp/cli/cli.py +486 -0
  913. package/runtime/Lib/site-packages/mcp/client/__init__.py +44 -0
  914. package/runtime/Lib/site-packages/mcp/client/__main__.py +81 -0
  915. package/runtime/Lib/site-packages/mcp/client/_input_required.py +127 -0
  916. package/runtime/Lib/site-packages/mcp/client/_memory.py +109 -0
  917. package/runtime/Lib/site-packages/mcp/client/_probe.py +114 -0
  918. package/runtime/Lib/site-packages/mcp/client/_transport.py +21 -0
  919. package/runtime/Lib/site-packages/mcp/client/auth/__init__.py +22 -0
  920. package/runtime/Lib/site-packages/mcp/client/auth/exceptions.py +10 -0
  921. package/runtime/Lib/site-packages/mcp/client/auth/extensions/__init__.py +0 -0
  922. package/runtime/Lib/site-packages/mcp/client/auth/extensions/client_credentials.py +416 -0
  923. package/runtime/Lib/site-packages/mcp/client/auth/extensions/identity_assertion.py +216 -0
  924. package/runtime/Lib/site-packages/mcp/client/auth/oauth2.py +793 -0
  925. package/runtime/Lib/site-packages/mcp/client/auth/utils.py +442 -0
  926. package/runtime/Lib/site-packages/mcp/client/caching.py +387 -0
  927. package/runtime/Lib/site-packages/mcp/client/client.py +985 -0
  928. package/runtime/Lib/site-packages/mcp/client/context.py +5 -0
  929. package/runtime/Lib/site-packages/mcp/client/extension.py +196 -0
  930. package/runtime/Lib/site-packages/mcp/client/session.py +1506 -0
  931. package/runtime/Lib/site-packages/mcp/client/session_group.py +453 -0
  932. package/runtime/Lib/site-packages/mcp/client/sse.py +171 -0
  933. package/runtime/Lib/site-packages/mcp/client/stdio.py +355 -0
  934. package/runtime/Lib/site-packages/mcp/client/streamable_http.py +793 -0
  935. package/runtime/Lib/site-packages/mcp/client/subscriptions.py +282 -0
  936. package/runtime/Lib/site-packages/mcp/os/__init__.py +1 -0
  937. package/runtime/Lib/site-packages/mcp/os/posix/__init__.py +1 -0
  938. package/runtime/Lib/site-packages/mcp/os/posix/utilities.py +63 -0
  939. package/runtime/Lib/site-packages/mcp/os/win32/__init__.py +1 -0
  940. package/runtime/Lib/site-packages/mcp/os/win32/utilities.py +292 -0
  941. package/runtime/Lib/site-packages/mcp/py.typed +0 -0
  942. package/runtime/Lib/site-packages/mcp/server/__init__.py +7 -0
  943. package/runtime/Lib/site-packages/mcp/server/__main__.py +24 -0
  944. package/runtime/Lib/site-packages/mcp/server/_otel.py +72 -0
  945. package/runtime/Lib/site-packages/mcp/server/_streamable_http_modern.py +526 -0
  946. package/runtime/Lib/site-packages/mcp/server/apps.py +241 -0
  947. package/runtime/Lib/site-packages/mcp/server/auth/__init__.py +1 -0
  948. package/runtime/Lib/site-packages/mcp/server/auth/errors.py +5 -0
  949. package/runtime/Lib/site-packages/mcp/server/auth/handlers/__init__.py +1 -0
  950. package/runtime/Lib/site-packages/mcp/server/auth/handlers/authorize.py +221 -0
  951. package/runtime/Lib/site-packages/mcp/server/auth/handlers/metadata.py +29 -0
  952. package/runtime/Lib/site-packages/mcp/server/auth/handlers/register.py +154 -0
  953. package/runtime/Lib/site-packages/mcp/server/auth/handlers/revoke.py +87 -0
  954. package/runtime/Lib/site-packages/mcp/server/auth/handlers/token.py +275 -0
  955. package/runtime/Lib/site-packages/mcp/server/auth/json_response.py +10 -0
  956. package/runtime/Lib/site-packages/mcp/server/auth/middleware/__init__.py +1 -0
  957. package/runtime/Lib/site-packages/mcp/server/auth/middleware/auth_context.py +46 -0
  958. package/runtime/Lib/site-packages/mcp/server/auth/middleware/bearer_auth.py +165 -0
  959. package/runtime/Lib/site-packages/mcp/server/auth/middleware/client_auth.py +119 -0
  960. package/runtime/Lib/site-packages/mcp/server/auth/provider.py +380 -0
  961. package/runtime/Lib/site-packages/mcp/server/auth/routes.py +261 -0
  962. package/runtime/Lib/site-packages/mcp/server/auth/settings.py +70 -0
  963. package/runtime/Lib/site-packages/mcp/server/caching.py +85 -0
  964. package/runtime/Lib/site-packages/mcp/server/connection.py +493 -0
  965. package/runtime/Lib/site-packages/mcp/server/context.py +194 -0
  966. package/runtime/Lib/site-packages/mcp/server/elicitation.py +191 -0
  967. package/runtime/Lib/site-packages/mcp/server/extension.py +185 -0
  968. package/runtime/Lib/site-packages/mcp/server/fastmcp.py +16 -0
  969. package/runtime/Lib/site-packages/mcp/server/lowlevel/__init__.py +3 -0
  970. package/runtime/Lib/site-packages/mcp/server/lowlevel/helper_types.py +11 -0
  971. package/runtime/Lib/site-packages/mcp/server/lowlevel/server.py +852 -0
  972. package/runtime/Lib/site-packages/mcp/server/mcpserver/__init__.py +61 -0
  973. package/runtime/Lib/site-packages/mcp/server/mcpserver/context.py +391 -0
  974. package/runtime/Lib/site-packages/mcp/server/mcpserver/exceptions.py +76 -0
  975. package/runtime/Lib/site-packages/mcp/server/mcpserver/prompts/__init__.py +4 -0
  976. package/runtime/Lib/site-packages/mcp/server/mcpserver/prompts/base.py +213 -0
  977. package/runtime/Lib/site-packages/mcp/server/mcpserver/prompts/manager.py +67 -0
  978. package/runtime/Lib/site-packages/mcp/server/mcpserver/resolve.py +846 -0
  979. package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/__init__.py +26 -0
  980. package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/base.py +43 -0
  981. package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/resource_manager.py +137 -0
  982. package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/templates.py +248 -0
  983. package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/types.py +230 -0
  984. package/runtime/Lib/site-packages/mcp/server/mcpserver/server.py +1418 -0
  985. package/runtime/Lib/site-packages/mcp/server/mcpserver/tools/__init__.py +4 -0
  986. package/runtime/Lib/site-packages/mcp/server/mcpserver/tools/base.py +213 -0
  987. package/runtime/Lib/site-packages/mcp/server/mcpserver/tools/tool_manager.py +87 -0
  988. package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/__init__.py +1 -0
  989. package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/context_injection.py +68 -0
  990. package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/func_metadata.py +655 -0
  991. package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/logging.py +39 -0
  992. package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/types.py +101 -0
  993. package/runtime/Lib/site-packages/mcp/server/models.py +17 -0
  994. package/runtime/Lib/site-packages/mcp/server/request_state.py +454 -0
  995. package/runtime/Lib/site-packages/mcp/server/runner.py +872 -0
  996. package/runtime/Lib/site-packages/mcp/server/session.py +489 -0
  997. package/runtime/Lib/site-packages/mcp/server/sse.py +287 -0
  998. package/runtime/Lib/site-packages/mcp/server/stdio.py +217 -0
  999. package/runtime/Lib/site-packages/mcp/server/streamable_http.py +1135 -0
  1000. package/runtime/Lib/site-packages/mcp/server/streamable_http_manager.py +427 -0
  1001. package/runtime/Lib/site-packages/mcp/server/subscriptions.py +254 -0
  1002. package/runtime/Lib/site-packages/mcp/server/transport_security.py +183 -0
  1003. package/runtime/Lib/site-packages/mcp/server/validation.py +93 -0
  1004. package/runtime/Lib/site-packages/mcp/shared/__init__.py +0 -0
  1005. package/runtime/Lib/site-packages/mcp/shared/_callable_inspection.py +33 -0
  1006. package/runtime/Lib/site-packages/mcp/shared/_compat.py +19 -0
  1007. package/runtime/Lib/site-packages/mcp/shared/_context_streams.py +119 -0
  1008. package/runtime/Lib/site-packages/mcp/shared/_httpx_utils.py +222 -0
  1009. package/runtime/Lib/site-packages/mcp/shared/_otel.py +60 -0
  1010. package/runtime/Lib/site-packages/mcp/shared/_request_clock.py +81 -0
  1011. package/runtime/Lib/site-packages/mcp/shared/_stream_protocols.py +49 -0
  1012. package/runtime/Lib/site-packages/mcp/shared/auth.py +258 -0
  1013. package/runtime/Lib/site-packages/mcp/shared/auth_utils.py +80 -0
  1014. package/runtime/Lib/site-packages/mcp/shared/context.py +85 -0
  1015. package/runtime/Lib/site-packages/mcp/shared/direct_dispatcher.py +337 -0
  1016. package/runtime/Lib/site-packages/mcp/shared/dispatcher.py +283 -0
  1017. package/runtime/Lib/site-packages/mcp/shared/exceptions.py +119 -0
  1018. package/runtime/Lib/site-packages/mcp/shared/extension.py +28 -0
  1019. package/runtime/Lib/site-packages/mcp/shared/inbound.py +595 -0
  1020. package/runtime/Lib/site-packages/mcp/shared/jsonrpc_dispatcher.py +856 -0
  1021. package/runtime/Lib/site-packages/mcp/shared/memory.py +33 -0
  1022. package/runtime/Lib/site-packages/mcp/shared/message.py +63 -0
  1023. package/runtime/Lib/site-packages/mcp/shared/metadata_utils.py +46 -0
  1024. package/runtime/Lib/site-packages/mcp/shared/path_security.py +176 -0
  1025. package/runtime/Lib/site-packages/mcp/shared/peer.py +240 -0
  1026. package/runtime/Lib/site-packages/mcp/shared/subscriptions.py +111 -0
  1027. package/runtime/Lib/site-packages/mcp/shared/tool_name_validation.py +129 -0
  1028. package/runtime/Lib/site-packages/mcp/shared/transport_context.py +45 -0
  1029. package/runtime/Lib/site-packages/mcp/shared/uri_template.py +1116 -0
  1030. package/runtime/Lib/site-packages/mcp/types/__init__.py +31 -0
  1031. package/runtime/Lib/site-packages/mcp/types/jsonrpc.py +13 -0
  1032. package/runtime/Lib/site-packages/mcp/types/methods.py +13 -0
  1033. package/runtime/Lib/site-packages/mcp/types/version.py +13 -0
  1034. package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/METADATA +172 -0
  1035. package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/RECORD +130 -0
  1036. package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/WHEEL +4 -0
  1037. package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/entry_points.txt +2 -0
  1038. package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/licenses/LICENSE +21 -0
  1039. package/runtime/Lib/site-packages/mcp_types/__init__.py +453 -0
  1040. package/runtime/Lib/site-packages/mcp_types/_types.py +2198 -0
  1041. package/runtime/Lib/site-packages/mcp_types/_v2025_11_25/__init__.py +3391 -0
  1042. package/runtime/Lib/site-packages/mcp_types/_v2026_07_28/__init__.py +3617 -0
  1043. package/runtime/Lib/site-packages/mcp_types/_wire_base.py +9 -0
  1044. package/runtime/Lib/site-packages/mcp_types/jsonrpc.py +148 -0
  1045. package/runtime/Lib/site-packages/mcp_types/methods.py +746 -0
  1046. package/runtime/Lib/site-packages/mcp_types/py.typed +0 -0
  1047. package/runtime/Lib/site-packages/mcp_types/version.py +74 -0
  1048. package/runtime/Lib/site-packages/mcp_types-2.3.0.dist-info/METADATA +43 -0
  1049. package/runtime/Lib/site-packages/mcp_types-2.3.0.dist-info/RECORD +13 -0
  1050. package/runtime/Lib/site-packages/mcp_types-2.3.0.dist-info/WHEEL +4 -0
  1051. package/runtime/Lib/site-packages/mcp_types-2.3.0.dist-info/licenses/LICENSE +21 -0
  1052. package/runtime/Lib/site-packages/multipart/__init__.py +38 -0
  1053. package/runtime/Lib/site-packages/multipart/decoders.py +1 -0
  1054. package/runtime/Lib/site-packages/multipart/exceptions.py +1 -0
  1055. package/runtime/Lib/site-packages/multipart/multipart.py +1 -0
  1056. package/runtime/Lib/site-packages/opentelemetry/_logs/__init__.py +47 -0
  1057. package/runtime/Lib/site-packages/opentelemetry/_logs/_internal/__init__.py +484 -0
  1058. package/runtime/Lib/site-packages/opentelemetry/_logs/py.typed +0 -0
  1059. package/runtime/Lib/site-packages/opentelemetry/_logs/severity/__init__.py +44 -0
  1060. package/runtime/Lib/site-packages/opentelemetry/attributes/__init__.py +243 -0
  1061. package/runtime/Lib/site-packages/opentelemetry/attributes/py.typed +0 -0
  1062. package/runtime/Lib/site-packages/opentelemetry/baggage/__init__.py +122 -0
  1063. package/runtime/Lib/site-packages/opentelemetry/baggage/propagation/__init__.py +179 -0
  1064. package/runtime/Lib/site-packages/opentelemetry/baggage/py.typed +0 -0
  1065. package/runtime/Lib/site-packages/opentelemetry/context/__init__.py +147 -0
  1066. package/runtime/Lib/site-packages/opentelemetry/context/context.py +65 -0
  1067. package/runtime/Lib/site-packages/opentelemetry/context/contextvars_context.py +43 -0
  1068. package/runtime/Lib/site-packages/opentelemetry/context/py.typed +0 -0
  1069. package/runtime/Lib/site-packages/opentelemetry/environment_variables/__init__.py +72 -0
  1070. package/runtime/Lib/site-packages/opentelemetry/environment_variables/py.typed +0 -0
  1071. package/runtime/Lib/site-packages/opentelemetry/metrics/__init__.py +121 -0
  1072. package/runtime/Lib/site-packages/opentelemetry/metrics/_internal/__init__.py +892 -0
  1073. package/runtime/Lib/site-packages/opentelemetry/metrics/_internal/instrument.py +540 -0
  1074. package/runtime/Lib/site-packages/opentelemetry/metrics/_internal/observation.py +51 -0
  1075. package/runtime/Lib/site-packages/opentelemetry/metrics/py.typed +0 -0
  1076. package/runtime/Lib/site-packages/opentelemetry/propagate/__init__.py +171 -0
  1077. package/runtime/Lib/site-packages/opentelemetry/propagate/py.typed +0 -0
  1078. package/runtime/Lib/site-packages/opentelemetry/propagators/_envcarrier.py +94 -0
  1079. package/runtime/Lib/site-packages/opentelemetry/propagators/composite.py +78 -0
  1080. package/runtime/Lib/site-packages/opentelemetry/propagators/py.typed +0 -0
  1081. package/runtime/Lib/site-packages/opentelemetry/propagators/textmap.py +181 -0
  1082. package/runtime/Lib/site-packages/opentelemetry/py.typed +0 -0
  1083. package/runtime/Lib/site-packages/opentelemetry/trace/__init__.py +661 -0
  1084. package/runtime/Lib/site-packages/opentelemetry/trace/propagation/__init__.py +37 -0
  1085. package/runtime/Lib/site-packages/opentelemetry/trace/propagation/tracecontext.py +126 -0
  1086. package/runtime/Lib/site-packages/opentelemetry/trace/py.typed +0 -0
  1087. package/runtime/Lib/site-packages/opentelemetry/trace/span.py +616 -0
  1088. package/runtime/Lib/site-packages/opentelemetry/trace/status.py +68 -0
  1089. package/runtime/Lib/site-packages/opentelemetry/util/_decorator.py +75 -0
  1090. package/runtime/Lib/site-packages/opentelemetry/util/_importlib_metadata.py +61 -0
  1091. package/runtime/Lib/site-packages/opentelemetry/util/_once.py +36 -0
  1092. package/runtime/Lib/site-packages/opentelemetry/util/_providers.py +42 -0
  1093. package/runtime/Lib/site-packages/opentelemetry/util/py.typed +0 -0
  1094. package/runtime/Lib/site-packages/opentelemetry/util/re.py +93 -0
  1095. package/runtime/Lib/site-packages/opentelemetry/util/types.py +28 -0
  1096. package/runtime/Lib/site-packages/opentelemetry/version/__init__.py +4 -0
  1097. package/runtime/Lib/site-packages/opentelemetry/version/py.typed +0 -0
  1098. package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/METADATA +43 -0
  1099. package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/RECORD +47 -0
  1100. package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/WHEEL +4 -0
  1101. package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/entry_points.txt +15 -0
  1102. package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/licenses/LICENSE +201 -0
  1103. package/runtime/Lib/site-packages/pycparser/__init__.py +98 -0
  1104. package/runtime/Lib/site-packages/pycparser/_ast_gen.py +385 -0
  1105. package/runtime/Lib/site-packages/pycparser/_c_ast.cfg +268 -0
  1106. package/runtime/Lib/site-packages/pycparser/ast_transforms.py +201 -0
  1107. package/runtime/Lib/site-packages/pycparser/c_ast.py +1670 -0
  1108. package/runtime/Lib/site-packages/pycparser/c_generator.py +866 -0
  1109. package/runtime/Lib/site-packages/pycparser/c_lexer.py +861 -0
  1110. package/runtime/Lib/site-packages/pycparser/c_parser.py +2759 -0
  1111. package/runtime/Lib/site-packages/pycparser-3.12.dist-info/METADATA +286 -0
  1112. package/runtime/Lib/site-packages/pycparser-3.12.dist-info/RECORD +13 -0
  1113. package/runtime/Lib/site-packages/pycparser-3.12.dist-info/WHEEL +5 -0
  1114. package/runtime/Lib/site-packages/pycparser-3.12.dist-info/licenses/LICENSE +27 -0
  1115. package/runtime/Lib/site-packages/pycparser-3.12.dist-info/top_level.txt +1 -0
  1116. package/runtime/Lib/site-packages/pydantic/__init__.py +461 -0
  1117. package/runtime/Lib/site-packages/pydantic/_internal/__init__.py +0 -0
  1118. package/runtime/Lib/site-packages/pydantic/_internal/_config.py +408 -0
  1119. package/runtime/Lib/site-packages/pydantic/_internal/_core_metadata.py +97 -0
  1120. package/runtime/Lib/site-packages/pydantic/_internal/_core_utils.py +156 -0
  1121. package/runtime/Lib/site-packages/pydantic/_internal/_dataclasses.py +327 -0
  1122. package/runtime/Lib/site-packages/pydantic/_internal/_decorators.py +906 -0
  1123. package/runtime/Lib/site-packages/pydantic/_internal/_decorators_v1.py +174 -0
  1124. package/runtime/Lib/site-packages/pydantic/_internal/_discriminated_union.py +510 -0
  1125. package/runtime/Lib/site-packages/pydantic/_internal/_docs_extraction.py +128 -0
  1126. package/runtime/Lib/site-packages/pydantic/_internal/_fields.py +910 -0
  1127. package/runtime/Lib/site-packages/pydantic/_internal/_forward_ref.py +23 -0
  1128. package/runtime/Lib/site-packages/pydantic/_internal/_generate_schema.py +2984 -0
  1129. package/runtime/Lib/site-packages/pydantic/_internal/_generics.py +556 -0
  1130. package/runtime/Lib/site-packages/pydantic/_internal/_git.py +27 -0
  1131. package/runtime/Lib/site-packages/pydantic/_internal/_import_utils.py +20 -0
  1132. package/runtime/Lib/site-packages/pydantic/_internal/_known_annotated_metadata.py +405 -0
  1133. package/runtime/Lib/site-packages/pydantic/_internal/_mock_val_ser.py +237 -0
  1134. package/runtime/Lib/site-packages/pydantic/_internal/_model_construction.py +833 -0
  1135. package/runtime/Lib/site-packages/pydantic/_internal/_namespace_utils.py +299 -0
  1136. package/runtime/Lib/site-packages/pydantic/_internal/_repr.py +122 -0
  1137. package/runtime/Lib/site-packages/pydantic/_internal/_schema_gather.py +49 -0
  1138. package/runtime/Lib/site-packages/pydantic/_internal/_schema_generation_shared.py +126 -0
  1139. package/runtime/Lib/site-packages/pydantic/_internal/_serializers.py +59 -0
  1140. package/runtime/Lib/site-packages/pydantic/_internal/_signature.py +193 -0
  1141. package/runtime/Lib/site-packages/pydantic/_internal/_type_refs.py +128 -0
  1142. package/runtime/Lib/site-packages/pydantic/_internal/_typing_extra.py +502 -0
  1143. package/runtime/Lib/site-packages/pydantic/_internal/_utils.py +433 -0
  1144. package/runtime/Lib/site-packages/pydantic/_internal/_validate_call.py +141 -0
  1145. package/runtime/Lib/site-packages/pydantic/_internal/_validators.py +541 -0
  1146. package/runtime/Lib/site-packages/pydantic/_migration.py +317 -0
  1147. package/runtime/Lib/site-packages/pydantic/alias_generators.py +62 -0
  1148. package/runtime/Lib/site-packages/pydantic/aliases.py +136 -0
  1149. package/runtime/Lib/site-packages/pydantic/annotated_handlers.py +123 -0
  1150. package/runtime/Lib/site-packages/pydantic/class_validators.py +5 -0
  1151. package/runtime/Lib/site-packages/pydantic/color.py +605 -0
  1152. package/runtime/Lib/site-packages/pydantic/config.py +1295 -0
  1153. package/runtime/Lib/site-packages/pydantic/dataclasses.py +385 -0
  1154. package/runtime/Lib/site-packages/pydantic/datetime_parse.py +5 -0
  1155. package/runtime/Lib/site-packages/pydantic/decorator.py +5 -0
  1156. package/runtime/Lib/site-packages/pydantic/deprecated/__init__.py +0 -0
  1157. package/runtime/Lib/site-packages/pydantic/deprecated/class_validators.py +257 -0
  1158. package/runtime/Lib/site-packages/pydantic/deprecated/config.py +72 -0
  1159. package/runtime/Lib/site-packages/pydantic/deprecated/copy_internals.py +224 -0
  1160. package/runtime/Lib/site-packages/pydantic/deprecated/decorator.py +286 -0
  1161. package/runtime/Lib/site-packages/pydantic/deprecated/json.py +142 -0
  1162. package/runtime/Lib/site-packages/pydantic/deprecated/parse.py +81 -0
  1163. package/runtime/Lib/site-packages/pydantic/deprecated/tools.py +104 -0
  1164. package/runtime/Lib/site-packages/pydantic/env_settings.py +5 -0
  1165. package/runtime/Lib/site-packages/pydantic/error_wrappers.py +5 -0
  1166. package/runtime/Lib/site-packages/pydantic/errors.py +185 -0
  1167. package/runtime/Lib/site-packages/pydantic/experimental/__init__.py +1 -0
  1168. package/runtime/Lib/site-packages/pydantic/experimental/arguments_schema.py +44 -0
  1169. package/runtime/Lib/site-packages/pydantic/experimental/missing_sentinel.py +29 -0
  1170. package/runtime/Lib/site-packages/pydantic/experimental/pipeline.py +684 -0
  1171. package/runtime/Lib/site-packages/pydantic/fields.py +2065 -0
  1172. package/runtime/Lib/site-packages/pydantic/functional_serializers.py +461 -0
  1173. package/runtime/Lib/site-packages/pydantic/functional_validators.py +920 -0
  1174. package/runtime/Lib/site-packages/pydantic/generics.py +5 -0
  1175. package/runtime/Lib/site-packages/pydantic/json.py +5 -0
  1176. package/runtime/Lib/site-packages/pydantic/json_schema.py +3261 -0
  1177. package/runtime/Lib/site-packages/pydantic/main.py +1947 -0
  1178. package/runtime/Lib/site-packages/pydantic/mypy.py +1469 -0
  1179. package/runtime/Lib/site-packages/pydantic/networks.py +1417 -0
  1180. package/runtime/Lib/site-packages/pydantic/parse.py +5 -0
  1181. package/runtime/Lib/site-packages/pydantic/plugin/__init__.py +190 -0
  1182. package/runtime/Lib/site-packages/pydantic/plugin/_loader.py +58 -0
  1183. package/runtime/Lib/site-packages/pydantic/plugin/_schema_validator.py +152 -0
  1184. package/runtime/Lib/site-packages/pydantic/py.typed +0 -0
  1185. package/runtime/Lib/site-packages/pydantic/root_model.py +189 -0
  1186. package/runtime/Lib/site-packages/pydantic/schema.py +5 -0
  1187. package/runtime/Lib/site-packages/pydantic/tools.py +5 -0
  1188. package/runtime/Lib/site-packages/pydantic/type_adapter.py +780 -0
  1189. package/runtime/Lib/site-packages/pydantic/types.py +3405 -0
  1190. package/runtime/Lib/site-packages/pydantic/typing.py +5 -0
  1191. package/runtime/Lib/site-packages/pydantic/utils.py +5 -0
  1192. package/runtime/Lib/site-packages/pydantic/v1/__init__.py +131 -0
  1193. package/runtime/Lib/site-packages/pydantic/v1/_hypothesis_plugin.py +391 -0
  1194. package/runtime/Lib/site-packages/pydantic/v1/annotated_types.py +72 -0
  1195. package/runtime/Lib/site-packages/pydantic/v1/class_validators.py +361 -0
  1196. package/runtime/Lib/site-packages/pydantic/v1/color.py +494 -0
  1197. package/runtime/Lib/site-packages/pydantic/v1/config.py +191 -0
  1198. package/runtime/Lib/site-packages/pydantic/v1/dataclasses.py +503 -0
  1199. package/runtime/Lib/site-packages/pydantic/v1/datetime_parse.py +248 -0
  1200. package/runtime/Lib/site-packages/pydantic/v1/decorator.py +264 -0
  1201. package/runtime/Lib/site-packages/pydantic/v1/env_settings.py +350 -0
  1202. package/runtime/Lib/site-packages/pydantic/v1/error_wrappers.py +161 -0
  1203. package/runtime/Lib/site-packages/pydantic/v1/errors.py +646 -0
  1204. package/runtime/Lib/site-packages/pydantic/v1/fields.py +1253 -0
  1205. package/runtime/Lib/site-packages/pydantic/v1/generics.py +400 -0
  1206. package/runtime/Lib/site-packages/pydantic/v1/json.py +112 -0
  1207. package/runtime/Lib/site-packages/pydantic/v1/main.py +1130 -0
  1208. package/runtime/Lib/site-packages/pydantic/v1/mypy.py +950 -0
  1209. package/runtime/Lib/site-packages/pydantic/v1/networks.py +747 -0
  1210. package/runtime/Lib/site-packages/pydantic/v1/parse.py +66 -0
  1211. package/runtime/Lib/site-packages/pydantic/v1/py.typed +0 -0
  1212. package/runtime/Lib/site-packages/pydantic/v1/schema.py +1163 -0
  1213. package/runtime/Lib/site-packages/pydantic/v1/tools.py +92 -0
  1214. package/runtime/Lib/site-packages/pydantic/v1/types.py +1213 -0
  1215. package/runtime/Lib/site-packages/pydantic/v1/typing.py +627 -0
  1216. package/runtime/Lib/site-packages/pydantic/v1/utils.py +807 -0
  1217. package/runtime/Lib/site-packages/pydantic/v1/validators.py +768 -0
  1218. package/runtime/Lib/site-packages/pydantic/v1/version.py +38 -0
  1219. package/runtime/Lib/site-packages/pydantic/validate_call_decorator.py +121 -0
  1220. package/runtime/Lib/site-packages/pydantic/validators.py +5 -0
  1221. package/runtime/Lib/site-packages/pydantic/version.py +113 -0
  1222. package/runtime/Lib/site-packages/pydantic/warnings.py +130 -0
  1223. package/runtime/Lib/site-packages/pydantic-2.14.2.dist-info/METADATA +1602 -0
  1224. package/runtime/Lib/site-packages/pydantic-2.14.2.dist-info/RECORD +111 -0
  1225. package/runtime/Lib/site-packages/pydantic-2.14.2.dist-info/WHEEL +4 -0
  1226. package/runtime/Lib/site-packages/pydantic-2.14.2.dist-info/licenses/LICENSE +21 -0
  1227. package/runtime/Lib/site-packages/pydantic_core/__init__.py +193 -0
  1228. package/runtime/Lib/site-packages/pydantic_core/_pydantic_core/__init__.pyi +1118 -0
  1229. package/runtime/Lib/site-packages/pydantic_core/_pydantic_core/_schema_gather.pyi +34 -0
  1230. package/runtime/Lib/site-packages/pydantic_core/_pydantic_core.cp313-win_amd64.pyd +0 -0
  1231. package/runtime/Lib/site-packages/pydantic_core/core_schema.py +5092 -0
  1232. package/runtime/Lib/site-packages/pydantic_core/py.typed +0 -0
  1233. package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/METADATA +171 -0
  1234. package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/RECORD +11 -0
  1235. package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/WHEEL +4 -0
  1236. package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/licenses/LICENSE +21 -0
  1237. package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/sboms/pydantic-core.cyclonedx.json +3889 -0
  1238. package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/METADATA +94 -0
  1239. package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/RECORD +19 -0
  1240. package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/WHEEL +5 -0
  1241. package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/licenses/AUTHORS.rst +7 -0
  1242. package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/licenses/LICENSE +21 -0
  1243. package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/top_level.txt +1 -0
  1244. package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/METADATA +204 -0
  1245. package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/RECORD +27 -0
  1246. package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/WHEEL +6 -0
  1247. package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/licenses/LICENSE +54 -0
  1248. package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/top_level.txt +1 -0
  1249. package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/zip-safe +1 -0
  1250. package/runtime/Lib/site-packages/python_multipart/__init__.py +35 -0
  1251. package/runtime/Lib/site-packages/python_multipart/decoders.py +185 -0
  1252. package/runtime/Lib/site-packages/python_multipart/exceptions.py +34 -0
  1253. package/runtime/Lib/site-packages/python_multipart/multipart.py +1925 -0
  1254. package/runtime/Lib/site-packages/python_multipart/py.typed +0 -0
  1255. package/runtime/Lib/site-packages/python_multipart-0.0.32.dist-info/METADATA +43 -0
  1256. package/runtime/Lib/site-packages/python_multipart-0.0.32.dist-info/RECORD +13 -0
  1257. package/runtime/Lib/site-packages/python_multipart-0.0.32.dist-info/WHEEL +4 -0
  1258. package/runtime/Lib/site-packages/python_multipart-0.0.32.dist-info/licenses/LICENSE.txt +202 -0
  1259. package/runtime/Lib/site-packages/pythoncom.py +4 -0
  1260. package/runtime/Lib/site-packages/pywin32-311.dist-info/METADATA +233 -0
  1261. package/runtime/Lib/site-packages/pywin32-311.dist-info/RECORD +477 -0
  1262. package/runtime/Lib/site-packages/pywin32-311.dist-info/WHEEL +5 -0
  1263. package/runtime/Lib/site-packages/pywin32-311.dist-info/entry_points.txt +3 -0
  1264. package/runtime/Lib/site-packages/pywin32-311.dist-info/top_level.txt +93 -0
  1265. package/runtime/Lib/site-packages/pywin32.pth +7 -0
  1266. package/runtime/Lib/site-packages/pywin32.version.txt +1 -0
  1267. package/runtime/Lib/site-packages/pywin32_system32/pythoncom313.dll +0 -0
  1268. package/runtime/Lib/site-packages/pywin32_system32/pywintypes313.dll +0 -0
  1269. package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/METADATA +59 -0
  1270. package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/RECORD +24 -0
  1271. package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/WHEEL +5 -0
  1272. package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/licenses/LICENSE +20 -0
  1273. package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/top_level.txt +2 -0
  1274. package/runtime/Lib/site-packages/referencing/__init__.py +7 -0
  1275. package/runtime/Lib/site-packages/referencing/_attrs.py +31 -0
  1276. package/runtime/Lib/site-packages/referencing/_attrs.pyi +21 -0
  1277. package/runtime/Lib/site-packages/referencing/_core.py +739 -0
  1278. package/runtime/Lib/site-packages/referencing/exceptions.py +165 -0
  1279. package/runtime/Lib/site-packages/referencing/jsonschema.py +642 -0
  1280. package/runtime/Lib/site-packages/referencing/py.typed +0 -0
  1281. package/runtime/Lib/site-packages/referencing/retrieval.py +94 -0
  1282. package/runtime/Lib/site-packages/referencing/tests/__init__.py +0 -0
  1283. package/runtime/Lib/site-packages/referencing/tests/test_core.py +1057 -0
  1284. package/runtime/Lib/site-packages/referencing/tests/test_exceptions.py +34 -0
  1285. package/runtime/Lib/site-packages/referencing/tests/test_jsonschema.py +382 -0
  1286. package/runtime/Lib/site-packages/referencing/tests/test_referencing_suite.py +66 -0
  1287. package/runtime/Lib/site-packages/referencing/tests/test_retrieval.py +106 -0
  1288. package/runtime/Lib/site-packages/referencing/typing.py +61 -0
  1289. package/runtime/Lib/site-packages/referencing-0.37.0.dist-info/METADATA +64 -0
  1290. package/runtime/Lib/site-packages/referencing-0.37.0.dist-info/RECORD +19 -0
  1291. package/runtime/Lib/site-packages/referencing-0.37.0.dist-info/WHEEL +4 -0
  1292. package/runtime/Lib/site-packages/referencing-0.37.0.dist-info/licenses/COPYING +19 -0
  1293. package/runtime/Lib/site-packages/requests/__init__.py +219 -0
  1294. package/runtime/Lib/site-packages/requests/__version__.py +14 -0
  1295. package/runtime/Lib/site-packages/requests/_internal_utils.py +51 -0
  1296. package/runtime/Lib/site-packages/requests/_types.py +183 -0
  1297. package/runtime/Lib/site-packages/requests/adapters.py +748 -0
  1298. package/runtime/Lib/site-packages/requests/api.py +180 -0
  1299. package/runtime/Lib/site-packages/requests/auth.py +354 -0
  1300. package/runtime/Lib/site-packages/requests/certs.py +18 -0
  1301. package/runtime/Lib/site-packages/requests/compat.py +113 -0
  1302. package/runtime/Lib/site-packages/requests/cookies.py +625 -0
  1303. package/runtime/Lib/site-packages/requests/exceptions.py +162 -0
  1304. package/runtime/Lib/site-packages/requests/help.py +134 -0
  1305. package/runtime/Lib/site-packages/requests/hooks.py +48 -0
  1306. package/runtime/Lib/site-packages/requests/models.py +1180 -0
  1307. package/runtime/Lib/site-packages/requests/packages.py +23 -0
  1308. package/runtime/Lib/site-packages/requests/py.typed +0 -0
  1309. package/runtime/Lib/site-packages/requests/sessions.py +920 -0
  1310. package/runtime/Lib/site-packages/requests/status_codes.py +128 -0
  1311. package/runtime/Lib/site-packages/requests/structures.py +130 -0
  1312. package/runtime/Lib/site-packages/requests/utils.py +1155 -0
  1313. package/runtime/Lib/site-packages/requests-2.34.2.dist-info/METADATA +120 -0
  1314. package/runtime/Lib/site-packages/requests-2.34.2.dist-info/RECORD +26 -0
  1315. package/runtime/Lib/site-packages/requests-2.34.2.dist-info/WHEEL +5 -0
  1316. package/runtime/Lib/site-packages/requests-2.34.2.dist-info/licenses/LICENSE +175 -0
  1317. package/runtime/Lib/site-packages/requests-2.34.2.dist-info/licenses/NOTICE +2 -0
  1318. package/runtime/Lib/site-packages/requests-2.34.2.dist-info/top_level.txt +1 -0
  1319. package/runtime/Lib/site-packages/rpds/__init__.py +5 -0
  1320. package/runtime/Lib/site-packages/rpds/__init__.pyi +79 -0
  1321. package/runtime/Lib/site-packages/rpds/py.typed +0 -0
  1322. package/runtime/Lib/site-packages/rpds/rpds.cp313-win_amd64.pyd +0 -0
  1323. package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/METADATA +99 -0
  1324. package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/RECORD +9 -0
  1325. package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/WHEEL +4 -0
  1326. package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/licenses/LICENSE +19 -0
  1327. package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/sboms/rpds-py.cyclonedx.json +680 -0
  1328. package/runtime/Lib/site-packages/semantic_version/__init__.py +18 -0
  1329. package/runtime/Lib/site-packages/semantic_version/base.py +1449 -0
  1330. package/runtime/Lib/site-packages/semantic_version/django_fields.py +107 -0
  1331. package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/LICENSE +22 -0
  1332. package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/METADATA +324 -0
  1333. package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/RECORD +8 -0
  1334. package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/WHEEL +6 -0
  1335. package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/top_level.txt +1 -0
  1336. package/runtime/Lib/site-packages/six-1.17.0.dist-info/LICENSE +18 -0
  1337. package/runtime/Lib/site-packages/six-1.17.0.dist-info/METADATA +43 -0
  1338. package/runtime/Lib/site-packages/six-1.17.0.dist-info/RECORD +6 -0
  1339. package/runtime/Lib/site-packages/six-1.17.0.dist-info/WHEEL +6 -0
  1340. package/runtime/Lib/site-packages/six-1.17.0.dist-info/top_level.txt +1 -0
  1341. package/runtime/Lib/site-packages/six.py +1003 -0
  1342. package/runtime/Lib/site-packages/sse_starlette/__init__.py +5 -0
  1343. package/runtime/Lib/site-packages/sse_starlette/_utils.py +36 -0
  1344. package/runtime/Lib/site-packages/sse_starlette/event.py +96 -0
  1345. package/runtime/Lib/site-packages/sse_starlette/py.typed +0 -0
  1346. package/runtime/Lib/site-packages/sse_starlette/sse.py +579 -0
  1347. package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/METADATA +494 -0
  1348. package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/RECORD +11 -0
  1349. package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/WHEEL +5 -0
  1350. package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/licenses/AUTHORS +10 -0
  1351. package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/licenses/LICENSE +27 -0
  1352. package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/top_level.txt +1 -0
  1353. package/runtime/Lib/site-packages/starlette/__init__.py +1 -0
  1354. package/runtime/Lib/site-packages/starlette/_exception_handler.py +67 -0
  1355. package/runtime/Lib/site-packages/starlette/_utils.py +152 -0
  1356. package/runtime/Lib/site-packages/starlette/applications.py +124 -0
  1357. package/runtime/Lib/site-packages/starlette/authentication.py +157 -0
  1358. package/runtime/Lib/site-packages/starlette/background.py +36 -0
  1359. package/runtime/Lib/site-packages/starlette/concurrency.py +59 -0
  1360. package/runtime/Lib/site-packages/starlette/config.py +142 -0
  1361. package/runtime/Lib/site-packages/starlette/convertors.py +89 -0
  1362. package/runtime/Lib/site-packages/starlette/datastructures.py +717 -0
  1363. package/runtime/Lib/site-packages/starlette/endpoints.py +128 -0
  1364. package/runtime/Lib/site-packages/starlette/exceptions.py +43 -0
  1365. package/runtime/Lib/site-packages/starlette/formparsers.py +289 -0
  1366. package/runtime/Lib/site-packages/starlette/middleware/__init__.py +37 -0
  1367. package/runtime/Lib/site-packages/starlette/middleware/authentication.py +52 -0
  1368. package/runtime/Lib/site-packages/starlette/middleware/base.py +254 -0
  1369. package/runtime/Lib/site-packages/starlette/middleware/body_limit.py +132 -0
  1370. package/runtime/Lib/site-packages/starlette/middleware/cors.py +177 -0
  1371. package/runtime/Lib/site-packages/starlette/middleware/errors.py +259 -0
  1372. package/runtime/Lib/site-packages/starlette/middleware/exceptions.py +73 -0
  1373. package/runtime/Lib/site-packages/starlette/middleware/gzip.py +230 -0
  1374. package/runtime/Lib/site-packages/starlette/middleware/httpsredirect.py +22 -0
  1375. package/runtime/Lib/site-packages/starlette/middleware/opentelemetry.py +126 -0
  1376. package/runtime/Lib/site-packages/starlette/middleware/sessions.py +139 -0
  1377. package/runtime/Lib/site-packages/starlette/middleware/trustedhost.py +66 -0
  1378. package/runtime/Lib/site-packages/starlette/middleware/wsgi.py +157 -0
  1379. package/runtime/Lib/site-packages/starlette/py.typed +0 -0
  1380. package/runtime/Lib/site-packages/starlette/requests.py +357 -0
  1381. package/runtime/Lib/site-packages/starlette/responses.py +616 -0
  1382. package/runtime/Lib/site-packages/starlette/routing.py +772 -0
  1383. package/runtime/Lib/site-packages/starlette/schemas.py +152 -0
  1384. package/runtime/Lib/site-packages/starlette/staticfiles.py +231 -0
  1385. package/runtime/Lib/site-packages/starlette/status.py +211 -0
  1386. package/runtime/Lib/site-packages/starlette/templating.py +156 -0
  1387. package/runtime/Lib/site-packages/starlette/testclient.py +624 -0
  1388. package/runtime/Lib/site-packages/starlette/types.py +26 -0
  1389. package/runtime/Lib/site-packages/starlette/websockets.py +202 -0
  1390. package/runtime/Lib/site-packages/starlette-1.10.0.dist-info/METADATA +181 -0
  1391. package/runtime/Lib/site-packages/starlette-1.10.0.dist-info/RECORD +41 -0
  1392. package/runtime/Lib/site-packages/starlette-1.10.0.dist-info/WHEEL +4 -0
  1393. package/runtime/Lib/site-packages/starlette-1.10.0.dist-info/licenses/LICENSE.md +27 -0
  1394. package/runtime/Lib/site-packages/truststore/__init__.py +36 -0
  1395. package/runtime/Lib/site-packages/truststore/_api.py +377 -0
  1396. package/runtime/Lib/site-packages/truststore/_macos.py +571 -0
  1397. package/runtime/Lib/site-packages/truststore/_openssl.py +65 -0
  1398. package/runtime/Lib/site-packages/truststore/_ssl_constants.py +30 -0
  1399. package/runtime/Lib/site-packages/truststore/_windows.py +567 -0
  1400. package/runtime/Lib/site-packages/truststore/py.typed +0 -0
  1401. package/runtime/Lib/site-packages/truststore-0.10.5.dist-info/METADATA +110 -0
  1402. package/runtime/Lib/site-packages/truststore-0.10.5.dist-info/RECORD +11 -0
  1403. package/runtime/Lib/site-packages/truststore-0.10.5.dist-info/WHEEL +4 -0
  1404. package/runtime/Lib/site-packages/truststore-0.10.5.dist-info/licenses/LICENSE +21 -0
  1405. package/runtime/Lib/site-packages/typing_extensions-4.16.0.dist-info/METADATA +73 -0
  1406. package/runtime/Lib/site-packages/typing_extensions-4.16.0.dist-info/RECORD +5 -0
  1407. package/runtime/Lib/site-packages/typing_extensions-4.16.0.dist-info/WHEEL +4 -0
  1408. package/runtime/Lib/site-packages/typing_extensions-4.16.0.dist-info/licenses/LICENSE +279 -0
  1409. package/runtime/Lib/site-packages/typing_extensions.py +4422 -0
  1410. package/runtime/Lib/site-packages/typing_inspection/__init__.py +0 -0
  1411. package/runtime/Lib/site-packages/typing_inspection/introspection.py +587 -0
  1412. package/runtime/Lib/site-packages/typing_inspection/py.typed +0 -0
  1413. package/runtime/Lib/site-packages/typing_inspection/typing_objects.py +620 -0
  1414. package/runtime/Lib/site-packages/typing_inspection/typing_objects.pyi +421 -0
  1415. package/runtime/Lib/site-packages/typing_inspection-0.4.4.dist-info/METADATA +49 -0
  1416. package/runtime/Lib/site-packages/typing_inspection-0.4.4.dist-info/RECORD +9 -0
  1417. package/runtime/Lib/site-packages/typing_inspection-0.4.4.dist-info/WHEEL +4 -0
  1418. package/runtime/Lib/site-packages/typing_inspection-0.4.4.dist-info/licenses/LICENSE +21 -0
  1419. package/runtime/Lib/site-packages/tzdata/__init__.py +6 -0
  1420. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Abidjan +0 -0
  1421. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Accra +0 -0
  1422. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Addis_Ababa +0 -0
  1423. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Algiers +0 -0
  1424. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Asmara +0 -0
  1425. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Asmera +0 -0
  1426. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Bamako +0 -0
  1427. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Bangui +0 -0
  1428. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Banjul +0 -0
  1429. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Bissau +0 -0
  1430. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Blantyre +0 -0
  1431. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Brazzaville +0 -0
  1432. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Bujumbura +0 -0
  1433. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Cairo +0 -0
  1434. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Casablanca +0 -0
  1435. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Ceuta +0 -0
  1436. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Conakry +0 -0
  1437. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Dakar +0 -0
  1438. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Dar_es_Salaam +0 -0
  1439. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Djibouti +0 -0
  1440. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Douala +0 -0
  1441. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/El_Aaiun +0 -0
  1442. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Freetown +0 -0
  1443. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Gaborone +0 -0
  1444. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Harare +0 -0
  1445. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Johannesburg +0 -0
  1446. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Juba +0 -0
  1447. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Kampala +0 -0
  1448. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Khartoum +0 -0
  1449. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Kigali +0 -0
  1450. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Kinshasa +0 -0
  1451. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Lagos +0 -0
  1452. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Libreville +0 -0
  1453. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Lome +0 -0
  1454. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Luanda +0 -0
  1455. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Lubumbashi +0 -0
  1456. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Lusaka +0 -0
  1457. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Malabo +0 -0
  1458. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Maputo +0 -0
  1459. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Maseru +0 -0
  1460. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Mbabane +0 -0
  1461. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Mogadishu +0 -0
  1462. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Monrovia +0 -0
  1463. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Nairobi +0 -0
  1464. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Ndjamena +0 -0
  1465. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Niamey +0 -0
  1466. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Nouakchott +0 -0
  1467. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Ouagadougou +0 -0
  1468. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Porto-Novo +0 -0
  1469. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Sao_Tome +0 -0
  1470. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Timbuktu +0 -0
  1471. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Tripoli +0 -0
  1472. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Tunis +0 -0
  1473. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Windhoek +0 -0
  1474. package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/__init__.py +0 -0
  1475. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Adak +0 -0
  1476. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Anchorage +0 -0
  1477. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Anguilla +0 -0
  1478. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Antigua +0 -0
  1479. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Araguaina +0 -0
  1480. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Buenos_Aires +0 -0
  1481. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Catamarca +0 -0
  1482. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/ComodRivadavia +0 -0
  1483. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Cordoba +0 -0
  1484. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Jujuy +0 -0
  1485. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/La_Rioja +0 -0
  1486. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Mendoza +0 -0
  1487. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Rio_Gallegos +0 -0
  1488. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Salta +0 -0
  1489. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/San_Juan +0 -0
  1490. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/San_Luis +0 -0
  1491. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Tucuman +0 -0
  1492. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Ushuaia +0 -0
  1493. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/__init__.py +0 -0
  1494. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Aruba +0 -0
  1495. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Asuncion +0 -0
  1496. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Atikokan +0 -0
  1497. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Atka +0 -0
  1498. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Bahia +0 -0
  1499. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Bahia_Banderas +0 -0
  1500. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Barbados +0 -0
  1501. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Belem +0 -0
  1502. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Belize +0 -0
  1503. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Blanc-Sablon +0 -0
  1504. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Boa_Vista +0 -0
  1505. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Bogota +0 -0
  1506. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Boise +0 -0
  1507. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Buenos_Aires +0 -0
  1508. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cambridge_Bay +0 -0
  1509. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Campo_Grande +0 -0
  1510. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cancun +0 -0
  1511. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Caracas +0 -0
  1512. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Catamarca +0 -0
  1513. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cayenne +0 -0
  1514. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cayman +0 -0
  1515. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Chicago +0 -0
  1516. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Chihuahua +0 -0
  1517. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Ciudad_Juarez +0 -0
  1518. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Coral_Harbour +0 -0
  1519. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cordoba +0 -0
  1520. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Costa_Rica +0 -0
  1521. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Coyhaique +0 -0
  1522. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Creston +0 -0
  1523. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cuiaba +0 -0
  1524. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Curacao +0 -0
  1525. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Danmarkshavn +0 -0
  1526. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Dawson +0 -0
  1527. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Dawson_Creek +0 -0
  1528. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Denver +0 -0
  1529. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Detroit +0 -0
  1530. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Dominica +0 -0
  1531. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Edmonton +0 -0
  1532. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Eirunepe +0 -0
  1533. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/El_Salvador +0 -0
  1534. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Ensenada +0 -0
  1535. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Fort_Nelson +0 -0
  1536. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Fort_Wayne +0 -0
  1537. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Fortaleza +0 -0
  1538. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Glace_Bay +0 -0
  1539. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Godthab +0 -0
  1540. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Goose_Bay +0 -0
  1541. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Grand_Turk +0 -0
  1542. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Grenada +0 -0
  1543. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Guadeloupe +0 -0
  1544. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Guatemala +0 -0
  1545. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Guayaquil +0 -0
  1546. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Guyana +0 -0
  1547. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Halifax +0 -0
  1548. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Havana +0 -0
  1549. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Hermosillo +0 -0
  1550. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Indianapolis +0 -0
  1551. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Knox +0 -0
  1552. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Marengo +0 -0
  1553. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Petersburg +0 -0
  1554. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Tell_City +0 -0
  1555. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Vevay +0 -0
  1556. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Vincennes +0 -0
  1557. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Winamac +0 -0
  1558. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/__init__.py +0 -0
  1559. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indianapolis +0 -0
  1560. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Inuvik +0 -0
  1561. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Iqaluit +0 -0
  1562. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Jamaica +0 -0
  1563. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Jujuy +0 -0
  1564. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Juneau +0 -0
  1565. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Kentucky/Louisville +0 -0
  1566. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Kentucky/Monticello +0 -0
  1567. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Kentucky/__init__.py +0 -0
  1568. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Knox_IN +0 -0
  1569. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Kralendijk +0 -0
  1570. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/La_Paz +0 -0
  1571. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Lima +0 -0
  1572. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Los_Angeles +0 -0
  1573. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Louisville +0 -0
  1574. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Lower_Princes +0 -0
  1575. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Maceio +0 -0
  1576. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Managua +0 -0
  1577. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Manaus +0 -0
  1578. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Marigot +0 -0
  1579. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Martinique +0 -0
  1580. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Matamoros +0 -0
  1581. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Mazatlan +0 -0
  1582. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Mendoza +0 -0
  1583. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Menominee +0 -0
  1584. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Merida +0 -0
  1585. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Metlakatla +0 -0
  1586. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Mexico_City +0 -0
  1587. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Miquelon +0 -0
  1588. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Moncton +0 -0
  1589. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Monterrey +0 -0
  1590. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Montevideo +0 -0
  1591. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Montreal +0 -0
  1592. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Montserrat +0 -0
  1593. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Nassau +0 -0
  1594. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/New_York +0 -0
  1595. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Nipigon +0 -0
  1596. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Nome +0 -0
  1597. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Noronha +0 -0
  1598. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/North_Dakota/Beulah +0 -0
  1599. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/North_Dakota/Center +0 -0
  1600. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/North_Dakota/New_Salem +0 -0
  1601. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/North_Dakota/__init__.py +0 -0
  1602. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Nuuk +0 -0
  1603. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Ojinaga +0 -0
  1604. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Panama +0 -0
  1605. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Pangnirtung +0 -0
  1606. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Paramaribo +0 -0
  1607. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Phoenix +0 -0
  1608. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Port-au-Prince +0 -0
  1609. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Port_of_Spain +0 -0
  1610. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Porto_Acre +0 -0
  1611. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Porto_Velho +0 -0
  1612. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Puerto_Rico +0 -0
  1613. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Punta_Arenas +0 -0
  1614. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Rainy_River +0 -0
  1615. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Rankin_Inlet +0 -0
  1616. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Recife +0 -0
  1617. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Regina +0 -0
  1618. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Resolute +0 -0
  1619. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Rio_Branco +0 -0
  1620. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Rosario +0 -0
  1621. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Santa_Isabel +0 -0
  1622. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Santarem +0 -0
  1623. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Santiago +0 -0
  1624. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Santo_Domingo +0 -0
  1625. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Sao_Paulo +0 -0
  1626. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Scoresbysund +0 -0
  1627. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Shiprock +0 -0
  1628. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Sitka +0 -0
  1629. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Barthelemy +0 -0
  1630. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Johns +0 -0
  1631. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Kitts +0 -0
  1632. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Lucia +0 -0
  1633. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Thomas +0 -0
  1634. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Vincent +0 -0
  1635. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Swift_Current +0 -0
  1636. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Tegucigalpa +0 -0
  1637. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Thule +0 -0
  1638. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Thunder_Bay +0 -0
  1639. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Tijuana +0 -0
  1640. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Toronto +0 -0
  1641. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Tortola +0 -0
  1642. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Vancouver +0 -0
  1643. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Virgin +0 -0
  1644. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Whitehorse +0 -0
  1645. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Winnipeg +0 -0
  1646. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Yakutat +0 -0
  1647. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Yellowknife +0 -0
  1648. package/runtime/Lib/site-packages/tzdata/zoneinfo/America/__init__.py +0 -0
  1649. package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Casey +0 -0
  1650. package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Davis +0 -0
  1651. package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/DumontDUrville +0 -0
  1652. package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Macquarie +0 -0
  1653. package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Mawson +0 -0
  1654. package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/McMurdo +0 -0
  1655. package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Palmer +0 -0
  1656. package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Rothera +0 -0
  1657. package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/South_Pole +0 -0
  1658. package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Syowa +0 -0
  1659. package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Troll +0 -0
  1660. package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Vostok +0 -0
  1661. package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/__init__.py +0 -0
  1662. package/runtime/Lib/site-packages/tzdata/zoneinfo/Arctic/Longyearbyen +0 -0
  1663. package/runtime/Lib/site-packages/tzdata/zoneinfo/Arctic/__init__.py +0 -0
  1664. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Aden +0 -0
  1665. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Almaty +0 -0
  1666. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Amman +0 -0
  1667. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Anadyr +0 -0
  1668. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Aqtau +0 -0
  1669. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Aqtobe +0 -0
  1670. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ashgabat +0 -0
  1671. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ashkhabad +0 -0
  1672. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Atyrau +0 -0
  1673. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Baghdad +0 -0
  1674. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Bahrain +0 -0
  1675. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Baku +0 -0
  1676. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Bangkok +0 -0
  1677. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Barnaul +0 -0
  1678. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Beirut +0 -0
  1679. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Bishkek +0 -0
  1680. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Brunei +0 -0
  1681. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Calcutta +0 -0
  1682. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Chita +0 -0
  1683. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Choibalsan +0 -0
  1684. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Chongqing +0 -0
  1685. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Chungking +0 -0
  1686. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Colombo +0 -0
  1687. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dacca +0 -0
  1688. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Damascus +0 -0
  1689. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dhaka +0 -0
  1690. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dili +0 -0
  1691. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dubai +0 -0
  1692. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dushanbe +0 -0
  1693. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Famagusta +0 -0
  1694. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Gaza +0 -0
  1695. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Harbin +0 -0
  1696. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Hebron +0 -0
  1697. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ho_Chi_Minh +0 -0
  1698. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Hong_Kong +0 -0
  1699. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Hovd +0 -0
  1700. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Irkutsk +0 -0
  1701. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Istanbul +0 -0
  1702. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Jakarta +0 -0
  1703. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Jayapura +0 -0
  1704. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Jerusalem +0 -0
  1705. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kabul +0 -0
  1706. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kamchatka +0 -0
  1707. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Karachi +0 -0
  1708. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kashgar +0 -0
  1709. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kathmandu +0 -0
  1710. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Katmandu +0 -0
  1711. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Khandyga +0 -0
  1712. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kolkata +0 -0
  1713. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Krasnoyarsk +0 -0
  1714. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kuala_Lumpur +0 -0
  1715. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kuching +0 -0
  1716. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kuwait +0 -0
  1717. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Macao +0 -0
  1718. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Macau +0 -0
  1719. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Magadan +0 -0
  1720. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Makassar +0 -0
  1721. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Manila +0 -0
  1722. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Muscat +0 -0
  1723. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Nicosia +0 -0
  1724. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Novokuznetsk +0 -0
  1725. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Novosibirsk +0 -0
  1726. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Omsk +0 -0
  1727. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Oral +0 -0
  1728. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Phnom_Penh +0 -0
  1729. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Pontianak +0 -0
  1730. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Pyongyang +0 -0
  1731. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Qatar +0 -0
  1732. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Qostanay +0 -0
  1733. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Qyzylorda +0 -0
  1734. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Rangoon +0 -0
  1735. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Riyadh +0 -0
  1736. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Saigon +0 -0
  1737. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Sakhalin +0 -0
  1738. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Samarkand +0 -0
  1739. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Seoul +0 -0
  1740. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Shanghai +0 -0
  1741. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Singapore +0 -0
  1742. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Srednekolymsk +0 -0
  1743. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Taipei +0 -0
  1744. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tashkent +0 -0
  1745. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tbilisi +0 -0
  1746. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tehran +0 -0
  1747. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tel_Aviv +0 -0
  1748. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Thimbu +0 -0
  1749. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Thimphu +0 -0
  1750. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tokyo +0 -0
  1751. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tomsk +0 -0
  1752. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ujung_Pandang +0 -0
  1753. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ulaanbaatar +0 -0
  1754. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ulan_Bator +0 -0
  1755. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Urumqi +0 -0
  1756. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ust-Nera +0 -0
  1757. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Vientiane +0 -0
  1758. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Vladivostok +0 -0
  1759. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Yakutsk +0 -0
  1760. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Yangon +0 -0
  1761. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Yekaterinburg +0 -0
  1762. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Yerevan +0 -0
  1763. package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/__init__.py +0 -0
  1764. package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Azores +0 -0
  1765. package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Bermuda +0 -0
  1766. package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Canary +0 -0
  1767. package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Cape_Verde +0 -0
  1768. package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Faeroe +0 -0
  1769. package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Faroe +0 -0
  1770. package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Jan_Mayen +0 -0
  1771. package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Madeira +0 -0
  1772. package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Reykjavik +0 -0
  1773. package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/South_Georgia +0 -0
  1774. package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/St_Helena +0 -0
  1775. package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Stanley +0 -0
  1776. package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/__init__.py +0 -0
  1777. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/ACT +0 -0
  1778. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Adelaide +0 -0
  1779. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Brisbane +0 -0
  1780. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Broken_Hill +0 -0
  1781. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Canberra +0 -0
  1782. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Currie +0 -0
  1783. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Darwin +0 -0
  1784. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Eucla +0 -0
  1785. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Hobart +0 -0
  1786. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/LHI +0 -0
  1787. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Lindeman +0 -0
  1788. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Lord_Howe +0 -0
  1789. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Melbourne +0 -0
  1790. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/NSW +0 -0
  1791. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/North +0 -0
  1792. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Perth +0 -0
  1793. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Queensland +0 -0
  1794. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/South +0 -0
  1795. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Sydney +0 -0
  1796. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Tasmania +0 -0
  1797. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Victoria +0 -0
  1798. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/West +0 -0
  1799. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Yancowinna +0 -0
  1800. package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/__init__.py +0 -0
  1801. package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/Acre +0 -0
  1802. package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/DeNoronha +0 -0
  1803. package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/East +0 -0
  1804. package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/West +0 -0
  1805. package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/__init__.py +0 -0
  1806. package/runtime/Lib/site-packages/tzdata/zoneinfo/CET +0 -0
  1807. package/runtime/Lib/site-packages/tzdata/zoneinfo/CST6CDT +0 -0
  1808. package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Atlantic +0 -0
  1809. package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Central +0 -0
  1810. package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Eastern +0 -0
  1811. package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Mountain +0 -0
  1812. package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Newfoundland +0 -0
  1813. package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Pacific +0 -0
  1814. package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Saskatchewan +0 -0
  1815. package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Yukon +0 -0
  1816. package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/__init__.py +0 -0
  1817. package/runtime/Lib/site-packages/tzdata/zoneinfo/Chile/Continental +0 -0
  1818. package/runtime/Lib/site-packages/tzdata/zoneinfo/Chile/EasterIsland +0 -0
  1819. package/runtime/Lib/site-packages/tzdata/zoneinfo/Chile/__init__.py +0 -0
  1820. package/runtime/Lib/site-packages/tzdata/zoneinfo/Cuba +0 -0
  1821. package/runtime/Lib/site-packages/tzdata/zoneinfo/EET +0 -0
  1822. package/runtime/Lib/site-packages/tzdata/zoneinfo/EST +0 -0
  1823. package/runtime/Lib/site-packages/tzdata/zoneinfo/EST5EDT +0 -0
  1824. package/runtime/Lib/site-packages/tzdata/zoneinfo/Egypt +0 -0
  1825. package/runtime/Lib/site-packages/tzdata/zoneinfo/Eire +0 -0
  1826. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT +0 -0
  1827. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+0 +0 -0
  1828. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+1 +0 -0
  1829. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+10 +0 -0
  1830. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+11 +0 -0
  1831. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+12 +0 -0
  1832. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+2 +0 -0
  1833. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+3 +0 -0
  1834. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+4 +0 -0
  1835. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+5 +0 -0
  1836. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+6 +0 -0
  1837. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+7 +0 -0
  1838. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+8 +0 -0
  1839. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+9 +0 -0
  1840. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-0 +0 -0
  1841. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-1 +0 -0
  1842. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-10 +0 -0
  1843. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-11 +0 -0
  1844. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-12 +0 -0
  1845. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-13 +0 -0
  1846. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-14 +0 -0
  1847. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-2 +0 -0
  1848. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-3 +0 -0
  1849. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-4 +0 -0
  1850. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-5 +0 -0
  1851. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-6 +0 -0
  1852. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-7 +0 -0
  1853. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-8 +0 -0
  1854. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-9 +0 -0
  1855. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT0 +0 -0
  1856. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/Greenwich +0 -0
  1857. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/UCT +0 -0
  1858. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/UTC +0 -0
  1859. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/Universal +0 -0
  1860. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/Zulu +0 -0
  1861. package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/__init__.py +0 -0
  1862. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Amsterdam +0 -0
  1863. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Andorra +0 -0
  1864. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Astrakhan +0 -0
  1865. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Athens +0 -0
  1866. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Belfast +0 -0
  1867. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Belgrade +0 -0
  1868. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Berlin +0 -0
  1869. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Bratislava +0 -0
  1870. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Brussels +0 -0
  1871. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Bucharest +0 -0
  1872. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Budapest +0 -0
  1873. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Busingen +0 -0
  1874. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Chisinau +0 -0
  1875. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Copenhagen +0 -0
  1876. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Dublin +0 -0
  1877. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Gibraltar +0 -0
  1878. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Guernsey +0 -0
  1879. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Helsinki +0 -0
  1880. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Isle_of_Man +0 -0
  1881. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Istanbul +0 -0
  1882. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Jersey +0 -0
  1883. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Kaliningrad +0 -0
  1884. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Kiev +0 -0
  1885. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Kirov +0 -0
  1886. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Kyiv +0 -0
  1887. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Lisbon +0 -0
  1888. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Ljubljana +0 -0
  1889. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/London +0 -0
  1890. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Luxembourg +0 -0
  1891. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Madrid +0 -0
  1892. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Malta +0 -0
  1893. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Mariehamn +0 -0
  1894. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Minsk +0 -0
  1895. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Monaco +0 -0
  1896. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Moscow +0 -0
  1897. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Nicosia +0 -0
  1898. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Oslo +0 -0
  1899. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Paris +0 -0
  1900. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Podgorica +0 -0
  1901. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Prague +0 -0
  1902. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Riga +0 -0
  1903. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Rome +0 -0
  1904. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Samara +0 -0
  1905. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/San_Marino +0 -0
  1906. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Sarajevo +0 -0
  1907. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Saratov +0 -0
  1908. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Simferopol +0 -0
  1909. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Skopje +0 -0
  1910. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Sofia +0 -0
  1911. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Stockholm +0 -0
  1912. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Tallinn +0 -0
  1913. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Tirane +0 -0
  1914. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Tiraspol +0 -0
  1915. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Ulyanovsk +0 -0
  1916. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Uzhgorod +0 -0
  1917. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Vaduz +0 -0
  1918. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Vatican +0 -0
  1919. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Vienna +0 -0
  1920. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Vilnius +0 -0
  1921. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Volgograd +0 -0
  1922. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Warsaw +0 -0
  1923. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Zagreb +0 -0
  1924. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Zaporozhye +0 -0
  1925. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Zurich +0 -0
  1926. package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/__init__.py +0 -0
  1927. package/runtime/Lib/site-packages/tzdata/zoneinfo/Factory +0 -0
  1928. package/runtime/Lib/site-packages/tzdata/zoneinfo/GB +0 -0
  1929. package/runtime/Lib/site-packages/tzdata/zoneinfo/GB-Eire +0 -0
  1930. package/runtime/Lib/site-packages/tzdata/zoneinfo/GMT +0 -0
  1931. package/runtime/Lib/site-packages/tzdata/zoneinfo/GMT+0 +0 -0
  1932. package/runtime/Lib/site-packages/tzdata/zoneinfo/GMT-0 +0 -0
  1933. package/runtime/Lib/site-packages/tzdata/zoneinfo/GMT0 +0 -0
  1934. package/runtime/Lib/site-packages/tzdata/zoneinfo/Greenwich +0 -0
  1935. package/runtime/Lib/site-packages/tzdata/zoneinfo/HST +0 -0
  1936. package/runtime/Lib/site-packages/tzdata/zoneinfo/Hongkong +0 -0
  1937. package/runtime/Lib/site-packages/tzdata/zoneinfo/Iceland +0 -0
  1938. package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Antananarivo +0 -0
  1939. package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Chagos +0 -0
  1940. package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Christmas +0 -0
  1941. package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Cocos +0 -0
  1942. package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Comoro +0 -0
  1943. package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Kerguelen +0 -0
  1944. package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Mahe +0 -0
  1945. package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Maldives +0 -0
  1946. package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Mauritius +0 -0
  1947. package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Mayotte +0 -0
  1948. package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Reunion +0 -0
  1949. package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/__init__.py +0 -0
  1950. package/runtime/Lib/site-packages/tzdata/zoneinfo/Iran +0 -0
  1951. package/runtime/Lib/site-packages/tzdata/zoneinfo/Israel +0 -0
  1952. package/runtime/Lib/site-packages/tzdata/zoneinfo/Jamaica +0 -0
  1953. package/runtime/Lib/site-packages/tzdata/zoneinfo/Japan +0 -0
  1954. package/runtime/Lib/site-packages/tzdata/zoneinfo/Kwajalein +0 -0
  1955. package/runtime/Lib/site-packages/tzdata/zoneinfo/Libya +0 -0
  1956. package/runtime/Lib/site-packages/tzdata/zoneinfo/MET +0 -0
  1957. package/runtime/Lib/site-packages/tzdata/zoneinfo/MST +0 -0
  1958. package/runtime/Lib/site-packages/tzdata/zoneinfo/MST7MDT +0 -0
  1959. package/runtime/Lib/site-packages/tzdata/zoneinfo/Mexico/BajaNorte +0 -0
  1960. package/runtime/Lib/site-packages/tzdata/zoneinfo/Mexico/BajaSur +0 -0
  1961. package/runtime/Lib/site-packages/tzdata/zoneinfo/Mexico/General +0 -0
  1962. package/runtime/Lib/site-packages/tzdata/zoneinfo/Mexico/__init__.py +0 -0
  1963. package/runtime/Lib/site-packages/tzdata/zoneinfo/NZ +0 -0
  1964. package/runtime/Lib/site-packages/tzdata/zoneinfo/NZ-CHAT +0 -0
  1965. package/runtime/Lib/site-packages/tzdata/zoneinfo/Navajo +0 -0
  1966. package/runtime/Lib/site-packages/tzdata/zoneinfo/PRC +0 -0
  1967. package/runtime/Lib/site-packages/tzdata/zoneinfo/PST8PDT +0 -0
  1968. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Apia +0 -0
  1969. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Auckland +0 -0
  1970. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Bougainville +0 -0
  1971. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Chatham +0 -0
  1972. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Chuuk +0 -0
  1973. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Easter +0 -0
  1974. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Efate +0 -0
  1975. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Enderbury +0 -0
  1976. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Fakaofo +0 -0
  1977. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Fiji +0 -0
  1978. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Funafuti +0 -0
  1979. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Galapagos +0 -0
  1980. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Gambier +0 -0
  1981. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Guadalcanal +0 -0
  1982. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Guam +0 -0
  1983. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Honolulu +0 -0
  1984. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Johnston +0 -0
  1985. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Kanton +0 -0
  1986. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Kiritimati +0 -0
  1987. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Kosrae +0 -0
  1988. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Kwajalein +0 -0
  1989. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Majuro +0 -0
  1990. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Marquesas +0 -0
  1991. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Midway +0 -0
  1992. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Nauru +0 -0
  1993. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Niue +0 -0
  1994. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Norfolk +0 -0
  1995. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Noumea +0 -0
  1996. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Pago_Pago +0 -0
  1997. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Palau +0 -0
  1998. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Pitcairn +0 -0
  1999. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Pohnpei +0 -0
  2000. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Ponape +0 -0
  2001. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Port_Moresby +0 -0
  2002. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Rarotonga +0 -0
  2003. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Saipan +0 -0
  2004. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Samoa +0 -0
  2005. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Tahiti +0 -0
  2006. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Tarawa +0 -0
  2007. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Tongatapu +0 -0
  2008. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Truk +0 -0
  2009. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Wake +0 -0
  2010. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Wallis +0 -0
  2011. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Yap +0 -0
  2012. package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/__init__.py +0 -0
  2013. package/runtime/Lib/site-packages/tzdata/zoneinfo/Poland +0 -0
  2014. package/runtime/Lib/site-packages/tzdata/zoneinfo/Portugal +0 -0
  2015. package/runtime/Lib/site-packages/tzdata/zoneinfo/ROC +0 -0
  2016. package/runtime/Lib/site-packages/tzdata/zoneinfo/ROK +0 -0
  2017. package/runtime/Lib/site-packages/tzdata/zoneinfo/Singapore +0 -0
  2018. package/runtime/Lib/site-packages/tzdata/zoneinfo/Turkey +0 -0
  2019. package/runtime/Lib/site-packages/tzdata/zoneinfo/UCT +0 -0
  2020. package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Alaska +0 -0
  2021. package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Aleutian +0 -0
  2022. package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Arizona +0 -0
  2023. package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Central +0 -0
  2024. package/runtime/Lib/site-packages/tzdata/zoneinfo/US/East-Indiana +0 -0
  2025. package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Eastern +0 -0
  2026. package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Hawaii +0 -0
  2027. package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Indiana-Starke +0 -0
  2028. package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Michigan +0 -0
  2029. package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Mountain +0 -0
  2030. package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Pacific +0 -0
  2031. package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Samoa +0 -0
  2032. package/runtime/Lib/site-packages/tzdata/zoneinfo/US/__init__.py +0 -0
  2033. package/runtime/Lib/site-packages/tzdata/zoneinfo/UTC +0 -0
  2034. package/runtime/Lib/site-packages/tzdata/zoneinfo/Universal +0 -0
  2035. package/runtime/Lib/site-packages/tzdata/zoneinfo/W-SU +0 -0
  2036. package/runtime/Lib/site-packages/tzdata/zoneinfo/WET +0 -0
  2037. package/runtime/Lib/site-packages/tzdata/zoneinfo/Zulu +0 -0
  2038. package/runtime/Lib/site-packages/tzdata/zoneinfo/__init__.py +0 -0
  2039. package/runtime/Lib/site-packages/tzdata/zoneinfo/iso3166.tab +279 -0
  2040. package/runtime/Lib/site-packages/tzdata/zoneinfo/leapseconds +84 -0
  2041. package/runtime/Lib/site-packages/tzdata/zoneinfo/tzdata.zi +4202 -0
  2042. package/runtime/Lib/site-packages/tzdata/zoneinfo/zone.tab +448 -0
  2043. package/runtime/Lib/site-packages/tzdata/zoneinfo/zone1970.tab +375 -0
  2044. package/runtime/Lib/site-packages/tzdata/zoneinfo/zonenow.tab +302 -0
  2045. package/runtime/Lib/site-packages/tzdata/zones +598 -0
  2046. package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/METADATA +33 -0
  2047. package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/RECORD +633 -0
  2048. package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/WHEEL +6 -0
  2049. package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/licenses/LICENSE +16 -0
  2050. package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/licenses/licenses/LICENSE_APACHE +201 -0
  2051. package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/top_level.txt +1 -0
  2052. package/runtime/Lib/site-packages/urllib3/__init__.py +211 -0
  2053. package/runtime/Lib/site-packages/urllib3/_base_connection.py +167 -0
  2054. package/runtime/Lib/site-packages/urllib3/_collections.py +490 -0
  2055. package/runtime/Lib/site-packages/urllib3/_request_methods.py +278 -0
  2056. package/runtime/Lib/site-packages/urllib3/_version.py +24 -0
  2057. package/runtime/Lib/site-packages/urllib3/connection.py +1204 -0
  2058. package/runtime/Lib/site-packages/urllib3/connectionpool.py +1211 -0
  2059. package/runtime/Lib/site-packages/urllib3/contrib/__init__.py +0 -0
  2060. package/runtime/Lib/site-packages/urllib3/contrib/emscripten/__init__.py +17 -0
  2061. package/runtime/Lib/site-packages/urllib3/contrib/emscripten/connection.py +260 -0
  2062. package/runtime/Lib/site-packages/urllib3/contrib/emscripten/emscripten_fetch_worker.js +110 -0
  2063. package/runtime/Lib/site-packages/urllib3/contrib/emscripten/fetch.py +726 -0
  2064. package/runtime/Lib/site-packages/urllib3/contrib/emscripten/request.py +22 -0
  2065. package/runtime/Lib/site-packages/urllib3/contrib/emscripten/response.py +281 -0
  2066. package/runtime/Lib/site-packages/urllib3/contrib/pyopenssl.py +603 -0
  2067. package/runtime/Lib/site-packages/urllib3/contrib/socks.py +226 -0
  2068. package/runtime/Lib/site-packages/urllib3/exceptions.py +335 -0
  2069. package/runtime/Lib/site-packages/urllib3/fields.py +341 -0
  2070. package/runtime/Lib/site-packages/urllib3/filepost.py +89 -0
  2071. package/runtime/Lib/site-packages/urllib3/http2/__init__.py +53 -0
  2072. package/runtime/Lib/site-packages/urllib3/http2/connection.py +357 -0
  2073. package/runtime/Lib/site-packages/urllib3/http2/probe.py +87 -0
  2074. package/runtime/Lib/site-packages/urllib3/poolmanager.py +677 -0
  2075. package/runtime/Lib/site-packages/urllib3/py.typed +2 -0
  2076. package/runtime/Lib/site-packages/urllib3/response.py +1526 -0
  2077. package/runtime/Lib/site-packages/urllib3/util/__init__.py +42 -0
  2078. package/runtime/Lib/site-packages/urllib3/util/connection.py +137 -0
  2079. package/runtime/Lib/site-packages/urllib3/util/proxy.py +43 -0
  2080. package/runtime/Lib/site-packages/urllib3/util/request.py +299 -0
  2081. package/runtime/Lib/site-packages/urllib3/util/response.py +101 -0
  2082. package/runtime/Lib/site-packages/urllib3/util/retry.py +569 -0
  2083. package/runtime/Lib/site-packages/urllib3/util/ssl_.py +481 -0
  2084. package/runtime/Lib/site-packages/urllib3/util/ssl_match_hostname.py +153 -0
  2085. package/runtime/Lib/site-packages/urllib3/util/ssltransport.py +271 -0
  2086. package/runtime/Lib/site-packages/urllib3/util/timeout.py +275 -0
  2087. package/runtime/Lib/site-packages/urllib3/util/url.py +577 -0
  2088. package/runtime/Lib/site-packages/urllib3/util/util.py +42 -0
  2089. package/runtime/Lib/site-packages/urllib3/util/wait.py +124 -0
  2090. package/runtime/Lib/site-packages/urllib3-2.8.0.dist-info/METADATA +175 -0
  2091. package/runtime/Lib/site-packages/urllib3-2.8.0.dist-info/RECORD +42 -0
  2092. package/runtime/Lib/site-packages/urllib3-2.8.0.dist-info/WHEEL +4 -0
  2093. package/runtime/Lib/site-packages/urllib3-2.8.0.dist-info/licenses/LICENSE.txt +21 -0
  2094. package/runtime/Lib/site-packages/uvicorn/__init__.py +5 -0
  2095. package/runtime/Lib/site-packages/uvicorn/__main__.py +4 -0
  2096. package/runtime/Lib/site-packages/uvicorn/_ansi.py +29 -0
  2097. package/runtime/Lib/site-packages/uvicorn/_compat.py +91 -0
  2098. package/runtime/Lib/site-packages/uvicorn/_subprocess.py +84 -0
  2099. package/runtime/Lib/site-packages/uvicorn/_types.py +280 -0
  2100. package/runtime/Lib/site-packages/uvicorn/config.py +618 -0
  2101. package/runtime/Lib/site-packages/uvicorn/importer.py +34 -0
  2102. package/runtime/Lib/site-packages/uvicorn/lifespan/__init__.py +0 -0
  2103. package/runtime/Lib/site-packages/uvicorn/lifespan/off.py +17 -0
  2104. package/runtime/Lib/site-packages/uvicorn/lifespan/on.py +137 -0
  2105. package/runtime/Lib/site-packages/uvicorn/logging.py +117 -0
  2106. package/runtime/Lib/site-packages/uvicorn/loops/__init__.py +0 -0
  2107. package/runtime/Lib/site-packages/uvicorn/loops/asyncio.py +11 -0
  2108. package/runtime/Lib/site-packages/uvicorn/loops/auto.py +17 -0
  2109. package/runtime/Lib/site-packages/uvicorn/loops/uvloop.py +10 -0
  2110. package/runtime/Lib/site-packages/uvicorn/loops/zuvloop.py +10 -0
  2111. package/runtime/Lib/site-packages/uvicorn/main.py +656 -0
  2112. package/runtime/Lib/site-packages/uvicorn/middleware/__init__.py +0 -0
  2113. package/runtime/Lib/site-packages/uvicorn/middleware/asgi2.py +15 -0
  2114. package/runtime/Lib/site-packages/uvicorn/middleware/message_logger.py +87 -0
  2115. package/runtime/Lib/site-packages/uvicorn/middleware/proxy_headers.py +187 -0
  2116. package/runtime/Lib/site-packages/uvicorn/middleware/wsgi.py +199 -0
  2117. package/runtime/Lib/site-packages/uvicorn/protocols/__init__.py +0 -0
  2118. package/runtime/Lib/site-packages/uvicorn/protocols/http/__init__.py +0 -0
  2119. package/runtime/Lib/site-packages/uvicorn/protocols/http/auto.py +15 -0
  2120. package/runtime/Lib/site-packages/uvicorn/protocols/http/auto_zttp_impl.py +89 -0
  2121. package/runtime/Lib/site-packages/uvicorn/protocols/http/flow_control.py +54 -0
  2122. package/runtime/Lib/site-packages/uvicorn/protocols/http/h11_impl.py +540 -0
  2123. package/runtime/Lib/site-packages/uvicorn/protocols/http/httptools_impl.py +581 -0
  2124. package/runtime/Lib/site-packages/uvicorn/protocols/http/zttp_h2_impl.py +559 -0
  2125. package/runtime/Lib/site-packages/uvicorn/protocols/http/zttp_impl.py +537 -0
  2126. package/runtime/Lib/site-packages/uvicorn/protocols/utils.py +62 -0
  2127. package/runtime/Lib/site-packages/uvicorn/protocols/websockets/__init__.py +0 -0
  2128. package/runtime/Lib/site-packages/uvicorn/protocols/websockets/auto.py +21 -0
  2129. package/runtime/Lib/site-packages/uvicorn/protocols/websockets/websockets_impl.py +390 -0
  2130. package/runtime/Lib/site-packages/uvicorn/protocols/websockets/websockets_sansio_impl.py +556 -0
  2131. package/runtime/Lib/site-packages/uvicorn/protocols/websockets/wsproto_impl.py +500 -0
  2132. package/runtime/Lib/site-packages/uvicorn/py.typed +1 -0
  2133. package/runtime/Lib/site-packages/uvicorn/server.py +356 -0
  2134. package/runtime/Lib/site-packages/uvicorn/supervisors/__init__.py +16 -0
  2135. package/runtime/Lib/site-packages/uvicorn/supervisors/basereload.py +124 -0
  2136. package/runtime/Lib/site-packages/uvicorn/supervisors/multiprocess.py +282 -0
  2137. package/runtime/Lib/site-packages/uvicorn/supervisors/statreload.py +52 -0
  2138. package/runtime/Lib/site-packages/uvicorn/supervisors/watchfilesreload.py +86 -0
  2139. package/runtime/Lib/site-packages/uvicorn/workers.py +111 -0
  2140. package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/METADATA +189 -0
  2141. package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/RECORD +51 -0
  2142. package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/WHEEL +4 -0
  2143. package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/entry_points.txt +2 -0
  2144. package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/licenses/LICENSE.md +27 -0
  2145. package/runtime/Lib/site-packages/win32/Demos/BackupRead_BackupWrite.py +119 -0
  2146. package/runtime/Lib/site-packages/win32/Demos/BackupSeek_streamheaders.py +137 -0
  2147. package/runtime/Lib/site-packages/win32/Demos/CopyFileEx.py +57 -0
  2148. package/runtime/Lib/site-packages/win32/Demos/CreateFileTransacted_MiniVersion.py +122 -0
  2149. package/runtime/Lib/site-packages/win32/Demos/EvtFormatMessage.py +83 -0
  2150. package/runtime/Lib/site-packages/win32/Demos/EvtSubscribe_pull.py +28 -0
  2151. package/runtime/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +32 -0
  2152. package/runtime/Lib/site-packages/win32/Demos/FileSecurityTest.py +137 -0
  2153. package/runtime/Lib/site-packages/win32/Demos/GetSaveFileName.py +43 -0
  2154. package/runtime/Lib/site-packages/win32/Demos/NetValidatePasswordPolicy.py +127 -0
  2155. package/runtime/Lib/site-packages/win32/Demos/OpenEncryptedFileRaw.py +66 -0
  2156. package/runtime/Lib/site-packages/win32/Demos/RegCreateKeyTransacted.py +60 -0
  2157. package/runtime/Lib/site-packages/win32/Demos/RegRestoreKey.py +71 -0
  2158. package/runtime/Lib/site-packages/win32/Demos/SystemParametersInfo.py +210 -0
  2159. package/runtime/Lib/site-packages/win32/Demos/c_extension/setup.py +26 -0
  2160. package/runtime/Lib/site-packages/win32/Demos/dde/ddeclient.py +18 -0
  2161. package/runtime/Lib/site-packages/win32/Demos/dde/ddeserver.py +42 -0
  2162. package/runtime/Lib/site-packages/win32/Demos/desktopmanager.py +246 -0
  2163. package/runtime/Lib/site-packages/win32/Demos/eventLogDemo.py +138 -0
  2164. package/runtime/Lib/site-packages/win32/Demos/getfilever.py +33 -0
  2165. package/runtime/Lib/site-packages/win32/Demos/images/frowny.bmp +0 -0
  2166. package/runtime/Lib/site-packages/win32/Demos/images/smiley.bmp +0 -0
  2167. package/runtime/Lib/site-packages/win32/Demos/mmapfile_demo.py +101 -0
  2168. package/runtime/Lib/site-packages/win32/Demos/pipes/cat.py +17 -0
  2169. package/runtime/Lib/site-packages/win32/Demos/pipes/runproc.py +114 -0
  2170. package/runtime/Lib/site-packages/win32/Demos/print_desktop.py +113 -0
  2171. package/runtime/Lib/site-packages/win32/Demos/rastest.py +166 -0
  2172. package/runtime/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +110 -0
  2173. package/runtime/Lib/site-packages/win32/Demos/security/account_rights.py +49 -0
  2174. package/runtime/Lib/site-packages/win32/Demos/security/explicit_entries.py +170 -0
  2175. package/runtime/Lib/site-packages/win32/Demos/security/get_policy_info.py +39 -0
  2176. package/runtime/Lib/site-packages/win32/Demos/security/list_rights.py +35 -0
  2177. package/runtime/Lib/site-packages/win32/Demos/security/localized_names.py +70 -0
  2178. package/runtime/Lib/site-packages/win32/Demos/security/lsaregevent.py +14 -0
  2179. package/runtime/Lib/site-packages/win32/Demos/security/lsastore.py +12 -0
  2180. package/runtime/Lib/site-packages/win32/Demos/security/query_information.py +25 -0
  2181. package/runtime/Lib/site-packages/win32/Demos/security/regsave_sa.py +61 -0
  2182. package/runtime/Lib/site-packages/win32/Demos/security/regsecurity.py +36 -0
  2183. package/runtime/Lib/site-packages/win32/Demos/security/sa_inherit.py +8 -0
  2184. package/runtime/Lib/site-packages/win32/Demos/security/security_enums.py +336 -0
  2185. package/runtime/Lib/site-packages/win32/Demos/security/set_file_audit.py +106 -0
  2186. package/runtime/Lib/site-packages/win32/Demos/security/set_file_owner.py +73 -0
  2187. package/runtime/Lib/site-packages/win32/Demos/security/set_policy_info.py +25 -0
  2188. package/runtime/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +134 -0
  2189. package/runtime/Lib/site-packages/win32/Demos/security/setnamedsecurityinfo.py +131 -0
  2190. package/runtime/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +131 -0
  2191. package/runtime/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +102 -0
  2192. package/runtime/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +158 -0
  2193. package/runtime/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +72 -0
  2194. package/runtime/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +199 -0
  2195. package/runtime/Lib/site-packages/win32/Demos/security/sspi/validate_password.py +41 -0
  2196. package/runtime/Lib/site-packages/win32/Demos/service/nativePipeTestService.py +63 -0
  2197. package/runtime/Lib/site-packages/win32/Demos/service/pipeTestService.py +185 -0
  2198. package/runtime/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +158 -0
  2199. package/runtime/Lib/site-packages/win32/Demos/service/serviceEvents.py +98 -0
  2200. package/runtime/Lib/site-packages/win32/Demos/timer_demo.py +72 -0
  2201. package/runtime/Lib/site-packages/win32/Demos/win32clipboardDemo.py +155 -0
  2202. package/runtime/Lib/site-packages/win32/Demos/win32clipboard_bitmapdemo.py +117 -0
  2203. package/runtime/Lib/site-packages/win32/Demos/win32comport_demo.py +174 -0
  2204. package/runtime/Lib/site-packages/win32/Demos/win32console_demo.py +132 -0
  2205. package/runtime/Lib/site-packages/win32/Demos/win32cred_demo.py +82 -0
  2206. package/runtime/Lib/site-packages/win32/Demos/win32fileDemo.py +41 -0
  2207. package/runtime/Lib/site-packages/win32/Demos/win32gui_demo.py +177 -0
  2208. package/runtime/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +106 -0
  2209. package/runtime/Lib/site-packages/win32/Demos/win32gui_dialog.py +445 -0
  2210. package/runtime/Lib/site-packages/win32/Demos/win32gui_menu.py +464 -0
  2211. package/runtime/Lib/site-packages/win32/Demos/win32gui_taskbar.py +136 -0
  2212. package/runtime/Lib/site-packages/win32/Demos/win32netdemo.py +272 -0
  2213. package/runtime/Lib/site-packages/win32/Demos/win32rcparser_demo.py +86 -0
  2214. package/runtime/Lib/site-packages/win32/Demos/win32servicedemo.py +23 -0
  2215. package/runtime/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +25 -0
  2216. package/runtime/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +123 -0
  2217. package/runtime/Lib/site-packages/win32/Demos/win32wnet/winnetwk.py +100 -0
  2218. package/runtime/Lib/site-packages/win32/Demos/winprocess.py +230 -0
  2219. package/runtime/Lib/site-packages/win32/_win32sysloader.pyd +0 -0
  2220. package/runtime/Lib/site-packages/win32/_winxptheme.pyd +0 -0
  2221. package/runtime/Lib/site-packages/win32/include/PyWinTypes.h +739 -0
  2222. package/runtime/Lib/site-packages/win32/lib/_win32verstamp_pywin32ctypes.py +164 -0
  2223. package/runtime/Lib/site-packages/win32/lib/afxres.py +9 -0
  2224. package/runtime/Lib/site-packages/win32/lib/commctrl.py +1551 -0
  2225. package/runtime/Lib/site-packages/win32/lib/mmsystem.py +956 -0
  2226. package/runtime/Lib/site-packages/win32/lib/netbios.py +293 -0
  2227. package/runtime/Lib/site-packages/win32/lib/ntsecuritycon.py +731 -0
  2228. package/runtime/Lib/site-packages/win32/lib/pywin32_bootstrap.py +21 -0
  2229. package/runtime/Lib/site-packages/win32/lib/pywin32_testutil.py +291 -0
  2230. package/runtime/Lib/site-packages/win32/lib/pywintypes.py +124 -0
  2231. package/runtime/Lib/site-packages/win32/lib/rasutil.py +40 -0
  2232. package/runtime/Lib/site-packages/win32/lib/regcheck.py +162 -0
  2233. package/runtime/Lib/site-packages/win32/lib/regutil.py +395 -0
  2234. package/runtime/Lib/site-packages/win32/lib/sspi.py +413 -0
  2235. package/runtime/Lib/site-packages/win32/lib/sspicon.py +477 -0
  2236. package/runtime/Lib/site-packages/win32/lib/win2kras.py +14 -0
  2237. package/runtime/Lib/site-packages/win32/lib/win32con.py +5066 -0
  2238. package/runtime/Lib/site-packages/win32/lib/win32cryptcon.py +1922 -0
  2239. package/runtime/Lib/site-packages/win32/lib/win32evtlogutil.py +225 -0
  2240. package/runtime/Lib/site-packages/win32/lib/win32gui_struct.py +961 -0
  2241. package/runtime/Lib/site-packages/win32/lib/win32inetcon.py +1086 -0
  2242. package/runtime/Lib/site-packages/win32/lib/win32netcon.py +627 -0
  2243. package/runtime/Lib/site-packages/win32/lib/win32pdhquery.py +570 -0
  2244. package/runtime/Lib/site-packages/win32/lib/win32pdhutil.py +212 -0
  2245. package/runtime/Lib/site-packages/win32/lib/win32rcparser.py +674 -0
  2246. package/runtime/Lib/site-packages/win32/lib/win32serviceutil.py +1077 -0
  2247. package/runtime/Lib/site-packages/win32/lib/win32timezone.py +1201 -0
  2248. package/runtime/Lib/site-packages/win32/lib/win32traceutil.py +59 -0
  2249. package/runtime/Lib/site-packages/win32/lib/win32verstamp.py +235 -0
  2250. package/runtime/Lib/site-packages/win32/lib/winerror.py +7361 -0
  2251. package/runtime/Lib/site-packages/win32/lib/winioctlcon.py +1079 -0
  2252. package/runtime/Lib/site-packages/win32/lib/winnt.py +1347 -0
  2253. package/runtime/Lib/site-packages/win32/lib/winperf.py +236 -0
  2254. package/runtime/Lib/site-packages/win32/lib/winxptheme.py +8 -0
  2255. package/runtime/Lib/site-packages/win32/libs/pywintypes.lib +0 -0
  2256. package/runtime/Lib/site-packages/win32/license.txt +30 -0
  2257. package/runtime/Lib/site-packages/win32/mmapfile.pyd +0 -0
  2258. package/runtime/Lib/site-packages/win32/odbc.pyd +0 -0
  2259. package/runtime/Lib/site-packages/win32/perfmon.pyd +0 -0
  2260. package/runtime/Lib/site-packages/win32/perfmondata.dll +0 -0
  2261. package/runtime/Lib/site-packages/win32/pythonservice.exe +0 -0
  2262. package/runtime/Lib/site-packages/win32/scripts/ControlService.py +594 -0
  2263. package/runtime/Lib/site-packages/win32/scripts/VersionStamp/BrandProject.py +97 -0
  2264. package/runtime/Lib/site-packages/win32/scripts/VersionStamp/bulkstamp.py +156 -0
  2265. package/runtime/Lib/site-packages/win32/scripts/VersionStamp/vssutil.py +201 -0
  2266. package/runtime/Lib/site-packages/win32/scripts/backupEventLog.py +46 -0
  2267. package/runtime/Lib/site-packages/win32/scripts/h2py.py +194 -0
  2268. package/runtime/Lib/site-packages/win32/scripts/killProcName.py +62 -0
  2269. package/runtime/Lib/site-packages/win32/scripts/pywin32_postinstall.py +733 -0
  2270. package/runtime/Lib/site-packages/win32/scripts/pywin32_testall.py +120 -0
  2271. package/runtime/Lib/site-packages/win32/scripts/rasutil.py +98 -0
  2272. package/runtime/Lib/site-packages/win32/scripts/regsetup.py +607 -0
  2273. package/runtime/Lib/site-packages/win32/scripts/setup_d.py +111 -0
  2274. package/runtime/Lib/site-packages/win32/servicemanager.pyd +0 -0
  2275. package/runtime/Lib/site-packages/win32/test/handles.py +175 -0
  2276. package/runtime/Lib/site-packages/win32/test/test_clipboard.py +137 -0
  2277. package/runtime/Lib/site-packages/win32/test/test_exceptions.py +213 -0
  2278. package/runtime/Lib/site-packages/win32/test/test_odbc.py +264 -0
  2279. package/runtime/Lib/site-packages/win32/test/test_pywintypes.py +111 -0
  2280. package/runtime/Lib/site-packages/win32/test/test_security.py +166 -0
  2281. package/runtime/Lib/site-packages/win32/test/test_sspi.py +229 -0
  2282. package/runtime/Lib/site-packages/win32/test/test_win32api.py +273 -0
  2283. package/runtime/Lib/site-packages/win32/test/test_win32clipboard.py +59 -0
  2284. package/runtime/Lib/site-packages/win32/test/test_win32cred.py +91 -0
  2285. package/runtime/Lib/site-packages/win32/test/test_win32crypt.py +144 -0
  2286. package/runtime/Lib/site-packages/win32/test/test_win32event.py +119 -0
  2287. package/runtime/Lib/site-packages/win32/test/test_win32file.py +1097 -0
  2288. package/runtime/Lib/site-packages/win32/test/test_win32gui.py +188 -0
  2289. package/runtime/Lib/site-packages/win32/test/test_win32guistruct.py +333 -0
  2290. package/runtime/Lib/site-packages/win32/test/test_win32inet.py +108 -0
  2291. package/runtime/Lib/site-packages/win32/test/test_win32net.py +23 -0
  2292. package/runtime/Lib/site-packages/win32/test/test_win32pipe.py +148 -0
  2293. package/runtime/Lib/site-packages/win32/test/test_win32print.py +24 -0
  2294. package/runtime/Lib/site-packages/win32/test/test_win32profile.py +19 -0
  2295. package/runtime/Lib/site-packages/win32/test/test_win32rcparser.py +70 -0
  2296. package/runtime/Lib/site-packages/win32/test/test_win32timezone.py +16 -0
  2297. package/runtime/Lib/site-packages/win32/test/test_win32trace.py +366 -0
  2298. package/runtime/Lib/site-packages/win32/test/test_win32ts.py +19 -0
  2299. package/runtime/Lib/site-packages/win32/test/test_win32wnet.py +174 -0
  2300. package/runtime/Lib/site-packages/win32/test/testall.py +223 -0
  2301. package/runtime/Lib/site-packages/win32/test/win32rcparser/python.bmp +0 -0
  2302. package/runtime/Lib/site-packages/win32/test/win32rcparser/python.ico +0 -0
  2303. package/runtime/Lib/site-packages/win32/test/win32rcparser/test.h +46 -0
  2304. package/runtime/Lib/site-packages/win32/test/win32rcparser/test.rc +215 -0
  2305. package/runtime/Lib/site-packages/win32/timer.pyd +0 -0
  2306. package/runtime/Lib/site-packages/win32/win32api.pyd +0 -0
  2307. package/runtime/Lib/site-packages/win32/win32clipboard.pyd +0 -0
  2308. package/runtime/Lib/site-packages/win32/win32console.pyd +0 -0
  2309. package/runtime/Lib/site-packages/win32/win32cred.pyd +0 -0
  2310. package/runtime/Lib/site-packages/win32/win32crypt.pyd +0 -0
  2311. package/runtime/Lib/site-packages/win32/win32event.pyd +0 -0
  2312. package/runtime/Lib/site-packages/win32/win32evtlog.pyd +0 -0
  2313. package/runtime/Lib/site-packages/win32/win32file.pyd +0 -0
  2314. package/runtime/Lib/site-packages/win32/win32gui.pyd +0 -0
  2315. package/runtime/Lib/site-packages/win32/win32help.pyd +0 -0
  2316. package/runtime/Lib/site-packages/win32/win32inet.pyd +0 -0
  2317. package/runtime/Lib/site-packages/win32/win32job.pyd +0 -0
  2318. package/runtime/Lib/site-packages/win32/win32lz.pyd +0 -0
  2319. package/runtime/Lib/site-packages/win32/win32net.pyd +0 -0
  2320. package/runtime/Lib/site-packages/win32/win32pdh.pyd +0 -0
  2321. package/runtime/Lib/site-packages/win32/win32pipe.pyd +0 -0
  2322. package/runtime/Lib/site-packages/win32/win32print.pyd +0 -0
  2323. package/runtime/Lib/site-packages/win32/win32process.pyd +0 -0
  2324. package/runtime/Lib/site-packages/win32/win32profile.pyd +0 -0
  2325. package/runtime/Lib/site-packages/win32/win32ras.pyd +0 -0
  2326. package/runtime/Lib/site-packages/win32/win32security.pyd +0 -0
  2327. package/runtime/Lib/site-packages/win32/win32service.pyd +0 -0
  2328. package/runtime/Lib/site-packages/win32/win32trace.pyd +0 -0
  2329. package/runtime/Lib/site-packages/win32/win32transaction.pyd +0 -0
  2330. package/runtime/Lib/site-packages/win32/win32ts.pyd +0 -0
  2331. package/runtime/Lib/site-packages/win32/win32wnet.pyd +0 -0
  2332. package/runtime/Lib/site-packages/win32/winxpgui.py +13 -0
  2333. package/runtime/Lib/site-packages/win32com/HTML/COM_Records.html +382 -0
  2334. package/runtime/Lib/site-packages/win32com/HTML/GeneratedSupport.html +104 -0
  2335. package/runtime/Lib/site-packages/win32com/HTML/PythonCOM.html +90 -0
  2336. package/runtime/Lib/site-packages/win32com/HTML/QuickStartClientCom.html +82 -0
  2337. package/runtime/Lib/site-packages/win32com/HTML/QuickStartServerCom.html +195 -0
  2338. package/runtime/Lib/site-packages/win32com/HTML/docindex.html +23 -0
  2339. package/runtime/Lib/site-packages/win32com/HTML/image/BTN_HomePage.gif +0 -0
  2340. package/runtime/Lib/site-packages/win32com/HTML/image/BTN_ManualTop.gif +0 -0
  2341. package/runtime/Lib/site-packages/win32com/HTML/image/BTN_NextPage.gif +0 -0
  2342. package/runtime/Lib/site-packages/win32com/HTML/image/BTN_PrevPage.gif +0 -0
  2343. package/runtime/Lib/site-packages/win32com/HTML/image/blank.gif +0 -0
  2344. package/runtime/Lib/site-packages/win32com/HTML/image/pycom_blowing.gif +0 -0
  2345. package/runtime/Lib/site-packages/win32com/HTML/image/pythoncom.gif +0 -0
  2346. package/runtime/Lib/site-packages/win32com/HTML/image/www_icon.gif +0 -0
  2347. package/runtime/Lib/site-packages/win32com/HTML/index.html +31 -0
  2348. package/runtime/Lib/site-packages/win32com/HTML/misc.html +18 -0
  2349. package/runtime/Lib/site-packages/win32com/HTML/package.html +37 -0
  2350. package/runtime/Lib/site-packages/win32com/HTML/variant.html +162 -0
  2351. package/runtime/Lib/site-packages/win32com/License.txt +30 -0
  2352. package/runtime/Lib/site-packages/win32com/__init__.py +134 -0
  2353. package/runtime/Lib/site-packages/win32com/client/CLSIDToClass.py +60 -0
  2354. package/runtime/Lib/site-packages/win32com/client/__init__.py +703 -0
  2355. package/runtime/Lib/site-packages/win32com/client/build.py +774 -0
  2356. package/runtime/Lib/site-packages/win32com/client/combrowse.py +605 -0
  2357. package/runtime/Lib/site-packages/win32com/client/connect.py +48 -0
  2358. package/runtime/Lib/site-packages/win32com/client/dynamic.py +699 -0
  2359. package/runtime/Lib/site-packages/win32com/client/gencache.py +825 -0
  2360. package/runtime/Lib/site-packages/win32com/client/genpy.py +1352 -0
  2361. package/runtime/Lib/site-packages/win32com/client/makepy.py +453 -0
  2362. package/runtime/Lib/site-packages/win32com/client/selecttlb.py +182 -0
  2363. package/runtime/Lib/site-packages/win32com/client/tlbrowse.py +277 -0
  2364. package/runtime/Lib/site-packages/win32com/client/util.py +103 -0
  2365. package/runtime/Lib/site-packages/win32com/demos/__init__.py +0 -0
  2366. package/runtime/Lib/site-packages/win32com/demos/connect.py +97 -0
  2367. package/runtime/Lib/site-packages/win32com/demos/dump_clipboard.py +74 -0
  2368. package/runtime/Lib/site-packages/win32com/demos/eventsApartmentThreaded.py +98 -0
  2369. package/runtime/Lib/site-packages/win32com/demos/eventsFreeThreaded.py +92 -0
  2370. package/runtime/Lib/site-packages/win32com/demos/excelAddin.py +169 -0
  2371. package/runtime/Lib/site-packages/win32com/demos/excelRTDServer.py +434 -0
  2372. package/runtime/Lib/site-packages/win32com/demos/iebutton.py +214 -0
  2373. package/runtime/Lib/site-packages/win32com/demos/ietoolbar.py +368 -0
  2374. package/runtime/Lib/site-packages/win32com/demos/outlookAddin.py +135 -0
  2375. package/runtime/Lib/site-packages/win32com/demos/trybag.py +78 -0
  2376. package/runtime/Lib/site-packages/win32com/include/PythonCOM.h +746 -0
  2377. package/runtime/Lib/site-packages/win32com/include/PythonCOMRegister.h +56 -0
  2378. package/runtime/Lib/site-packages/win32com/include/PythonCOMServer.h +167 -0
  2379. package/runtime/Lib/site-packages/win32com/libs/axscript.lib +0 -0
  2380. package/runtime/Lib/site-packages/win32com/libs/pythoncom.lib +0 -0
  2381. package/runtime/Lib/site-packages/win32com/makegw/__init__.py +1 -0
  2382. package/runtime/Lib/site-packages/win32com/makegw/makegw.py +618 -0
  2383. package/runtime/Lib/site-packages/win32com/makegw/makegwenum.py +331 -0
  2384. package/runtime/Lib/site-packages/win32com/makegw/makegwparse.py +1017 -0
  2385. package/runtime/Lib/site-packages/win32com/olectl.py +70 -0
  2386. package/runtime/Lib/site-packages/win32com/readme.html +87 -0
  2387. package/runtime/Lib/site-packages/win32com/server/__init__.py +1 -0
  2388. package/runtime/Lib/site-packages/win32com/server/connect.py +85 -0
  2389. package/runtime/Lib/site-packages/win32com/server/dispatcher.py +239 -0
  2390. package/runtime/Lib/site-packages/win32com/server/exception.py +99 -0
  2391. package/runtime/Lib/site-packages/win32com/server/factory.py +26 -0
  2392. package/runtime/Lib/site-packages/win32com/server/localserver.py +53 -0
  2393. package/runtime/Lib/site-packages/win32com/server/policy.py +803 -0
  2394. package/runtime/Lib/site-packages/win32com/server/register.py +677 -0
  2395. package/runtime/Lib/site-packages/win32com/server/util.py +229 -0
  2396. package/runtime/Lib/site-packages/win32com/servers/PythonTools.py +47 -0
  2397. package/runtime/Lib/site-packages/win32com/servers/__init__.py +0 -0
  2398. package/runtime/Lib/site-packages/win32com/servers/dictionary.py +133 -0
  2399. package/runtime/Lib/site-packages/win32com/servers/interp.py +59 -0
  2400. package/runtime/Lib/site-packages/win32com/servers/perfmon.py +36 -0
  2401. package/runtime/Lib/site-packages/win32com/servers/test_pycomtest.py +181 -0
  2402. package/runtime/Lib/site-packages/win32com/storagecon.py +142 -0
  2403. package/runtime/Lib/site-packages/win32com/test/GenTestScripts.py +95 -0
  2404. package/runtime/Lib/site-packages/win32com/test/Testpys.sct +63 -0
  2405. package/runtime/Lib/site-packages/win32com/test/__init__.py +1 -0
  2406. package/runtime/Lib/site-packages/win32com/test/daodump.py +88 -0
  2407. package/runtime/Lib/site-packages/win32com/test/errorSemantics.py +243 -0
  2408. package/runtime/Lib/site-packages/win32com/test/pippo.idl +66 -0
  2409. package/runtime/Lib/site-packages/win32com/test/pippo_server.py +96 -0
  2410. package/runtime/Lib/site-packages/win32com/test/policySemantics.py +115 -0
  2411. package/runtime/Lib/site-packages/win32com/test/readme.txt +19 -0
  2412. package/runtime/Lib/site-packages/win32com/test/testADOEvents.py +100 -0
  2413. package/runtime/Lib/site-packages/win32com/test/testAXScript.py +44 -0
  2414. package/runtime/Lib/site-packages/win32com/test/testAccess.py +185 -0
  2415. package/runtime/Lib/site-packages/win32com/test/testArrays.py +99 -0
  2416. package/runtime/Lib/site-packages/win32com/test/testClipboard.py +169 -0
  2417. package/runtime/Lib/site-packages/win32com/test/testCollections.py +159 -0
  2418. package/runtime/Lib/site-packages/win32com/test/testConversionErrors.py +35 -0
  2419. package/runtime/Lib/site-packages/win32com/test/testDCOM.py +50 -0
  2420. package/runtime/Lib/site-packages/win32com/test/testDates.py +74 -0
  2421. package/runtime/Lib/site-packages/win32com/test/testDictionary.py +101 -0
  2422. package/runtime/Lib/site-packages/win32com/test/testDictionary.vbs +24 -0
  2423. package/runtime/Lib/site-packages/win32com/test/testDynamic.py +84 -0
  2424. package/runtime/Lib/site-packages/win32com/test/testExchange.py +121 -0
  2425. package/runtime/Lib/site-packages/win32com/test/testExplorer.py +139 -0
  2426. package/runtime/Lib/site-packages/win32com/test/testGIT.py +142 -0
  2427. package/runtime/Lib/site-packages/win32com/test/testGatewayAddresses.py +149 -0
  2428. package/runtime/Lib/site-packages/win32com/test/testInterp.vbs +11 -0
  2429. package/runtime/Lib/site-packages/win32com/test/testIterators.py +140 -0
  2430. package/runtime/Lib/site-packages/win32com/test/testMSOffice.py +184 -0
  2431. package/runtime/Lib/site-packages/win32com/test/testMSOfficeEvents.py +138 -0
  2432. package/runtime/Lib/site-packages/win32com/test/testMarshal.py +164 -0
  2433. package/runtime/Lib/site-packages/win32com/test/testPersist.py +227 -0
  2434. package/runtime/Lib/site-packages/win32com/test/testPippo.py +80 -0
  2435. package/runtime/Lib/site-packages/win32com/test/testPyComTest.py +963 -0
  2436. package/runtime/Lib/site-packages/win32com/test/testPyScriptlet.js +33 -0
  2437. package/runtime/Lib/site-packages/win32com/test/testROT.py +29 -0
  2438. package/runtime/Lib/site-packages/win32com/test/testServers.py +51 -0
  2439. package/runtime/Lib/site-packages/win32com/test/testShell.py +272 -0
  2440. package/runtime/Lib/site-packages/win32com/test/testStorage.py +88 -0
  2441. package/runtime/Lib/site-packages/win32com/test/testStreams.py +147 -0
  2442. package/runtime/Lib/site-packages/win32com/test/testWMI.py +18 -0
  2443. package/runtime/Lib/site-packages/win32com/test/testall.py +321 -0
  2444. package/runtime/Lib/site-packages/win32com/test/testmakepy.py +54 -0
  2445. package/runtime/Lib/site-packages/win32com/test/testvb.py +578 -0
  2446. package/runtime/Lib/site-packages/win32com/test/testvbscript_regexp.py +40 -0
  2447. package/runtime/Lib/site-packages/win32com/test/testxslt.js +12 -0
  2448. package/runtime/Lib/site-packages/win32com/test/testxslt.py +34 -0
  2449. package/runtime/Lib/site-packages/win32com/test/testxslt.xsl +54 -0
  2450. package/runtime/Lib/site-packages/win32com/test/util.py +262 -0
  2451. package/runtime/Lib/site-packages/win32com/universal.py +224 -0
  2452. package/runtime/Lib/site-packages/win32com/util.py +35 -0
  2453. package/runtime/Lib/site-packages/win32comext/adsi/__init__.py +113 -0
  2454. package/runtime/Lib/site-packages/win32comext/adsi/adsi.pyd +0 -0
  2455. package/runtime/Lib/site-packages/win32comext/adsi/adsicon.py +340 -0
  2456. package/runtime/Lib/site-packages/win32comext/adsi/demos/objectPicker.py +68 -0
  2457. package/runtime/Lib/site-packages/win32comext/adsi/demos/scp.py +565 -0
  2458. package/runtime/Lib/site-packages/win32comext/adsi/demos/search.py +151 -0
  2459. package/runtime/Lib/site-packages/win32comext/adsi/demos/test.py +274 -0
  2460. package/runtime/Lib/site-packages/win32comext/authorization/__init__.py +6 -0
  2461. package/runtime/Lib/site-packages/win32comext/authorization/authorization.pyd +0 -0
  2462. package/runtime/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +229 -0
  2463. package/runtime/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +219 -0
  2464. package/runtime/Lib/site-packages/win32comext/axcontrol/__init__.py +4 -0
  2465. package/runtime/Lib/site-packages/win32comext/axcontrol/axcontrol.pyd +0 -0
  2466. package/runtime/Lib/site-packages/win32comext/axdebug/__init__.py +4 -0
  2467. package/runtime/Lib/site-packages/win32comext/axdebug/adb.py +467 -0
  2468. package/runtime/Lib/site-packages/win32comext/axdebug/codecontainer.py +279 -0
  2469. package/runtime/Lib/site-packages/win32comext/axdebug/contexts.py +58 -0
  2470. package/runtime/Lib/site-packages/win32comext/axdebug/debugger.py +238 -0
  2471. package/runtime/Lib/site-packages/win32comext/axdebug/documents.py +135 -0
  2472. package/runtime/Lib/site-packages/win32comext/axdebug/dump.py +57 -0
  2473. package/runtime/Lib/site-packages/win32comext/axdebug/expressions.py +212 -0
  2474. package/runtime/Lib/site-packages/win32comext/axdebug/gateways.py +583 -0
  2475. package/runtime/Lib/site-packages/win32comext/axdebug/stackframe.py +178 -0
  2476. package/runtime/Lib/site-packages/win32comext/axdebug/util.py +98 -0
  2477. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/CreateObject.asp +18 -0
  2478. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/caps.asp +52 -0
  2479. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/interrupt/test.asp +4 -0
  2480. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/interrupt/test.html +10 -0
  2481. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/interrupt/test1.asp +6 -0
  2482. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/interrupt/test1.html +10 -0
  2483. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/tut1.asp +10 -0
  2484. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/CHARTPY.HTM +179 -0
  2485. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/FOO.HTM +46 -0
  2486. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/MarqueeText1.htm +24 -0
  2487. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/calc.htm +115 -0
  2488. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/dbgtest.htm +16 -0
  2489. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/demo.htm +25 -0
  2490. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/demo_check.htm +39 -0
  2491. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/demo_intro.htm +37 -0
  2492. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/demo_menu.htm +14 -0
  2493. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/docwrite.htm +25 -0
  2494. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/foo2.htm +105 -0
  2495. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/form.htm +25 -0
  2496. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/marqueeDemo.htm +59 -0
  2497. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/mousetrack.htm +82 -0
  2498. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/pycom_blowing.gif +0 -0
  2499. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/wsh/blank.pys +0 -0
  2500. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/wsh/excel.pys +31 -0
  2501. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/wsh/registry.pys +44 -0
  2502. package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/wsh/test.pys +14 -0
  2503. package/runtime/Lib/site-packages/win32comext/axscript/__init__.py +4 -0
  2504. package/runtime/Lib/site-packages/win32comext/axscript/asputil.py +13 -0
  2505. package/runtime/Lib/site-packages/win32comext/axscript/axscript.pyd +0 -0
  2506. package/runtime/Lib/site-packages/win32comext/axscript/client/__init__.py +1 -0
  2507. package/runtime/Lib/site-packages/win32comext/axscript/client/debug.py +223 -0
  2508. package/runtime/Lib/site-packages/win32comext/axscript/client/error.py +260 -0
  2509. package/runtime/Lib/site-packages/win32comext/axscript/client/framework.py +1291 -0
  2510. package/runtime/Lib/site-packages/win32comext/axscript/client/pydumper.py +78 -0
  2511. package/runtime/Lib/site-packages/win32comext/axscript/client/pyscript.py +438 -0
  2512. package/runtime/Lib/site-packages/win32comext/axscript/client/pyscript_rexec.py +54 -0
  2513. package/runtime/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +103 -0
  2514. package/runtime/Lib/site-packages/win32comext/axscript/server/__init__.py +0 -0
  2515. package/runtime/Lib/site-packages/win32comext/axscript/server/axsite.py +145 -0
  2516. package/runtime/Lib/site-packages/win32comext/axscript/test/debugTest.pys +16 -0
  2517. package/runtime/Lib/site-packages/win32comext/axscript/test/debugTest.vbs +7 -0
  2518. package/runtime/Lib/site-packages/win32comext/axscript/test/leakTest.py +186 -0
  2519. package/runtime/Lib/site-packages/win32comext/axscript/test/testHost.py +241 -0
  2520. package/runtime/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +83 -0
  2521. package/runtime/Lib/site-packages/win32comext/bits/__init__.py +6 -0
  2522. package/runtime/Lib/site-packages/win32comext/bits/bits.pyd +0 -0
  2523. package/runtime/Lib/site-packages/win32comext/bits/test/show_all_jobs.py +48 -0
  2524. package/runtime/Lib/site-packages/win32comext/bits/test/test_bits.py +119 -0
  2525. package/runtime/Lib/site-packages/win32comext/directsound/__init__.py +4 -0
  2526. package/runtime/Lib/site-packages/win32comext/directsound/directsound.pyd +0 -0
  2527. package/runtime/Lib/site-packages/win32comext/directsound/test/__init__.py +1 -0
  2528. package/runtime/Lib/site-packages/win32comext/directsound/test/ds_record.py +60 -0
  2529. package/runtime/Lib/site-packages/win32comext/directsound/test/ds_test.py +402 -0
  2530. package/runtime/Lib/site-packages/win32comext/ifilter/__init__.py +1 -0
  2531. package/runtime/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +300 -0
  2532. package/runtime/Lib/site-packages/win32comext/ifilter/ifilter.pyd +0 -0
  2533. package/runtime/Lib/site-packages/win32comext/ifilter/ifiltercon.py +110 -0
  2534. package/runtime/Lib/site-packages/win32comext/internet/__init__.py +4 -0
  2535. package/runtime/Lib/site-packages/win32comext/internet/inetcon.py +261 -0
  2536. package/runtime/Lib/site-packages/win32comext/internet/internet.pyd +0 -0
  2537. package/runtime/Lib/site-packages/win32comext/propsys/__init__.py +1 -0
  2538. package/runtime/Lib/site-packages/win32comext/propsys/propsys.pyd +0 -0
  2539. package/runtime/Lib/site-packages/win32comext/propsys/pscon.py +839 -0
  2540. package/runtime/Lib/site-packages/win32comext/propsys/test/testpropsys.py +5 -0
  2541. package/runtime/Lib/site-packages/win32comext/shell/__init__.py +4 -0
  2542. package/runtime/Lib/site-packages/win32comext/shell/demos/IActiveDesktop.py +83 -0
  2543. package/runtime/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +179 -0
  2544. package/runtime/Lib/site-packages/win32comext/shell/demos/IShellLinkDataList.py +67 -0
  2545. package/runtime/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +93 -0
  2546. package/runtime/Lib/site-packages/win32comext/shell/demos/IUniformResourceLocator.py +56 -0
  2547. package/runtime/Lib/site-packages/win32comext/shell/demos/browse_for_folder.py +45 -0
  2548. package/runtime/Lib/site-packages/win32comext/shell/demos/create_link.py +73 -0
  2549. package/runtime/Lib/site-packages/win32comext/shell/demos/dump_link.py +58 -0
  2550. package/runtime/Lib/site-packages/win32comext/shell/demos/explorer_browser.py +143 -0
  2551. package/runtime/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +125 -0
  2552. package/runtime/Lib/site-packages/win32comext/shell/demos/servers/context_menu.py +122 -0
  2553. package/runtime/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +84 -0
  2554. package/runtime/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +188 -0
  2555. package/runtime/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +866 -0
  2556. package/runtime/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +81 -0
  2557. package/runtime/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +971 -0
  2558. package/runtime/Lib/site-packages/win32comext/shell/demos/shellexecuteex.py +19 -0
  2559. package/runtime/Lib/site-packages/win32comext/shell/demos/viewstate.py +68 -0
  2560. package/runtime/Lib/site-packages/win32comext/shell/demos/walk_shell_folders.py +24 -0
  2561. package/runtime/Lib/site-packages/win32comext/shell/shell.pyd +0 -0
  2562. package/runtime/Lib/site-packages/win32comext/shell/shellcon.py +1615 -0
  2563. package/runtime/Lib/site-packages/win32comext/shell/test/testSHFileOperation.py +75 -0
  2564. package/runtime/Lib/site-packages/win32comext/shell/test/testShellFolder.py +21 -0
  2565. package/runtime/Lib/site-packages/win32comext/shell/test/testShellItem.py +69 -0
  2566. package/runtime/Lib/site-packages/win32comext/taskscheduler/__init__.py +6 -0
  2567. package/runtime/Lib/site-packages/win32comext/taskscheduler/taskscheduler.pyd +0 -0
  2568. package/runtime/Lib/site-packages/win32comext/taskscheduler/test/test_addtask.py +66 -0
  2569. package/runtime/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_1.py +68 -0
  2570. package/runtime/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +49 -0
  2571. package/runtime/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py +3 -0
  2572. package/runtime/Lib/site-packages/yaml/__init__.py +390 -0
  2573. package/runtime/Lib/site-packages/yaml/_yaml.cp313-win_amd64.pyd +0 -0
  2574. package/runtime/Lib/site-packages/yaml/composer.py +139 -0
  2575. package/runtime/Lib/site-packages/yaml/constructor.py +748 -0
  2576. package/runtime/Lib/site-packages/yaml/cyaml.py +101 -0
  2577. package/runtime/Lib/site-packages/yaml/dumper.py +62 -0
  2578. package/runtime/Lib/site-packages/yaml/emitter.py +1137 -0
  2579. package/runtime/Lib/site-packages/yaml/error.py +75 -0
  2580. package/runtime/Lib/site-packages/yaml/events.py +86 -0
  2581. package/runtime/Lib/site-packages/yaml/loader.py +63 -0
  2582. package/runtime/Lib/site-packages/yaml/nodes.py +49 -0
  2583. package/runtime/Lib/site-packages/yaml/parser.py +589 -0
  2584. package/runtime/Lib/site-packages/yaml/reader.py +185 -0
  2585. package/runtime/Lib/site-packages/yaml/representer.py +389 -0
  2586. package/runtime/Lib/site-packages/yaml/resolver.py +227 -0
  2587. package/runtime/Lib/site-packages/yaml/scanner.py +1435 -0
  2588. package/runtime/Lib/site-packages/yaml/serializer.py +111 -0
  2589. package/runtime/Lib/site-packages/yaml/tokens.py +104 -0
  2590. package/runtime/Lib/site-packages/z3/__init__.py +12 -0
  2591. package/runtime/Lib/site-packages/z3/include/z3++.h +4528 -0
  2592. package/runtime/Lib/site-packages/z3/include/z3.h +35 -0
  2593. package/runtime/Lib/site-packages/z3/include/z3_algebraic.h +249 -0
  2594. package/runtime/Lib/site-packages/z3/include/z3_api.h +7463 -0
  2595. package/runtime/Lib/site-packages/z3/include/z3_ast_containers.h +198 -0
  2596. package/runtime/Lib/site-packages/z3/include/z3_fixedpoint.h +382 -0
  2597. package/runtime/Lib/site-packages/z3/include/z3_fpa.h +1346 -0
  2598. package/runtime/Lib/site-packages/z3/include/z3_macros.h +22 -0
  2599. package/runtime/Lib/site-packages/z3/include/z3_optimization.h +377 -0
  2600. package/runtime/Lib/site-packages/z3/include/z3_polynomial.h +52 -0
  2601. package/runtime/Lib/site-packages/z3/include/z3_rcf.h +321 -0
  2602. package/runtime/Lib/site-packages/z3/include/z3_spacer.h +141 -0
  2603. package/runtime/Lib/site-packages/z3/include/z3_v1.h +62 -0
  2604. package/runtime/Lib/site-packages/z3/include/z3_version.h +7 -0
  2605. package/runtime/Lib/site-packages/z3/lib/libz3.dll +0 -0
  2606. package/runtime/Lib/site-packages/z3/z3.py +11780 -0
  2607. package/runtime/Lib/site-packages/z3/z3consts.py +359 -0
  2608. package/runtime/Lib/site-packages/z3/z3core.py +5499 -0
  2609. package/runtime/Lib/site-packages/z3/z3num.py +579 -0
  2610. package/runtime/Lib/site-packages/z3/z3poly.py +37 -0
  2611. package/runtime/Lib/site-packages/z3/z3printer.py +1532 -0
  2612. package/runtime/Lib/site-packages/z3/z3rcf.py +168 -0
  2613. package/runtime/Lib/site-packages/z3/z3types.py +254 -0
  2614. package/runtime/Lib/site-packages/z3/z3util.py +502 -0
  2615. package/runtime/Lib/site-packages/z3_solver-4.13.0.0.dist-info/METADATA +17 -0
  2616. package/runtime/Lib/site-packages/z3_solver-4.13.0.0.dist-info/RECORD +30 -0
  2617. package/runtime/Lib/site-packages/z3_solver-4.13.0.0.dist-info/WHEEL +6 -0
  2618. package/runtime/Lib/site-packages/z3_solver-4.13.0.0.dist-info/top_level.txt +1 -0
  2619. package/runtime/Scripts/pywin32_postinstall.py +733 -0
  2620. package/runtime/Scripts/pywin32_testall.py +120 -0
  2621. package/runtime/_asyncio.pyd +0 -0
  2622. package/runtime/_bz2.pyd +0 -0
  2623. package/runtime/_ctypes.pyd +0 -0
  2624. package/runtime/_decimal.pyd +0 -0
  2625. package/runtime/_elementtree.pyd +0 -0
  2626. package/runtime/_hashlib.pyd +0 -0
  2627. package/runtime/_lzma.pyd +0 -0
  2628. package/runtime/_multiprocessing.pyd +0 -0
  2629. package/runtime/_overlapped.pyd +0 -0
  2630. package/runtime/_queue.pyd +0 -0
  2631. package/runtime/_socket.pyd +0 -0
  2632. package/runtime/_sqlite3.pyd +0 -0
  2633. package/runtime/_ssl.pyd +0 -0
  2634. package/runtime/_uuid.pyd +0 -0
  2635. package/runtime/_wmi.pyd +0 -0
  2636. package/runtime/_zoneinfo.pyd +0 -0
  2637. package/runtime/bin/z3.exe +0 -0
  2638. package/runtime/libcrypto-3.dll +0 -0
  2639. package/runtime/libffi-8.dll +0 -0
  2640. package/runtime/libssl-3.dll +0 -0
  2641. package/runtime/pyexpat.pyd +0 -0
  2642. package/runtime/python.cat +0 -0
  2643. package/runtime/python.exe +0 -0
  2644. package/runtime/python3.dll +0 -0
  2645. package/runtime/python313._pth +7 -0
  2646. package/runtime/python313.dll +0 -0
  2647. package/runtime/python313.zip +0 -0
  2648. package/runtime/pythonw.exe +0 -0
  2649. package/runtime/select.pyd +0 -0
  2650. package/runtime/sqlite3.dll +0 -0
  2651. package/runtime/unicodedata.pyd +0 -0
  2652. package/runtime/vcruntime140.dll +0 -0
  2653. package/runtime/vcruntime140_1.dll +0 -0
  2654. package/runtime/winsound.pyd +0 -0
  2655. package/runtime-manifest.json +10547 -0
  2656. package/vendor/jsonc-parser/LICENSE.md +21 -0
  2657. package/vendor/jsonc-parser/lib/umd/impl/edit.js +201 -0
  2658. package/vendor/jsonc-parser/lib/umd/impl/format.js +275 -0
  2659. package/vendor/jsonc-parser/lib/umd/impl/parser.js +682 -0
  2660. package/vendor/jsonc-parser/lib/umd/impl/scanner.js +456 -0
  2661. package/vendor/jsonc-parser/lib/umd/impl/string-intern.js +42 -0
  2662. package/vendor/jsonc-parser/lib/umd/main.d.ts +351 -0
  2663. package/vendor/jsonc-parser/lib/umd/main.js +194 -0
  2664. package/vendor/jsonc-parser/package.json +37 -0
@@ -0,0 +1,2984 @@
1
+ """Convert python types to pydantic-core schema."""
2
+
3
+ from __future__ import annotations as _annotations
4
+
5
+ import collections.abc
6
+ import dataclasses
7
+ import datetime
8
+ import inspect
9
+ import os
10
+ import pathlib
11
+ import re
12
+ import sys
13
+ import typing
14
+ import warnings
15
+ from collections.abc import Callable, Generator, Iterable, Iterator, Mapping
16
+ from contextlib import contextmanager
17
+ from copy import copy
18
+ from decimal import Decimal
19
+ from enum import Enum
20
+ from fractions import Fraction
21
+ from functools import partial
22
+ from inspect import Parameter, _ParameterKind
23
+ from ipaddress import IPv4Address, IPv4Interface, IPv4Network, IPv6Address, IPv6Interface, IPv6Network
24
+ from itertools import chain
25
+ from operator import attrgetter
26
+ from types import EllipsisType, FunctionType, GenericAlias, LambdaType, MethodType, NoneType
27
+ from typing import (
28
+ TYPE_CHECKING,
29
+ Any,
30
+ ClassVar,
31
+ ForwardRef,
32
+ Literal,
33
+ TypeAlias,
34
+ TypeVar,
35
+ cast,
36
+ overload,
37
+ )
38
+ from uuid import UUID
39
+ from zoneinfo import ZoneInfo
40
+
41
+ import typing_extensions
42
+ from pydantic_core import (
43
+ MISSING,
44
+ CoreSchema,
45
+ MultiHostUrl,
46
+ PydanticCustomError,
47
+ PydanticSerializationUnexpectedValue,
48
+ PydanticUndefined,
49
+ Url,
50
+ core_schema,
51
+ to_jsonable_python,
52
+ )
53
+ from typing_extensions import ( # noqa: UP035 (for `get_args` and `get_origin`)
54
+ TypeAliasType,
55
+ get_args,
56
+ get_origin,
57
+ is_typeddict,
58
+ )
59
+ from typing_inspection import typing_objects
60
+ from typing_inspection.introspection import AnnotationSource, get_literal_values, is_union_origin
61
+
62
+ from ..aliases import AliasChoices, AliasPath
63
+ from ..annotated_handlers import GetCoreSchemaHandler, GetJsonSchemaHandler
64
+ from ..config import ConfigDict, JsonDict, JsonEncoder, JsonSchemaExtraCallable
65
+ from ..errors import (
66
+ PydanticForbiddenQualifier,
67
+ PydanticInvalidForJsonSchema,
68
+ PydanticSchemaGenerationError,
69
+ PydanticUndefinedAnnotation,
70
+ PydanticUserError,
71
+ )
72
+ from ..functional_validators import AfterValidator, BeforeValidator, FieldValidatorModes, PlainValidator, WrapValidator
73
+ from ..json_schema import JsonSchemaValue
74
+ from ..version import version_short
75
+ from ..warnings import (
76
+ ArbitraryTypeWarning,
77
+ PydanticDeprecatedSince20,
78
+ TypedDictExtraConfigWarning,
79
+ UnsupportedFieldAttributeWarning,
80
+ )
81
+ from . import _decorators, _discriminated_union, _known_annotated_metadata, _repr, _type_refs, _typing_extra
82
+ from ._config import ConfigWrapper, ConfigWrapperStack
83
+ from ._core_metadata import CoreMetadata, update_core_metadata
84
+ from ._core_utils import (
85
+ get_ref,
86
+ is_list_like_schema_with_items_schema,
87
+ )
88
+ from ._decorators import (
89
+ Decorator,
90
+ DecoratorInfos,
91
+ FieldSerializerDecoratorInfo,
92
+ FieldValidatorDecoratorInfo,
93
+ ModelSerializerDecoratorInfo,
94
+ ModelValidatorDecoratorInfo,
95
+ RootValidatorDecoratorInfo,
96
+ ValidatorDecoratorInfo,
97
+ get_attribute_from_bases,
98
+ inspect_field_serializer,
99
+ inspect_model_serializer,
100
+ inspect_validator,
101
+ mro,
102
+ )
103
+ from ._docs_extraction import extract_docstrings_from_cls
104
+ from ._fields import (
105
+ collect_dataclass_fields,
106
+ rebuild_dataclass_fields,
107
+ rebuild_model_fields,
108
+ takes_validated_data_argument,
109
+ update_field_from_config,
110
+ )
111
+ from ._forward_ref import PydanticRecursiveRef
112
+ from ._generics import get_model_typevars_map, get_standard_typevars_map, replace_types
113
+ from ._import_utils import import_cached_base_model, import_cached_field_info
114
+ from ._mock_val_ser import MockCoreSchema
115
+ from ._namespace_utils import NamespacesTuple, NsResolver
116
+ from ._schema_gather import MissingDefinitionError, gather_schemas_for_cleaning
117
+ from ._schema_generation_shared import CallbackGetCoreSchemaHandler
118
+ from ._utils import lenient_issubclass, smart_deepcopy
119
+
120
+ if TYPE_CHECKING:
121
+ from ..fields import ComputedFieldInfo, FieldInfo
122
+ from ..main import BaseModel
123
+ from ..types import Discriminator
124
+ from ._dataclasses import StandardDataclass
125
+ from ._schema_generation_shared import GetJsonSchemaFunction
126
+
127
+ if sys.version_info >= (3, 15):
128
+ from builtins import frozendict
129
+
130
+ _SUPPORTS_TYPEDDICT = sys.version_info >= (3, 12)
131
+
132
+ FieldDecoratorInfo: TypeAlias = ValidatorDecoratorInfo | FieldValidatorDecoratorInfo | FieldSerializerDecoratorInfo
133
+ FieldDecoratorInfoType = TypeVar('FieldDecoratorInfoType', bound=FieldDecoratorInfo)
134
+ AnyFieldDecorator = (
135
+ Decorator[ValidatorDecoratorInfo] | Decorator[FieldValidatorDecoratorInfo] | Decorator[FieldSerializerDecoratorInfo]
136
+ )
137
+
138
+ ModifyCoreSchemaWrapHandler: TypeAlias = GetCoreSchemaHandler
139
+ GetCoreSchemaFunction: TypeAlias = Callable[[Any, ModifyCoreSchemaWrapHandler], core_schema.CoreSchema]
140
+ ParametersCallback: TypeAlias = Callable[[int, str, Any], Literal['skip'] | None]
141
+
142
+ TUPLE_TYPES: list[type] = [typing.Tuple, tuple] # noqa: UP006
143
+
144
+ # Note: This does not play very well with type checkers. For example,
145
+ # `a: LambdaType = lambda x: x` will raise a type error by Pyright.
146
+ ValidateCallSupportedTypes: TypeAlias = LambdaType | FunctionType | MethodType | partial
147
+
148
+
149
+ VALIDATE_CALL_SUPPORTED_TYPES = get_args(ValidateCallSupportedTypes)
150
+ UNSUPPORTED_STANDALONE_FIELDINFO_ATTRIBUTES: list[tuple[str, Any]] = [
151
+ ('alias', None),
152
+ ('validation_alias', None),
153
+ ('serialization_alias', None),
154
+ # will be set if any alias is set, so disable it to avoid double warnings:
155
+ # 'alias_priority',
156
+ ('default', PydanticUndefined),
157
+ ('default_factory', None),
158
+ ('exclude', None),
159
+ ('deprecated', None),
160
+ ('repr', True),
161
+ ('validate_default', None),
162
+ ('frozen', None),
163
+ ('init', None),
164
+ ('init_var', None),
165
+ ('kw_only', None),
166
+ ]
167
+ """`FieldInfo` attributes (and their default value) that can't be used outside of a model (e.g. in a type adapter or a PEP 695 type alias)."""
168
+
169
+ _mode_to_validator: dict[
170
+ FieldValidatorModes, type[BeforeValidator | AfterValidator | PlainValidator | WrapValidator]
171
+ ] = {'before': BeforeValidator, 'after': AfterValidator, 'plain': PlainValidator, 'wrap': WrapValidator}
172
+
173
+
174
+ def check_validator_fields_against_field_name(
175
+ info: FieldDecoratorInfo,
176
+ field: str,
177
+ ) -> bool:
178
+ """Check if field name is in validator fields.
179
+
180
+ Args:
181
+ info: The field info.
182
+ field: The field name to check.
183
+
184
+ Returns:
185
+ `True` if field name is in validator fields, `False` otherwise.
186
+ """
187
+ fields = info.fields
188
+ return '*' in fields or field in fields
189
+
190
+
191
+ def check_decorator_fields_exist(decorators: Iterable[AnyFieldDecorator], fields: Iterable[str]) -> None:
192
+ """Check if the defined fields in decorators exist in `fields` param.
193
+
194
+ It ignores the check for a decorator if the decorator has `*` as field or `check_fields=False`.
195
+
196
+ Args:
197
+ decorators: An iterable of decorators.
198
+ fields: An iterable of fields name.
199
+
200
+ Raises:
201
+ PydanticUserError: If one of the field names does not exist in `fields` param.
202
+ """
203
+ fields = set(fields)
204
+ for dec in decorators:
205
+ if '*' in dec.info.fields:
206
+ continue
207
+ if dec.info.check_fields is False:
208
+ continue
209
+ for field in dec.info.fields:
210
+ if field not in fields:
211
+ raise PydanticUserError(
212
+ f'Decorators defined with incorrect fields: {dec.cls_ref}.{dec.cls_var_name}'
213
+ " (use check_fields=False if you're inheriting from the model and intended this)",
214
+ code='decorator-missing-field',
215
+ )
216
+
217
+
218
+ def filter_field_decorator_info_by_field(
219
+ validator_functions: Iterable[Decorator[FieldDecoratorInfoType]], field: str
220
+ ) -> list[Decorator[FieldDecoratorInfoType]]:
221
+ return [dec for dec in validator_functions if check_validator_fields_against_field_name(dec.info, field)]
222
+
223
+
224
+ def apply_each_item_validators(
225
+ schema: core_schema.CoreSchema,
226
+ each_item_validators: list[Decorator[ValidatorDecoratorInfo]],
227
+ ) -> core_schema.CoreSchema:
228
+ # This V1 compatibility shim should eventually be removed
229
+
230
+ # fail early if each_item_validators is empty
231
+ if not each_item_validators:
232
+ return schema
233
+
234
+ # push down any `each_item=True` validators
235
+ # note that this won't work for any Annotated types that get wrapped by a function validator
236
+ # but that's okay because that didn't exist in V1
237
+ if schema['type'] == 'nullable':
238
+ schema['schema'] = apply_each_item_validators(schema['schema'], each_item_validators)
239
+ return schema
240
+ elif schema['type'] == 'missing-sentinel' and 'schema' in schema:
241
+ schema['schema'] = apply_each_item_validators(schema['schema'], each_item_validators)
242
+ return schema
243
+ elif schema['type'] == 'tuple':
244
+ if (variadic_item_index := schema.get('variadic_item_index')) is not None:
245
+ schema['items_schema'][variadic_item_index] = apply_validators(
246
+ schema['items_schema'][variadic_item_index],
247
+ each_item_validators,
248
+ )
249
+ elif is_list_like_schema_with_items_schema(schema):
250
+ inner_schema = schema.get('items_schema', core_schema.any_schema())
251
+ schema['items_schema'] = apply_validators(inner_schema, each_item_validators)
252
+ elif schema['type'] == 'dict':
253
+ inner_schema = schema.get('values_schema', core_schema.any_schema())
254
+ schema['values_schema'] = apply_validators(inner_schema, each_item_validators)
255
+ else:
256
+ raise TypeError(
257
+ f'`@validator(..., each_item=True)` cannot be applied to fields with a schema of {schema["type"]}'
258
+ )
259
+ return schema
260
+
261
+
262
+ def _extract_json_schema_info_from_field_info(
263
+ info: FieldInfo | ComputedFieldInfo,
264
+ ) -> tuple[JsonDict | None, JsonDict | JsonSchemaExtraCallable | None]:
265
+ json_schema_updates = {
266
+ 'title': info.title,
267
+ 'description': info.description,
268
+ 'deprecated': bool(info.deprecated) or info.deprecated == '' or None,
269
+ 'examples': to_jsonable_python(info.examples),
270
+ }
271
+ json_schema_updates = {k: v for k, v in json_schema_updates.items() if v is not None}
272
+ return (json_schema_updates or None, info.json_schema_extra)
273
+
274
+
275
+ JsonEncoders = dict[type[Any], JsonEncoder]
276
+
277
+
278
+ def _add_custom_serialization_from_json_encoders(
279
+ json_encoders: JsonEncoders | None, tp: Any, schema: CoreSchema
280
+ ) -> CoreSchema:
281
+ """Iterate over the json_encoders and add the first matching encoder to the schema.
282
+
283
+ Args:
284
+ json_encoders: A dictionary of types and their encoder functions.
285
+ tp: The type to check for a matching encoder.
286
+ schema: The schema to add the encoder to.
287
+ """
288
+ if not json_encoders:
289
+ return schema
290
+ if 'serialization' in schema:
291
+ return schema
292
+ # Check the class type and its superclasses for a matching encoder
293
+ # Decimal.__class__.__mro__ (and probably other cases) doesn't include Decimal itself
294
+ # if the type is a GenericAlias (e.g. from list[int]) we need to use __class__ instead of .__mro__
295
+ for base in (tp, *getattr(tp, '__mro__', tp.__class__.__mro__)[:-1]):
296
+ encoder = json_encoders.get(base)
297
+ if encoder is None:
298
+ continue
299
+
300
+ warnings.warn(
301
+ f'`json_encoders` is deprecated. See https://pydantic.dev/docs/validation/{version_short()}/concepts/serialization/#custom-serializers for alternatives',
302
+ PydanticDeprecatedSince20,
303
+ )
304
+
305
+ # TODO: in theory we should check that the schema accepts a serialization key
306
+ schema['serialization'] = core_schema.plain_serializer_function_ser_schema(encoder, when_used='json')
307
+ return schema
308
+
309
+ return schema
310
+
311
+
312
+ GENERATE_SCHEMA_ERRORS = (
313
+ PydanticForbiddenQualifier,
314
+ PydanticInvalidForJsonSchema,
315
+ PydanticSchemaGenerationError,
316
+ PydanticUndefinedAnnotation,
317
+ )
318
+ """Errors raised during core schema generation. This does *not* include `InvalidSchemaError`, which is raised during schema cleaning."""
319
+
320
+
321
+ def _get_typed_dict_extra_items(typed_dict_cls: type[Any]) -> tuple[bool, Any, bool]:
322
+ """Return whether the TypedDict class is closed, the type of its extra items and whether
323
+ they are read-only (as per PEP 728).
324
+
325
+ The `__closed__` and `__extra_items__` attributes only reflect the arguments passed to the class itself,
326
+ so the first class in the (virtual) MRO explicitly specifying one of them is used.
327
+ `extra_items=Never` is normalized to `closed=True`, and the `ReadOnly` qualifier is stripped.
328
+ """
329
+ for base in mro(typed_dict_cls):
330
+ # `__closed__` is `None` when not specified:
331
+ closed = base.__dict__.get('__closed__')
332
+ extra_items = base.__dict__.get('__extra_items__', typing_extensions.NoExtraItems)
333
+ if closed is not None or not typing_objects.is_noextraitems(extra_items):
334
+ break
335
+ else:
336
+ return False, typing_extensions.NoExtraItems, False
337
+
338
+ if closed is not None:
339
+ # `closed` and `extra_items` can't be used together:
340
+ return closed, typing_extensions.NoExtraItems, False
341
+
342
+ readonly = typing_objects.is_readonly(get_origin(extra_items))
343
+ if readonly:
344
+ extra_items = get_args(extra_items)[0]
345
+ # TODO: `Never` wrapped in a type alias (e.g. `type NoExtras = Never`) or in `Annotated` isn't detected here,
346
+ # and fails during schema generation. Unwrapping should only apply to this check (to preserve alias handling).
347
+ if typing_objects.is_never(extra_items):
348
+ return True, typing_extensions.NoExtraItems, False
349
+ return False, extra_items, readonly
350
+
351
+
352
+ class InvalidSchemaError(Exception):
353
+ """The core schema is invalid."""
354
+
355
+
356
+ class GenerateSchema:
357
+ """Generate core schema for a Pydantic model, dataclass and types like `str`, `datetime`, ... ."""
358
+
359
+ __slots__ = (
360
+ '_config_wrapper_stack',
361
+ '_ns_resolver',
362
+ '_typevars_map',
363
+ 'field_name_stack',
364
+ 'model_type_stack',
365
+ 'defs',
366
+ )
367
+
368
+ def __init__(
369
+ self,
370
+ config_wrapper: ConfigWrapper,
371
+ ns_resolver: NsResolver | None = None,
372
+ typevars_map: Mapping[TypeVar, Any] | None = None,
373
+ ) -> None:
374
+ # we need a stack for recursing into nested models
375
+ self._config_wrapper_stack = ConfigWrapperStack(config_wrapper)
376
+ self._ns_resolver = ns_resolver or NsResolver()
377
+ self._typevars_map = typevars_map
378
+ self.field_name_stack = _FieldNameStack()
379
+ self.model_type_stack = _ModelTypeStack()
380
+ self.defs = _Definitions()
381
+
382
+ # The handler lambdas take the `GenerateSchema` instance as their first argument, so that
383
+ # the dicts can be built once at class creation time and shared by all instances:
384
+ _handlers: ClassVar[dict[Any, Callable[[GenerateSchema, Any], core_schema.CoreSchema]]] = {
385
+ str: lambda self, obj: core_schema.str_schema(),
386
+ bytes: lambda self, obj: core_schema.bytes_schema(),
387
+ int: lambda self, obj: core_schema.int_schema(),
388
+ float: lambda self, obj: core_schema.float_schema(),
389
+ bool: lambda self, obj: core_schema.bool_schema(),
390
+ complex: lambda self, obj: core_schema.complex_schema(),
391
+ object: lambda self, obj: core_schema.any_schema(),
392
+ datetime.date: lambda self, obj: core_schema.date_schema(),
393
+ datetime.datetime: lambda self, obj: core_schema.datetime_schema(),
394
+ datetime.time: lambda self, obj: core_schema.time_schema(),
395
+ datetime.timedelta: lambda self, obj: core_schema.timedelta_schema(),
396
+ Decimal: lambda self, obj: core_schema.decimal_schema(),
397
+ UUID: lambda self, obj: core_schema.uuid_schema(),
398
+ Url: lambda self, obj: core_schema.url_schema(),
399
+ Fraction: lambda self, obj: core_schema.fraction_schema(),
400
+ MultiHostUrl: lambda self, obj: core_schema.multi_host_url_schema(),
401
+ None: lambda self, obj: core_schema.none_schema(),
402
+ NoneType: lambda self, obj: core_schema.none_schema(),
403
+ MISSING: lambda self, obj: core_schema.missing_sentinel_schema(),
404
+ EllipsisType: lambda self, obj: core_schema.ellipsis_schema(),
405
+ type: lambda self, obj: self._type_schema(),
406
+ dict: lambda self, obj: self._dict_schema(Any, Any),
407
+ tuple: lambda self, obj: self._tuple_schema(obj),
408
+ list: lambda self, obj: self._list_schema(Any),
409
+ set: lambda self, obj: self._set_schema(Any),
410
+ collections.abc.MutableSet: lambda self, obj: self._set_schema(Any),
411
+ frozenset: lambda self, obj: self._frozenset_schema(Any),
412
+ collections.abc.Set: lambda self, obj: self._frozenset_schema(Any),
413
+ collections.abc.MutableSequence: lambda self, obj: self._list_schema(Any),
414
+ collections.abc.Sequence: lambda self, obj: self._sequence_schema(Any),
415
+ collections.deque: lambda self, obj: self._deque_schema(Any),
416
+ collections.abc.Iterable: lambda self, obj: self._iterable_schema(obj),
417
+ collections.abc.Generator: lambda self, obj: self._iterable_schema(obj),
418
+ collections.abc.Mapping: lambda self, obj: self._mapping_schema(obj, Any, Any),
419
+ collections.abc.MutableMapping: lambda self, obj: self._mapping_schema(obj, Any, Any),
420
+ collections.OrderedDict: lambda self, obj: self._ordered_dict_schema(Any, Any),
421
+ collections.defaultdict: lambda self, obj: self._mapping_schema(obj, Any, Any),
422
+ collections.Counter: lambda self, obj: self._counter_schema(Any),
423
+ collections.abc.Callable: lambda self, obj: core_schema.callable_schema(),
424
+ collections.abc.Hashable: lambda self, obj: self._hashable_schema(),
425
+ IPv4Address: lambda self, obj: self._ip_schema(obj),
426
+ IPv4Interface: lambda self, obj: self._ip_schema(obj),
427
+ IPv4Network: lambda self, obj: self._ip_schema(obj),
428
+ IPv6Address: lambda self, obj: self._ip_schema(obj),
429
+ IPv6Interface: lambda self, obj: self._ip_schema(obj),
430
+ IPv6Network: lambda self, obj: self._ip_schema(obj),
431
+ os.PathLike: lambda self, obj: self._path_schema(obj, Any),
432
+ pathlib.Path: lambda self, obj: self._path_schema(obj, Any),
433
+ pathlib.PurePath: lambda self, obj: self._path_schema(obj, Any),
434
+ pathlib.PosixPath: lambda self, obj: self._path_schema(obj, Any),
435
+ pathlib.WindowsPath: lambda self, obj: self._path_schema(obj, Any),
436
+ pathlib.PurePosixPath: lambda self, obj: self._path_schema(obj, Any),
437
+ pathlib.PureWindowsPath: lambda self, obj: self._path_schema(obj, Any),
438
+ re.Pattern: lambda self, obj: self._pattern_schema(obj),
439
+ ZoneInfo: lambda self, obj: self._zoneinfo_schema(),
440
+ }
441
+
442
+ _generic_handlers: ClassVar[dict[Any, Callable[[GenerateSchema, Any], core_schema.CoreSchema]]] = {
443
+ tuple: lambda self, obj: self._tuple_schema(obj),
444
+ list: lambda self, obj: self._list_schema(self._get_first_arg_or_any(obj)),
445
+ dict: lambda self, obj: self._dict_schema(*self._get_first_two_args_or_any(obj)),
446
+ set: lambda self, obj: self._set_schema(self._get_first_arg_or_any(obj)),
447
+ frozenset: lambda self, obj: self._frozenset_schema(self._get_first_arg_or_any(obj)),
448
+ type: lambda self, obj: self._subclass_schema(obj),
449
+ collections.abc.MutableSequence: lambda self, obj: self._list_schema(self._get_first_arg_or_any(obj)),
450
+ collections.abc.MutableSet: lambda self, obj: self._set_schema(self._get_first_arg_or_any(obj)),
451
+ collections.abc.Set: lambda self, obj: self._frozenset_schema(self._get_first_arg_or_any(obj)),
452
+ collections.deque: lambda self, obj: self._deque_schema(self._get_first_arg_or_any(obj)),
453
+ collections.abc.Mapping: lambda self, obj: self._mapping_schema(
454
+ collections.abc.Mapping, *self._get_first_two_args_or_any(obj)
455
+ ),
456
+ collections.abc.MutableMapping: lambda self, obj: self._mapping_schema(
457
+ collections.abc.MutableMapping, *self._get_first_two_args_or_any(obj)
458
+ ),
459
+ collections.OrderedDict: lambda self, obj: self._ordered_dict_schema(*self._get_first_two_args_or_any(obj)),
460
+ collections.defaultdict: lambda self, obj: self._mapping_schema(
461
+ collections.defaultdict, *self._get_first_two_args_or_any(obj)
462
+ ),
463
+ collections.Counter: lambda self, obj: self._counter_schema(self._get_first_arg_or_any(obj)),
464
+ os.PathLike: lambda self, obj: self._path_schema(os.PathLike, self._get_first_arg_or_any(obj)),
465
+ pathlib.Path: lambda self, obj: self._path_schema(pathlib.Path, self._get_first_arg_or_any(obj)),
466
+ pathlib.PurePath: lambda self, obj: self._path_schema(pathlib.PurePath, self._get_first_arg_or_any(obj)),
467
+ pathlib.PosixPath: lambda self, obj: self._path_schema(pathlib.PosixPath, self._get_first_arg_or_any(obj)),
468
+ pathlib.WindowsPath: lambda self, obj: self._path_schema(pathlib.WindowsPath, self._get_first_arg_or_any(obj)),
469
+ pathlib.PurePosixPath: lambda self, obj: self._path_schema(
470
+ pathlib.PurePosixPath, self._get_first_arg_or_any(obj)
471
+ ),
472
+ pathlib.PureWindowsPath: lambda self, obj: self._path_schema(
473
+ pathlib.PureWindowsPath, self._get_first_arg_or_any(obj)
474
+ ),
475
+ collections.abc.Sequence: lambda self, obj: self._sequence_schema(self._get_first_arg_or_any(obj)),
476
+ collections.abc.Iterable: lambda self, obj: self._iterable_schema(obj),
477
+ collections.abc.Generator: lambda self, obj: self._iterable_schema(obj),
478
+ re.Pattern: lambda self, obj: self._pattern_schema(obj),
479
+ collections.abc.Callable: lambda self, obj: core_schema.callable_schema(),
480
+ }
481
+
482
+ if sys.version_info >= (3, 15):
483
+ _handlers[frozendict] = lambda self, obj: self._frozendict_schema(Any, Any)
484
+ _generic_handlers[frozendict] = lambda self, obj: self._frozendict_schema(*self._get_first_two_args_or_any(obj))
485
+
486
+ def __init_subclass__(cls) -> None:
487
+ super().__init_subclass__()
488
+ warnings.warn(
489
+ 'Subclassing `GenerateSchema` is not supported. The API is highly subject to change in minor versions.',
490
+ UserWarning,
491
+ stacklevel=2,
492
+ )
493
+
494
+ @property
495
+ def _config_wrapper(self) -> ConfigWrapper:
496
+ return self._config_wrapper_stack.tail
497
+
498
+ @property
499
+ def _types_namespace(self) -> NamespacesTuple:
500
+ return self._ns_resolver.types_namespace
501
+
502
+ @property
503
+ def _arbitrary_types(self) -> bool:
504
+ return self._config_wrapper.arbitrary_types_allowed
505
+
506
+ # the following methods can be overridden but should be considered
507
+ # unstable / private APIs
508
+ def _list_schema(self, items_type: Any) -> CoreSchema:
509
+ return core_schema.list_schema(self.generate_schema(items_type))
510
+
511
+ def _dict_schema(self, keys_type: Any, values_type: Any) -> CoreSchema:
512
+ return core_schema.dict_schema(self.generate_schema(keys_type), self.generate_schema(values_type))
513
+
514
+ def _frozendict_schema(self, keys_type: Any, values_type: Any) -> CoreSchema:
515
+ return core_schema.frozendict_schema(self.generate_schema(keys_type), self.generate_schema(values_type))
516
+
517
+ def _ordered_dict_schema(self, keys_type: Any, values_type: Any) -> CoreSchema:
518
+ return core_schema.ordered_dict_schema(self.generate_schema(keys_type), self.generate_schema(values_type))
519
+
520
+ def _counter_schema(self, keys_type: Any) -> CoreSchema:
521
+ return core_schema.counter_schema(self.generate_schema(keys_type), core_schema.int_schema())
522
+
523
+ def _set_schema(self, items_type: Any) -> CoreSchema:
524
+ return core_schema.set_schema(self.generate_schema(items_type))
525
+
526
+ def _frozenset_schema(self, items_type: Any) -> CoreSchema:
527
+ return core_schema.frozenset_schema(self.generate_schema(items_type))
528
+
529
+ def _enum_schema(self, enum_type: type[Enum]) -> CoreSchema:
530
+ cases: list[Any] = list(enum_type.__members__.values())
531
+
532
+ enum_ref = _type_refs.enum_type_ref(enum_type)
533
+ description = None if not enum_type.__doc__ else inspect.cleandoc(enum_type.__doc__)
534
+ if (
535
+ description == 'An enumeration.'
536
+ ): # This is the default value provided by enum.EnumMeta.__new__; don't use it
537
+ description = None
538
+ js_updates = {'title': enum_type.__name__, 'description': description}
539
+ js_updates = {k: v for k, v in js_updates.items() if v is not None}
540
+
541
+ sub_type: Literal['str', 'int', 'float'] | None = None
542
+ if issubclass(enum_type, int):
543
+ sub_type = 'int'
544
+ value_ser_type: core_schema.SerSchema = core_schema.simple_ser_schema('int')
545
+ elif issubclass(enum_type, str):
546
+ # this handles `StrEnum` (3.11 only), and also `Foobar(str, Enum)`
547
+ sub_type = 'str'
548
+ value_ser_type = core_schema.simple_ser_schema('str')
549
+ elif issubclass(enum_type, float):
550
+ sub_type = 'float'
551
+ value_ser_type = core_schema.simple_ser_schema('float')
552
+ else:
553
+ # TODO this is an ugly hack, how do we trigger an Any schema for serialization?
554
+ value_ser_type = core_schema.plain_serializer_function_ser_schema(lambda x: x)
555
+
556
+ if cases:
557
+
558
+ def get_json_schema(schema: CoreSchema, handler: GetJsonSchemaHandler) -> JsonSchemaValue:
559
+ json_schema = handler(schema)
560
+ original_schema = handler.resolve_ref_schema(json_schema)
561
+ original_schema.update(js_updates)
562
+ return json_schema
563
+
564
+ enum_schema = core_schema.enum_schema(
565
+ enum_type,
566
+ cases,
567
+ sub_type=sub_type,
568
+ ref=enum_ref,
569
+ metadata={'pydantic_js_functions': [get_json_schema]},
570
+ )
571
+
572
+ if self._config_wrapper.use_enum_values:
573
+ enum_schema = core_schema.no_info_after_validator_function(
574
+ attrgetter('value'), enum_schema, serialization=value_ser_type
575
+ )
576
+
577
+ return enum_schema
578
+
579
+ else:
580
+
581
+ def get_json_schema_no_cases(_, handler: GetJsonSchemaHandler) -> JsonSchemaValue:
582
+ json_schema = handler(core_schema.enum_schema(enum_type, cases, sub_type=sub_type, ref=enum_ref))
583
+ original_schema = handler.resolve_ref_schema(json_schema)
584
+ original_schema.update(js_updates)
585
+ return json_schema
586
+
587
+ # Use an isinstance check for enums with no cases.
588
+ # The most important use case for this is creating TypeVar bounds for generics that should
589
+ # be restricted to enums. This is more consistent than it might seem at first, since you can only
590
+ # subclass enum.Enum (or subclasses of enum.Enum) if all parent classes have no cases.
591
+ # We use the get_json_schema function when an Enum subclass has been declared with no cases
592
+ # so that we can still generate a valid json schema.
593
+ return core_schema.is_instance_schema(
594
+ enum_type,
595
+ metadata={'pydantic_js_functions': [get_json_schema_no_cases]},
596
+ )
597
+
598
+ def _ip_schema(self, tp: Any) -> CoreSchema:
599
+ from ._validators import IP_VALIDATOR_LOOKUP, IpType
600
+
601
+ ip_type_json_schema_format: dict[type[IpType], str] = {
602
+ IPv4Address: 'ipv4',
603
+ IPv4Network: 'ipv4network',
604
+ IPv4Interface: 'ipv4interface',
605
+ IPv6Address: 'ipv6',
606
+ IPv6Network: 'ipv6network',
607
+ IPv6Interface: 'ipv6interface',
608
+ }
609
+
610
+ def ser_ip(ip: Any, info: core_schema.SerializationInfo) -> str | IpType:
611
+ if not isinstance(ip, (tp, str)):
612
+ raise PydanticSerializationUnexpectedValue(
613
+ f"Expected `{tp}` but got `{type(ip)}` with value `'{ip}'` - serialized value may not be as expected."
614
+ )
615
+ if info.mode == 'python':
616
+ return ip
617
+ return str(ip)
618
+
619
+ return core_schema.lax_or_strict_schema(
620
+ lax_schema=core_schema.no_info_plain_validator_function(IP_VALIDATOR_LOOKUP[tp]),
621
+ strict_schema=core_schema.json_or_python_schema(
622
+ json_schema=core_schema.no_info_after_validator_function(tp, core_schema.str_schema()),
623
+ python_schema=core_schema.is_instance_schema(tp),
624
+ ),
625
+ serialization=core_schema.plain_serializer_function_ser_schema(ser_ip, info_arg=True, when_used='always'),
626
+ metadata={
627
+ 'pydantic_js_functions': [lambda _1, _2: {'type': 'string', 'format': ip_type_json_schema_format[tp]}]
628
+ },
629
+ )
630
+
631
+ def _path_schema(self, tp: Any, path_type: Any) -> CoreSchema:
632
+ if tp is os.PathLike and (path_type not in {str, bytes} and not typing_objects.is_any(path_type)):
633
+ raise PydanticUserError(
634
+ '`os.PathLike` can only be used with `str`, `bytes` or `Any`', code='schema-for-unknown-type'
635
+ )
636
+
637
+ path_constructor = pathlib.PurePath if tp is os.PathLike else tp
638
+ strict_inner_schema = (
639
+ core_schema.bytes_schema(strict=True) if (path_type is bytes) else core_schema.str_schema(strict=True)
640
+ )
641
+ lax_inner_schema = core_schema.bytes_schema() if (path_type is bytes) else core_schema.str_schema()
642
+
643
+ def path_validator(input_value: str | bytes) -> os.PathLike[Any]: # type: ignore
644
+ try:
645
+ if path_type is bytes:
646
+ if isinstance(input_value, bytes):
647
+ try:
648
+ input_value = input_value.decode()
649
+ except UnicodeDecodeError as e:
650
+ raise PydanticCustomError('bytes_type', 'Input must be valid bytes') from e
651
+ else:
652
+ raise PydanticCustomError('bytes_type', 'Input must be bytes')
653
+ elif not isinstance(input_value, str):
654
+ raise PydanticCustomError('path_type', 'Input is not a valid path')
655
+
656
+ return path_constructor(input_value) # type: ignore
657
+ except TypeError as e:
658
+ raise PydanticCustomError('path_type', 'Input is not a valid path') from e
659
+
660
+ def ser_path(path: Any, info: core_schema.SerializationInfo) -> str | os.PathLike[Any]:
661
+ if not isinstance(path, (tp, str)):
662
+ raise PydanticSerializationUnexpectedValue(
663
+ f"Expected `{tp}` but got `{type(path)}` with value `'{path}'` - serialized value may not be as expected."
664
+ )
665
+ if info.mode == 'python':
666
+ return path
667
+ return str(path)
668
+
669
+ instance_schema = core_schema.json_or_python_schema(
670
+ json_schema=core_schema.no_info_after_validator_function(path_validator, lax_inner_schema),
671
+ python_schema=core_schema.is_instance_schema(tp),
672
+ )
673
+
674
+ schema = core_schema.lax_or_strict_schema(
675
+ lax_schema=core_schema.union_schema(
676
+ [
677
+ instance_schema,
678
+ core_schema.no_info_after_validator_function(path_validator, strict_inner_schema),
679
+ ],
680
+ custom_error_type='path_type',
681
+ custom_error_message=f'Input is not a valid path for {tp}',
682
+ ),
683
+ strict_schema=instance_schema,
684
+ serialization=core_schema.plain_serializer_function_ser_schema(ser_path, info_arg=True, when_used='always'),
685
+ metadata={'pydantic_js_functions': [lambda source, handler: {**handler(source), 'format': 'path'}]},
686
+ )
687
+ return schema
688
+
689
+ def _deque_schema(self, items_type: Any) -> CoreSchema:
690
+ return core_schema.deque_schema(self.generate_schema(items_type))
691
+
692
+ def _mapping_schema(self, tp: Any, keys_type: Any, values_type: Any) -> CoreSchema:
693
+ from ._validators import MAPPING_ORIGIN_MAP, defaultdict_validator, get_defaultdict_default_default_factory
694
+
695
+ mapped_origin = MAPPING_ORIGIN_MAP[tp]
696
+ keys_schema = self.generate_schema(keys_type)
697
+ with warnings.catch_warnings():
698
+ # We kind of abused `Field()` default factories to be able to specify
699
+ # the `defaultdict`'s `default_factory`. As a consequence, we get warnings
700
+ # as normally `FieldInfo.default_factory` is unsupported in the context where
701
+ # `Field()` is used and our only solution is to ignore them (note that this might
702
+ # wrongfully ignore valid warnings, e.g. if the `value_type` is a PEP 695 type alias
703
+ # with unsupported metadata).
704
+ warnings.simplefilter('ignore', category=UnsupportedFieldAttributeWarning)
705
+ values_schema = self.generate_schema(values_type)
706
+ dict_schema = core_schema.dict_schema(keys_schema, values_schema, strict=False)
707
+
708
+ if mapped_origin is dict:
709
+ schema = dict_schema
710
+ else:
711
+ check_instance = core_schema.json_or_python_schema(
712
+ json_schema=dict_schema,
713
+ python_schema=core_schema.is_instance_schema(mapped_origin),
714
+ )
715
+
716
+ if tp is collections.defaultdict:
717
+ default_default_factory = get_defaultdict_default_default_factory(values_type)
718
+ coerce_instance_wrap = partial(
719
+ core_schema.no_info_wrap_validator_function,
720
+ partial(defaultdict_validator, default_default_factory=default_default_factory),
721
+ )
722
+ else:
723
+ coerce_instance_wrap = partial(core_schema.no_info_after_validator_function, mapped_origin)
724
+
725
+ lax_schema = coerce_instance_wrap(dict_schema)
726
+ strict_schema = core_schema.chain_schema([check_instance, lax_schema])
727
+
728
+ schema = core_schema.lax_or_strict_schema(
729
+ lax_schema=lax_schema,
730
+ strict_schema=strict_schema,
731
+ serialization=core_schema.wrap_serializer_function_ser_schema(
732
+ lambda v, h: h(v), schema=dict_schema, info_arg=False
733
+ ),
734
+ )
735
+
736
+ return schema
737
+
738
+ def _arbitrary_type_schema(self, tp: Any) -> CoreSchema:
739
+ if not isinstance(tp, type):
740
+ warnings.warn(
741
+ f'{tp!r} is not a Python type (it may be an instance of an object),'
742
+ ' Pydantic will allow any object with no validation since we cannot even'
743
+ ' enforce that the input is an instance of the given type.'
744
+ ' To get rid of this error wrap the type with `pydantic.SkipValidation`.',
745
+ ArbitraryTypeWarning,
746
+ )
747
+ return core_schema.any_schema()
748
+ return core_schema.is_instance_schema(tp)
749
+
750
+ def _unknown_type_schema(self, obj: Any) -> CoreSchema:
751
+ raise PydanticSchemaGenerationError(
752
+ f'Unable to generate pydantic-core schema for {obj!r}. '
753
+ 'Set `arbitrary_types_allowed=True` in the model_config to ignore this error'
754
+ ' or implement `__get_pydantic_core_schema__` on your type to fully support it.'
755
+ '\n\nIf you got this error by calling handler(<some type>) within'
756
+ ' `__get_pydantic_core_schema__` then you likely need to call'
757
+ ' `handler.generate_schema(<some type>)` since we do not call'
758
+ ' `__get_pydantic_core_schema__` on `<some type>` otherwise to avoid infinite recursion.'
759
+ )
760
+
761
+ def _apply_discriminator_to_union(
762
+ self, schema: CoreSchema, discriminator: str | Discriminator | None
763
+ ) -> CoreSchema:
764
+ if discriminator is None:
765
+ return schema
766
+ try:
767
+ return _discriminated_union.apply_discriminator(
768
+ schema,
769
+ discriminator,
770
+ self.defs._definitions,
771
+ )
772
+ except _discriminated_union.MissingDefinitionForUnionRef:
773
+ # defer until defs are resolved
774
+ _discriminated_union.set_discriminator_in_metadata(
775
+ schema,
776
+ discriminator,
777
+ )
778
+ return schema
779
+
780
+ def clean_schema(self, schema: CoreSchema) -> CoreSchema:
781
+ return self.defs.finalize_schema(schema)
782
+
783
+ def _add_js_function(self, metadata_schema: CoreSchema, js_function: Callable[..., Any]) -> None:
784
+ metadata = metadata_schema.get('metadata', {})
785
+ pydantic_js_functions = metadata.setdefault('pydantic_js_functions', [])
786
+ # because of how we generate core schemas for nested generic models
787
+ # we can end up adding `BaseModel.__get_pydantic_json_schema__` multiple times
788
+ # this check may fail to catch duplicates if the function is a `functools.partial`
789
+ # or something like that, but if it does it'll fail by inserting the duplicate
790
+ if js_function not in pydantic_js_functions:
791
+ pydantic_js_functions.append(js_function)
792
+ metadata_schema['metadata'] = metadata
793
+
794
+ def generate_schema(
795
+ self,
796
+ obj: Any,
797
+ ) -> core_schema.CoreSchema:
798
+ """Generate core schema.
799
+
800
+ Args:
801
+ obj: The object to generate core schema for.
802
+
803
+ Returns:
804
+ The generated core schema.
805
+
806
+ Raises:
807
+ PydanticUndefinedAnnotation:
808
+ If it is not possible to evaluate forward reference.
809
+ PydanticSchemaGenerationError:
810
+ If it is not possible to generate pydantic-core schema.
811
+ TypeError:
812
+ - If `alias_generator` returns a disallowed type (must be str, AliasPath or AliasChoices).
813
+ - If V1 style validator with `each_item=True` applied on a wrong field.
814
+ PydanticUserError:
815
+ - If `typing.TypedDict` is used instead of `typing_extensions.TypedDict` on Python < 3.12.
816
+ - If `__modify_schema__` method is used instead of `__get_pydantic_json_schema__`.
817
+ """
818
+ origin = get_origin(obj)
819
+ schema: CoreSchema | None = None
820
+ if origin is None:
821
+ # If the type has an origin, it is guaranteed to *not* be an ordinary class that could have
822
+ # a `__get_pydantic_core_schema__()` method:
823
+ schema = self._generate_schema_from_get_schema_method(obj, obj)
824
+
825
+ if schema is None:
826
+ schema = self._generate_schema_inner(obj, origin)
827
+
828
+ # `__get_pydantic_json_schema__()` is checked on the origin if it exists:
829
+ metadata_js_function = _extract_get_pydantic_json_schema(origin if origin is not None else obj)
830
+ if metadata_js_function is not None:
831
+ metadata_schema = resolve_original_schema(schema, self.defs)
832
+ if metadata_schema:
833
+ self._add_js_function(metadata_schema, metadata_js_function)
834
+
835
+ schema = _add_custom_serialization_from_json_encoders(self._config_wrapper.json_encoders, obj, schema)
836
+
837
+ return schema
838
+
839
+ def _model_schema(self, cls: type[BaseModel]) -> core_schema.CoreSchema:
840
+ """Generate schema for a Pydantic model."""
841
+ BaseModel_ = import_cached_base_model()
842
+
843
+ model_ref = _type_refs.model_type_ref(cls)
844
+ with self.defs.get_definition_ref_schema(ref=model_ref) as maybe_schema:
845
+ if maybe_schema is not None:
846
+ return maybe_schema
847
+
848
+ schema = cls.__dict__.get('__pydantic_core_schema__')
849
+ if schema is not None and not isinstance(schema, MockCoreSchema):
850
+ if schema['type'] == 'definitions':
851
+ schema = self.defs.unpack_definitions(schema)
852
+ ref = get_ref(schema)
853
+ if ref:
854
+ return self.defs.create_definition_reference_schema(schema)
855
+ else:
856
+ return schema
857
+
858
+ config_wrapper = ConfigWrapper(cls.model_config, check=False)
859
+
860
+ with self._config_wrapper_stack.push(config_wrapper), self._ns_resolver.push(cls):
861
+ core_config = self._config_wrapper.core_config(title=cls.__name__)
862
+
863
+ if cls.__pydantic_fields_complete__ or cls is BaseModel_:
864
+ fields = getattr(cls, '__pydantic_fields__', {})
865
+ extra_info = getattr(cls, '__pydantic_extra_info__', None)
866
+ else:
867
+ if '__pydantic_fields__' not in cls.__dict__:
868
+ # This happens when we have a loop in the schema generation:
869
+ # class Base[T](BaseModel):
870
+ # t: T
871
+ #
872
+ # class Other(BaseModel):
873
+ # b: 'Base[Other]'
874
+ # When we build fields for `Other`, we evaluate the forward annotation.
875
+ # At this point, `Other` doesn't have the model fields set. We create
876
+ # `Base[Other]`; model fields are successfully built, and we try to generate
877
+ # a schema for `t: Other`. As `Other.__pydantic_fields__` aren't set, we abort.
878
+ raise PydanticUndefinedAnnotation(
879
+ name=cls.__name__,
880
+ message=f'Class {cls.__name__!r} is not defined',
881
+ )
882
+ try:
883
+ fields, extra_info = rebuild_model_fields(
884
+ cls,
885
+ config_wrapper=self._config_wrapper,
886
+ ns_resolver=self._ns_resolver,
887
+ typevars_map=get_model_typevars_map(cls),
888
+ )
889
+ except NameError as e:
890
+ raise PydanticUndefinedAnnotation.from_name_error(e) from e
891
+
892
+ decorators = cls.__pydantic_decorators__
893
+ computed_fields = decorators.computed_fields
894
+ if decorators.field_validators or decorators.field_serializers or decorators.validators:
895
+ check_decorator_fields_exist(
896
+ chain(
897
+ decorators.field_validators.values(),
898
+ decorators.field_serializers.values(),
899
+ decorators.validators.values(),
900
+ ),
901
+ {*fields.keys(), *computed_fields.keys()},
902
+ )
903
+
904
+ model_validators = decorators.model_validators.values()
905
+
906
+ extras_schema = None
907
+ extras_keys_schema = None
908
+ if core_config.get('extra_fields_behavior') == 'allow' and extra_info is not None:
909
+ tp = get_origin(extra_info.annotation)
910
+ if tp is not dict:
911
+ raise PydanticSchemaGenerationError(
912
+ 'The type annotation for `__pydantic_extra__` must be `dict[str, ...]`'
913
+ )
914
+ # See the comments in `_get_args_resolving_forward_refs()` for why we need
915
+ # to re-evaluate the annotation:
916
+ extra_keys_type, extra_items_type = self._get_args_resolving_forward_refs(
917
+ extra_info.annotation,
918
+ required=True,
919
+ )
920
+ if extra_keys_type is not str:
921
+ extras_keys_schema = self.generate_schema(extra_keys_type)
922
+ if not typing_objects.is_any(extra_items_type):
923
+ extras_schema = self.generate_schema(extra_items_type)
924
+
925
+ generic_origin: type[BaseModel] | None = getattr(cls, '__pydantic_generic_metadata__', {}).get('origin')
926
+
927
+ if cls.__pydantic_root_model__:
928
+ inner_schema, metadata = self._common_field_schema('root', fields['root'], decorators)
929
+ if cls.__doc__ and metadata.get('pydantic_js_updates', {}).get('description'):
930
+ # This is a bit of a leaky abstraction, but as the model docstring takes priority
931
+ # over the root field's description, we need to override it here. This can't be done
932
+ # in the JSON Schema generation logic because the metadata's `pydantic_js_updates` are
933
+ # applied last, and overrides any value previously set (so the description set from the
934
+ # docstring in `GenerateJsonSchema._update_class_schema()` is overridden):
935
+ update_core_metadata(
936
+ metadata, pydantic_js_updates={'description': inspect.cleandoc(cls.__doc__)}
937
+ )
938
+
939
+ inner_schema = apply_model_validators(inner_schema, model_validators, 'inner')
940
+ model_schema = core_schema.model_schema(
941
+ cls,
942
+ inner_schema,
943
+ generic_origin=generic_origin,
944
+ custom_init=getattr(cls, '__pydantic_custom_init__', None),
945
+ root_model=True,
946
+ post_init=getattr(cls, '__pydantic_post_init__', None),
947
+ config=core_config,
948
+ ref=model_ref,
949
+ metadata=metadata,
950
+ )
951
+ else:
952
+ fields_schema: core_schema.CoreSchema = core_schema.model_fields_schema(
953
+ {k: self._generate_md_field_schema(k, v, decorators) for k, v in fields.items()},
954
+ computed_fields=[
955
+ self._computed_field_schema(d, decorators.field_serializers)
956
+ for d in computed_fields.values()
957
+ ],
958
+ extras_schema=extras_schema,
959
+ extras_keys_schema=extras_keys_schema,
960
+ model_name=cls.__name__,
961
+ )
962
+ inner_schema = apply_validators(fields_schema, decorators.root_validators.values())
963
+ inner_schema = apply_model_validators(inner_schema, model_validators, 'inner')
964
+
965
+ model_schema = core_schema.model_schema(
966
+ cls,
967
+ inner_schema,
968
+ generic_origin=generic_origin,
969
+ custom_init=getattr(cls, '__pydantic_custom_init__', None),
970
+ root_model=False,
971
+ post_init=getattr(cls, '__pydantic_post_init__', None),
972
+ config=core_config,
973
+ ref=model_ref,
974
+ )
975
+
976
+ schema = self._apply_model_serializers(model_schema, decorators.model_serializers.values())
977
+ schema = apply_model_validators(schema, model_validators, 'outer')
978
+ return self.defs.create_definition_reference_schema(schema)
979
+
980
+ def _resolve_self_type(self, obj: Any) -> Any:
981
+ obj = self.model_type_stack.get()
982
+ if obj is None:
983
+ raise PydanticUserError('`typing.Self` is invalid in this context', code='invalid-self-type')
984
+ return obj
985
+
986
+ def _generate_schema_from_get_schema_method(self, obj: Any, source: Any) -> core_schema.CoreSchema | None:
987
+ BaseModel_ = import_cached_base_model()
988
+
989
+ get_schema = getattr(obj, '__get_pydantic_core_schema__', None)
990
+
991
+ if (
992
+ get_schema is not None
993
+ # BaseModel.__get_pydantic_core_schema__ is defined for backwards compatibility,
994
+ # to allow existing code to call `super().__get_pydantic_core_schema__` in Pydantic
995
+ # model that overrides `__get_pydantic_core_schema__`. However, it raises a deprecation
996
+ # warning stating that the method will be removed, and during the core schema gen we actually
997
+ # don't call the method:
998
+ and getattr(get_schema, '__func__', None) is not BaseModel_.__get_pydantic_core_schema__.__func__ # pyright: ignore[reportFunctionMemberAccess]
999
+ ):
1000
+ # Some referenceable types might have a `__get_pydantic_core_schema__` method
1001
+ # defined on it by users (e.g. on a dataclass). This generally doesn't play well
1002
+ # as these types are already recognized by the `GenerateSchema` class and isn't ideal
1003
+ # as we might end up calling `any_type_ref()` (relatively expensive) on types that are actually
1004
+ # not referenceable:
1005
+ with self.defs.get_definition_ref_schema(ref=_type_refs.any_type_ref(obj, get_origin(obj))) as maybe_schema:
1006
+ if maybe_schema is not None:
1007
+ return maybe_schema
1008
+
1009
+ if obj is source:
1010
+ ref_mode = 'unpack'
1011
+ else:
1012
+ ref_mode = 'to-def'
1013
+ schema = get_schema(
1014
+ source, CallbackGetCoreSchemaHandler(self._generate_schema_inner, self, ref_mode=ref_mode)
1015
+ )
1016
+ if schema['type'] == 'definitions':
1017
+ schema = self.defs.unpack_definitions(schema)
1018
+
1019
+ ref = get_ref(schema)
1020
+ if ref:
1021
+ return self.defs.create_definition_reference_schema(schema)
1022
+
1023
+ # Note: if schema is of type `'definition-ref'`, we might want to copy it as a
1024
+ # safety measure (because these are inlined in place -- i.e. mutated directly)
1025
+ return schema
1026
+
1027
+ if get_schema is None and (validators := getattr(obj, '__get_validators__', None)) is not None:
1028
+ from pydantic.v1 import BaseModel as BaseModelV1
1029
+
1030
+ if issubclass(obj, BaseModelV1):
1031
+ warnings.warn(
1032
+ f'Mixing V1 models and V2 models (or constructs, like `TypeAdapter`) is not supported. Please upgrade `{obj.__name__}` to V2.',
1033
+ UserWarning,
1034
+ )
1035
+ else:
1036
+ warnings.warn(
1037
+ '`__get_validators__` is deprecated and will be removed, use `__get_pydantic_core_schema__` instead.',
1038
+ PydanticDeprecatedSince20,
1039
+ )
1040
+ return core_schema.chain_schema([core_schema.with_info_plain_validator_function(v) for v in validators()])
1041
+
1042
+ def _resolve_forward_ref(self, obj: Any) -> Any:
1043
+ # we assume that types_namespace has the target of forward references in its scope,
1044
+ # but this could fail, for example, if calling Validator on an imported type which contains
1045
+ # forward references to other types only defined in the module from which it was imported
1046
+ # `Validator(SomeImportedTypeAliasWithAForwardReference)`
1047
+ # or the equivalent for BaseModel
1048
+ # class Model(BaseModel):
1049
+ # x: SomeImportedTypeAliasWithAForwardReference
1050
+ try:
1051
+ obj = _typing_extra.eval_type(obj, *self._types_namespace)
1052
+ except NameError as e:
1053
+ raise PydanticUndefinedAnnotation.from_name_error(e) from e
1054
+
1055
+ # if obj is still a ForwardRef, it means we can't evaluate it, raise PydanticUndefinedAnnotation
1056
+ if isinstance(obj, ForwardRef):
1057
+ raise PydanticUndefinedAnnotation(obj.__forward_arg__, f'Unable to evaluate forward reference {obj}')
1058
+
1059
+ if self._typevars_map:
1060
+ obj = replace_types(obj, self._typevars_map)
1061
+
1062
+ return obj
1063
+
1064
+ @overload
1065
+ def _get_args_resolving_forward_refs(self, obj: Any, required: Literal[True]) -> tuple[Any, ...]: ...
1066
+
1067
+ @overload
1068
+ def _get_args_resolving_forward_refs(self, obj: Any) -> tuple[Any, ...] | None: ...
1069
+
1070
+ def _get_args_resolving_forward_refs(self, obj: Any, required: bool = False) -> tuple[Any, ...] | None:
1071
+ args = get_args(obj)
1072
+ if args:
1073
+ if isinstance(obj, GenericAlias):
1074
+ # PEP 585 generic aliases don't convert args to ForwardRefs, unlike `typing.List/Dict` etc.
1075
+ # This was fixed in https://github.com/python/cpython/pull/30900 (Python 3.11).
1076
+ # TODO: this shouldn't be necessary (probably even this `_get_args_resolving_forward_refs()` function)
1077
+ # once we drop support for Python 3.10 *or* if we implement our own `typing._eval_type()` implementation.
1078
+ args = (ForwardRef(a) if isinstance(a, str) else a for a in args)
1079
+ args = tuple(self._resolve_forward_ref(a) if isinstance(a, ForwardRef) else a for a in args)
1080
+ elif required: # pragma: no cover
1081
+ raise TypeError(f'Expected {obj} to have generic parameters but it had none')
1082
+ return args
1083
+
1084
+ def _get_first_arg_or_any(self, obj: Any) -> Any:
1085
+ args = self._get_args_resolving_forward_refs(obj)
1086
+ if not args:
1087
+ return Any
1088
+ return args[0]
1089
+
1090
+ def _get_first_two_args_or_any(self, obj: Any) -> tuple[Any, Any]:
1091
+ args = self._get_args_resolving_forward_refs(obj)
1092
+ if not args:
1093
+ return (Any, Any)
1094
+ if len(args) < 2:
1095
+ origin = get_origin(obj)
1096
+ raise TypeError(f'Expected two type arguments for {origin}, got 1')
1097
+ return args[0], args[1]
1098
+
1099
+ def _generate_schema_inner(self, obj: Any, origin: Any | None = PydanticUndefined) -> core_schema.CoreSchema:
1100
+ if typing_objects.is_self(obj):
1101
+ obj = self._resolve_self_type(obj)
1102
+ # The resolved type can be a parametrized generic (e.g. `GenericDataclass[int]`),
1103
+ # so the origin provided by the caller (computed on `Self`) is stale:
1104
+ origin = get_origin(obj)
1105
+
1106
+ origin = origin if origin is not PydanticUndefined else get_origin(obj)
1107
+
1108
+ if is_union_origin(origin):
1109
+ return self._union_schema(obj)
1110
+
1111
+ if typing_objects.is_annotated(origin):
1112
+ return self._annotated_schema(obj)
1113
+
1114
+ if typing_objects.is_literal(origin):
1115
+ return self._literal_schema(obj)
1116
+
1117
+ if isinstance(obj, dict):
1118
+ # we assume this is already a valid schema
1119
+ return obj # type: ignore[return-value]
1120
+
1121
+ if isinstance(obj, str):
1122
+ obj = ForwardRef(obj)
1123
+
1124
+ if isinstance(obj, ForwardRef):
1125
+ return self.generate_schema(self._resolve_forward_ref(obj))
1126
+
1127
+ BaseModel = import_cached_base_model()
1128
+
1129
+ if lenient_issubclass(obj, BaseModel):
1130
+ with self.model_type_stack.push(obj):
1131
+ return self._model_schema(obj)
1132
+
1133
+ if isinstance(obj, PydanticRecursiveRef):
1134
+ return core_schema.definition_reference_schema(schema_ref=obj.type_ref)
1135
+
1136
+ return self.match_type(obj, origin)
1137
+
1138
+ def match_type(self, obj: Any, origin: Any) -> core_schema.CoreSchema: # noqa: C901
1139
+ """Main mapping of types to schemas.
1140
+
1141
+ The general structure is a series of if statements starting with the simple cases
1142
+ (non-generic primitive types) and then handling generics and other more complex cases.
1143
+
1144
+ Each case either generates a schema directly, calls into a public user-overridable method
1145
+ (like `GenerateSchema.tuple_variable_schema`) or calls into a private method that handles some
1146
+ boilerplate before calling into the user-facing method (e.g. `GenerateSchema._tuple_schema`).
1147
+
1148
+ The idea is that we'll evolve this into adding more and more user facing methods over time
1149
+ as they get requested and we figure out what the right API for them is.
1150
+ """
1151
+ if typing_objects.is_any(obj) or typing_objects.is_final(obj):
1152
+ # TODO: I'm not sure obj can be `Final` here, we call `typing_inspection.introspection.inspect_annotation()`
1153
+ # early for model-like fields, which handles it already.
1154
+ return core_schema.any_schema()
1155
+
1156
+ if origin is not None and (aliased_obj := typing_objects.DEPRECATED_ALIASES_IDS.get(id(obj))):
1157
+ # See https://typing-inspection.pydantic.dev/dev/usage/#inspecting-the-type-expression:
1158
+ obj = aliased_obj
1159
+ origin = None
1160
+
1161
+ if origin is None:
1162
+ # Thanks to the checks before this point, no origin means `obj` is a
1163
+ # simple type (not a generic alias, a union, an `Annotated` form).
1164
+ # examples: int, str, list, dict, collections.abc.Mapping, a `TypeAliasType` instance.
1165
+ try:
1166
+ handler = self._handlers.get(obj)
1167
+ except TypeError:
1168
+ pass
1169
+ else:
1170
+ if handler is not None:
1171
+ return handler(self, obj)
1172
+
1173
+ if typing_objects.is_typealiastype(obj):
1174
+ return self._type_alias_type_schema(obj)
1175
+ elif is_typeddict(obj):
1176
+ return self._typed_dict_schema(obj, None)
1177
+ elif inspect.isclass(obj) and issubclass(obj, Enum):
1178
+ # NOTE: this must come before the `is_namedtuple()` check as enums values
1179
+ # can be namedtuples:
1180
+ return self._enum_schema(obj)
1181
+ elif _typing_extra.is_namedtuple(obj):
1182
+ return self._namedtuple_schema(obj, None)
1183
+ elif typing_objects.is_newtype(obj):
1184
+ return self.generate_schema(obj.__supertype__)
1185
+ elif isinstance(obj, typing.TypeVar):
1186
+ return self._unsubstituted_typevar_schema(obj)
1187
+ elif isinstance(obj, VALIDATE_CALL_SUPPORTED_TYPES):
1188
+ return self._call_schema(obj) # pyright: ignore[reportArgumentType]
1189
+ # dataclasses.is_dataclass coerces dc instances to types, but we only handle
1190
+ # the case of a dc type here
1191
+ elif dataclasses.is_dataclass(obj):
1192
+ return self._dataclass_schema(obj, None) # pyright: ignore[reportArgumentType]
1193
+
1194
+ if origin is not None:
1195
+ return self._match_generic_type(obj, origin)
1196
+
1197
+ if self._arbitrary_types:
1198
+ return self._arbitrary_type_schema(obj)
1199
+ return self._unknown_type_schema(obj)
1200
+
1201
+ def _match_generic_type(self, obj: Any, origin: Any) -> CoreSchema: # noqa: C901
1202
+ # Need to handle generic dataclasses before looking for the schema properties because attribute accesses
1203
+ # on _GenericAlias delegate to the origin type, so lose the information about the concrete parametrization
1204
+ # As a result, currently, there is no way to cache the schema for generic dataclasses. This may be possible
1205
+ # to resolve by modifying the value returned by `Generic.__class_getitem__`, but that is a dangerous game.
1206
+ if dataclasses.is_dataclass(origin):
1207
+ return self._dataclass_schema(obj, origin) # pyright: ignore[reportArgumentType]
1208
+ elif _typing_extra.is_namedtuple(origin):
1209
+ return self._namedtuple_schema(obj, origin)
1210
+ elif typing_objects.is_final(origin):
1211
+ # TODO: I'm not sure obj can be `Final` here, we call `typing_inspection.introspection.inspect_annotation()`
1212
+ # early for model-like fields, which handles it already.
1213
+ return self.generate_schema(self._get_first_arg_or_any(obj))
1214
+
1215
+ schema = self._generate_schema_from_get_schema_method(origin, obj)
1216
+ if schema is not None:
1217
+ return schema
1218
+
1219
+ try:
1220
+ handler = self._generic_handlers.get(origin)
1221
+ except TypeError:
1222
+ pass
1223
+ else:
1224
+ if handler is not None:
1225
+ return handler(self, obj)
1226
+
1227
+ if typing_objects.is_typealiastype(origin):
1228
+ return self._type_alias_type_schema(obj)
1229
+ elif is_typeddict(origin):
1230
+ return self._typed_dict_schema(obj, origin)
1231
+
1232
+ if self._arbitrary_types:
1233
+ return self._arbitrary_type_schema(origin)
1234
+ return self._unknown_type_schema(obj)
1235
+
1236
+ def _generate_td_field_schema(
1237
+ self,
1238
+ name: str,
1239
+ field_info: FieldInfo,
1240
+ decorators: DecoratorInfos,
1241
+ *,
1242
+ required: bool = True,
1243
+ ) -> core_schema.TypedDictField:
1244
+ """Prepare a TypedDictField to represent a model or typeddict field."""
1245
+ schema, metadata = self._common_field_schema(name, field_info, decorators)
1246
+ return core_schema.typed_dict_field(
1247
+ schema,
1248
+ required=False if not field_info.is_required() else required,
1249
+ serialization_exclude=field_info.exclude,
1250
+ validation_alias=_convert_to_aliases(field_info.validation_alias),
1251
+ serialization_alias=field_info.serialization_alias,
1252
+ serialization_exclude_if=field_info.exclude_if,
1253
+ metadata=metadata,
1254
+ )
1255
+
1256
+ def _generate_md_field_schema(
1257
+ self,
1258
+ name: str,
1259
+ field_info: FieldInfo,
1260
+ decorators: DecoratorInfos,
1261
+ ) -> core_schema.ModelField:
1262
+ """Prepare a ModelField to represent a model field."""
1263
+ schema, metadata = self._common_field_schema(name, field_info, decorators)
1264
+ return core_schema.model_field(
1265
+ schema,
1266
+ serialization_exclude=field_info.exclude,
1267
+ validation_alias=_convert_to_aliases(field_info.validation_alias),
1268
+ serialization_alias=field_info.serialization_alias,
1269
+ serialization_exclude_if=field_info.exclude_if,
1270
+ frozen=field_info.frozen,
1271
+ metadata=metadata,
1272
+ )
1273
+
1274
+ def _generate_dc_field_schema(
1275
+ self,
1276
+ name: str,
1277
+ field_info: FieldInfo,
1278
+ decorators: DecoratorInfos,
1279
+ ) -> core_schema.DataclassField:
1280
+ """Prepare a DataclassField to represent the parameter/field, of a dataclass."""
1281
+ schema, metadata = self._common_field_schema(name, field_info, decorators)
1282
+ return core_schema.dataclass_field(
1283
+ name,
1284
+ schema,
1285
+ init=field_info.init,
1286
+ init_only=field_info.init_var or None,
1287
+ kw_only=None if field_info.kw_only else False,
1288
+ serialization_exclude=field_info.exclude,
1289
+ validation_alias=_convert_to_aliases(field_info.validation_alias),
1290
+ serialization_alias=field_info.serialization_alias,
1291
+ serialization_exclude_if=field_info.exclude_if,
1292
+ frozen=field_info.frozen,
1293
+ metadata=metadata,
1294
+ )
1295
+
1296
+ def _common_field_schema( # C901
1297
+ self, name: str, field_info: FieldInfo, decorators: DecoratorInfos
1298
+ ) -> tuple[CoreSchema, dict[str, Any]]:
1299
+ source_type, annotations = field_info.annotation, field_info.metadata
1300
+
1301
+ def set_discriminator(schema: CoreSchema) -> CoreSchema:
1302
+ schema = self._apply_discriminator_to_union(schema, field_info.discriminator)
1303
+ return schema
1304
+
1305
+ # Convert `@field_validator` decorators to `Before/After/Plain/WrapValidator` instances:
1306
+ if decorators.field_validators:
1307
+ validators_from_decorators = [
1308
+ _mode_to_validator[decorator.info.mode]._from_decorator(decorator)
1309
+ for decorator in filter_field_decorator_info_by_field(decorators.field_validators.values(), name)
1310
+ ]
1311
+ else:
1312
+ validators_from_decorators = []
1313
+
1314
+ with self.field_name_stack.push(name):
1315
+ if field_info.discriminator is not None:
1316
+ schema = self._apply_annotations(
1317
+ source_type, annotations + validators_from_decorators, transform_inner_schema=set_discriminator
1318
+ )
1319
+ else:
1320
+ schema = self._apply_annotations(
1321
+ source_type,
1322
+ annotations + validators_from_decorators,
1323
+ )
1324
+
1325
+ if decorators.validators:
1326
+ # This V1 compatibility shim should eventually be removed
1327
+ # push down any `each_item=True` validators
1328
+ # note that this won't work for any Annotated types that get wrapped by a function validator
1329
+ # but that's okay because that didn't exist in V1
1330
+ this_field_validators = filter_field_decorator_info_by_field(decorators.validators.values(), name)
1331
+ if _validators_require_validate_default(this_field_validators):
1332
+ field_info.validate_default = True
1333
+ each_item_validators = [v for v in this_field_validators if v.info.each_item is True]
1334
+ this_field_validators = [v for v in this_field_validators if v not in each_item_validators]
1335
+ schema = apply_each_item_validators(schema, each_item_validators)
1336
+
1337
+ schema = apply_validators(schema, this_field_validators)
1338
+
1339
+ # the default validator needs to go outside of any other validators
1340
+ # so that it is the topmost validator for the field validator
1341
+ # which uses it to check if the field has a default value or not
1342
+ if not field_info.is_required():
1343
+ schema = wrap_default(field_info, schema)
1344
+
1345
+ if decorators.field_serializers:
1346
+ schema = self._apply_field_serializers(
1347
+ schema, filter_field_decorator_info_by_field(decorators.field_serializers.values(), name)
1348
+ )
1349
+
1350
+ pydantic_js_updates, pydantic_js_extra = _extract_json_schema_info_from_field_info(field_info)
1351
+ core_metadata: dict[str, Any] = {}
1352
+ update_core_metadata(
1353
+ core_metadata, pydantic_js_updates=pydantic_js_updates, pydantic_js_extra=pydantic_js_extra
1354
+ )
1355
+
1356
+ return schema, core_metadata
1357
+
1358
+ def _union_schema(self, union_type: Any) -> core_schema.CoreSchema:
1359
+ """Generate schema for a Union."""
1360
+ args = self._get_args_resolving_forward_refs(union_type, required=True)
1361
+ choices: list[CoreSchema] = []
1362
+ nullable = False
1363
+ allow_missing = False
1364
+ for arg in args:
1365
+ if arg is None or arg is NoneType:
1366
+ nullable = True
1367
+ elif arg is MISSING:
1368
+ allow_missing = True
1369
+ else:
1370
+ choices.append(self.generate_schema(arg))
1371
+
1372
+ if not choices:
1373
+ # Only `None` and `MISSING` were present in the union (e.g. `None | MISSING`):
1374
+ s = core_schema.none_schema()
1375
+ nullable = False
1376
+ elif len(choices) == 1:
1377
+ s = choices[0]
1378
+ else:
1379
+ choices_with_tags: list[CoreSchema | tuple[CoreSchema, str]] = []
1380
+ for choice in choices:
1381
+ tag = cast(CoreMetadata, choice.get('metadata', {})).get('pydantic_internal_union_tag_key')
1382
+ if tag is not None:
1383
+ choices_with_tags.append((choice, tag))
1384
+ else:
1385
+ choices_with_tags.append(choice)
1386
+ s = core_schema.union_schema(choices_with_tags)
1387
+
1388
+ if nullable:
1389
+ s = core_schema.nullable_schema(s)
1390
+ if allow_missing:
1391
+ s = core_schema.missing_sentinel_schema(s)
1392
+ return s
1393
+
1394
+ def _type_alias_type_schema(self, obj: TypeAliasType) -> CoreSchema:
1395
+ ref = _type_refs.type_alias_type_ref(obj)
1396
+ with self.defs.get_definition_ref_schema(ref=ref) as maybe_schema:
1397
+ if maybe_schema is not None:
1398
+ return maybe_schema
1399
+
1400
+ origin: TypeAliasType = get_origin(obj) or obj
1401
+ typevars_map = get_standard_typevars_map(obj)
1402
+
1403
+ with self._ns_resolver.push(origin):
1404
+ try:
1405
+ annotation = _typing_extra.eval_type(origin.__value__, *self._types_namespace)
1406
+ except NameError as e:
1407
+ raise PydanticUndefinedAnnotation.from_name_error(e) from e
1408
+ annotation = replace_types(annotation, typevars_map)
1409
+ schema = self.generate_schema(annotation)
1410
+ assert schema['type'] != 'definitions'
1411
+ schema['ref'] = ref # type: ignore
1412
+ return self.defs.create_definition_reference_schema(schema)
1413
+
1414
+ def _literal_schema(self, literal_type: Any) -> CoreSchema:
1415
+ """Generate schema for a Literal."""
1416
+ expected = list(get_literal_values(literal_type, type_check=False, unpack_type_aliases='eager'))
1417
+ assert expected, f'literal "expected" cannot be empty, obj={literal_type}'
1418
+ schema = core_schema.literal_schema(expected)
1419
+
1420
+ if self._config_wrapper.use_enum_values and any(isinstance(v, Enum) for v in expected):
1421
+ schema = core_schema.no_info_after_validator_function(
1422
+ lambda v: v.value if isinstance(v, Enum) else v, schema
1423
+ )
1424
+
1425
+ return schema
1426
+
1427
+ def _typed_dict_schema(self, typed_dict_cls: Any, origin: Any) -> core_schema.CoreSchema:
1428
+ """Generate a core schema for a `TypedDict` class.
1429
+
1430
+ To be able to build a `DecoratorInfos` instance for the `TypedDict` class (which will include
1431
+ validators, serializers, etc.), we need to have access to the original bases of the class
1432
+ (see https://docs.python.org/3/library/types.html#types.get_original_bases).
1433
+ However, the `__orig_bases__` attribute was only added in 3.12 (https://github.com/python/cpython/pull/103698).
1434
+
1435
+ For this reason, we require Python 3.12 (or using the `typing_extensions` backport).
1436
+ """
1437
+ FieldInfo = import_cached_field_info()
1438
+
1439
+ typed_dict_ref = _type_refs.class_type_ref(typed_dict_cls, origin)
1440
+ with (
1441
+ self.model_type_stack.push(typed_dict_cls),
1442
+ self.defs.get_definition_ref_schema(ref=typed_dict_ref) as maybe_schema,
1443
+ ):
1444
+ if maybe_schema is not None:
1445
+ return maybe_schema
1446
+
1447
+ typevars_map = get_standard_typevars_map(typed_dict_cls)
1448
+ if origin is not None:
1449
+ typed_dict_cls = origin
1450
+
1451
+ if not _SUPPORTS_TYPEDDICT and type(typed_dict_cls).__module__ == 'typing':
1452
+ raise PydanticUserError(
1453
+ 'Please use `typing_extensions.TypedDict` instead of `typing.TypedDict` on Python < 3.12.',
1454
+ code='typed-dict-version',
1455
+ )
1456
+
1457
+ try:
1458
+ # if a typed dictionary class doesn't have config, we use the parent's config, hence a default of `None`
1459
+ # see https://github.com/pydantic/pydantic/issues/10917
1460
+ config: ConfigDict | None = get_attribute_from_bases(typed_dict_cls, '__pydantic_config__')
1461
+ except AttributeError:
1462
+ config = None
1463
+
1464
+ with self._config_wrapper_stack.push(config):
1465
+ core_config = self._config_wrapper.core_config(title=typed_dict_cls.__name__)
1466
+
1467
+ required_keys: frozenset[str] = typed_dict_cls.__required_keys__
1468
+
1469
+ fields: dict[str, core_schema.TypedDictField] = {}
1470
+
1471
+ decorators = DecoratorInfos.build(typed_dict_cls, replace_wrapped_methods=False)
1472
+ decorators.update_from_config(self._config_wrapper)
1473
+
1474
+ if self._config_wrapper.use_attribute_docstrings:
1475
+ field_docstrings = extract_docstrings_from_cls(typed_dict_cls, use_inspect=True)
1476
+ else:
1477
+ field_docstrings = None
1478
+
1479
+ try:
1480
+ annotations = _typing_extra.get_cls_type_hints(typed_dict_cls, ns_resolver=self._ns_resolver)
1481
+ except NameError as e:
1482
+ raise PydanticUndefinedAnnotation.from_name_error(e) from e
1483
+
1484
+ readonly_fields: list[str] = []
1485
+
1486
+ for field_name, annotation in annotations.items():
1487
+ field_info = FieldInfo.from_annotation(annotation, _source=AnnotationSource.TYPED_DICT)
1488
+ field_info.annotation = replace_types(field_info.annotation, typevars_map)
1489
+
1490
+ required = (
1491
+ field_name in required_keys or 'required' in field_info._qualifiers
1492
+ ) and 'not_required' not in field_info._qualifiers
1493
+ if 'read_only' in field_info._qualifiers:
1494
+ readonly_fields.append(field_name)
1495
+
1496
+ if (
1497
+ field_docstrings is not None
1498
+ and field_info.description is None
1499
+ and field_name in field_docstrings
1500
+ ):
1501
+ field_info.description = field_docstrings[field_name]
1502
+ update_field_from_config(self._config_wrapper, field_name, field_info)
1503
+
1504
+ fields[field_name] = self._generate_td_field_schema(
1505
+ field_name, field_info, decorators, required=required
1506
+ )
1507
+
1508
+ if readonly_fields:
1509
+ fields_repr = ', '.join(repr(f) for f in readonly_fields)
1510
+ plural = len(readonly_fields) >= 2
1511
+ warnings.warn(
1512
+ f'Item{"s" if plural else ""} {fields_repr} on TypedDict class {typed_dict_cls.__name__!r} '
1513
+ f'{"are" if plural else "is"} using the `ReadOnly` qualifier. Pydantic will not protect items '
1514
+ 'from any mutation on dictionary instances.',
1515
+ UserWarning,
1516
+ )
1517
+
1518
+ extra_behavior: core_schema.ExtraBehavior = 'ignore'
1519
+ extras_schema: CoreSchema | None = None # For 'allow', equivalent to `Any` - no validation performed.
1520
+
1521
+ is_closed, extra_items, extra_items_readonly = _get_typed_dict_extra_items(typed_dict_cls)
1522
+ if is_closed:
1523
+ extra_behavior = 'forbid'
1524
+ extras_schema = None
1525
+ elif not typing_objects.is_noextraitems(extra_items):
1526
+ extra_behavior = 'allow'
1527
+ extras_schema = self.generate_schema(replace_types(extra_items, typevars_map))
1528
+
1529
+ if extra_items_readonly:
1530
+ warnings.warn(
1531
+ f'Extra items on TypedDict class {typed_dict_cls.__name__!r} are using the `ReadOnly` qualifier. '
1532
+ 'Pydantic will not protect items from any mutation on dictionary instances.',
1533
+ UserWarning,
1534
+ )
1535
+
1536
+ if (config_extra := self._config_wrapper.extra) in ('allow', 'forbid'):
1537
+ if is_closed and config_extra == 'allow':
1538
+ warnings.warn(
1539
+ f"TypedDict class {typed_dict_cls.__qualname__!r} is closed, but 'extra' configuration "
1540
+ "is set to `'allow'`. The 'extra' configuration value will be ignored.",
1541
+ category=TypedDictExtraConfigWarning,
1542
+ )
1543
+ elif not typing_objects.is_noextraitems(extra_items) and config_extra == 'forbid':
1544
+ warnings.warn(
1545
+ f"TypedDict class {typed_dict_cls.__qualname__!r} allows extra items, but 'extra' configuration "
1546
+ "is set to `'forbid'`. The 'extra' configuration value will be ignored.",
1547
+ category=TypedDictExtraConfigWarning,
1548
+ )
1549
+ else:
1550
+ extra_behavior = config_extra
1551
+
1552
+ td_schema = core_schema.typed_dict_schema(
1553
+ fields,
1554
+ cls=typed_dict_cls,
1555
+ computed_fields=[
1556
+ self._computed_field_schema(d, decorators.field_serializers)
1557
+ for d in decorators.computed_fields.values()
1558
+ ],
1559
+ extra_behavior=extra_behavior,
1560
+ extras_schema=extras_schema,
1561
+ ref=typed_dict_ref,
1562
+ config=core_config,
1563
+ )
1564
+
1565
+ schema = self._apply_model_serializers(td_schema, decorators.model_serializers.values())
1566
+ schema = apply_model_validators(schema, decorators.model_validators.values(), 'all')
1567
+ return self.defs.create_definition_reference_schema(schema)
1568
+
1569
+ def _namedtuple_schema(self, namedtuple_cls: Any, origin: Any) -> core_schema.CoreSchema:
1570
+ """Generate schema for a NamedTuple."""
1571
+ namedtuple_ref = _type_refs.class_type_ref(namedtuple_cls, origin)
1572
+ with (
1573
+ self.model_type_stack.push(namedtuple_cls),
1574
+ self.defs.get_definition_ref_schema(ref=namedtuple_ref) as maybe_schema,
1575
+ ):
1576
+ if maybe_schema is not None:
1577
+ return maybe_schema
1578
+ typevars_map = get_standard_typevars_map(namedtuple_cls)
1579
+ if origin is not None:
1580
+ namedtuple_cls = origin
1581
+
1582
+ try:
1583
+ annotations = _typing_extra.get_cls_type_hints(namedtuple_cls, ns_resolver=self._ns_resolver)
1584
+ except NameError as e:
1585
+ raise PydanticUndefinedAnnotation.from_name_error(e) from e
1586
+
1587
+ # Filter annotations to only include fields that are actually in the NamedTuple
1588
+ # (as subclassing an existing NamedTuple is not supported yet - see https://github.com/python/typing/issues/427)
1589
+ # and use `Any` if no annotation exist (i.e. when using `collections.namedtuple()`).
1590
+ annotations = {field_name: annotations.get(field_name, Any) for field_name in namedtuple_cls._fields}
1591
+
1592
+ if typevars_map:
1593
+ annotations = {
1594
+ field_name: replace_types(annotation, typevars_map)
1595
+ for field_name, annotation in annotations.items()
1596
+ }
1597
+
1598
+ schema = core_schema.named_tuple_schema(
1599
+ namedtuple_cls,
1600
+ [
1601
+ self._generate_namedtuple_field_schema(
1602
+ field_name,
1603
+ annotation,
1604
+ default=namedtuple_cls._field_defaults.get(field_name, Parameter.empty),
1605
+ )
1606
+ for field_name, annotation in annotations.items()
1607
+ ],
1608
+ ref=namedtuple_ref,
1609
+ )
1610
+ return self.defs.create_definition_reference_schema(schema)
1611
+
1612
+ def _generate_namedtuple_field_schema(
1613
+ self,
1614
+ name: str,
1615
+ annotation: Any,
1616
+ default: Any = Parameter.empty,
1617
+ ) -> core_schema.NamedTupleField:
1618
+ """Generate the definition of a field in a named tuple."""
1619
+ FieldInfo = import_cached_field_info()
1620
+
1621
+ if default is Parameter.empty:
1622
+ field = FieldInfo.from_annotation(annotation, _source=AnnotationSource.NAMED_TUPLE)
1623
+ else:
1624
+ field = FieldInfo.from_annotated_attribute(annotation, default, _source=AnnotationSource.NAMED_TUPLE)
1625
+
1626
+ assert field.annotation is not None, 'field.annotation should not be None when generating a schema'
1627
+ update_field_from_config(self._config_wrapper, name, field)
1628
+
1629
+ with self.field_name_stack.push(name):
1630
+ schema = self._apply_annotations(
1631
+ field.annotation,
1632
+ [field],
1633
+ # Because we pass `field` as metadata above (required for attributes relevant for
1634
+ # JSON Scheme generation), we need to ignore the potential warnings about `FieldInfo`
1635
+ # attributes that will not be used:
1636
+ check_unsupported_field_info_attributes=False,
1637
+ )
1638
+
1639
+ if not field.is_required():
1640
+ schema = wrap_default(field, schema)
1641
+
1642
+ return core_schema.named_tuple_field(
1643
+ name,
1644
+ schema,
1645
+ validation_alias=_convert_to_aliases(field.validation_alias),
1646
+ )
1647
+
1648
+ def _generate_parameter_schema(
1649
+ self,
1650
+ name: str,
1651
+ annotation: type[Any],
1652
+ source: AnnotationSource,
1653
+ default: Any = Parameter.empty,
1654
+ mode: Literal['positional_only', 'positional_or_keyword', 'keyword_only'] | None = None,
1655
+ ) -> core_schema.ArgumentsParameter:
1656
+ """Generate the definition of a parameter in a function signature.
1657
+
1658
+ This definition is meant to be used for the `'arguments'` core schema, which will be replaced
1659
+ in V3 by the `'arguments-v3`'.
1660
+ """
1661
+ FieldInfo = import_cached_field_info()
1662
+
1663
+ if default is Parameter.empty:
1664
+ field = FieldInfo.from_annotation(annotation, _source=source)
1665
+ else:
1666
+ field = FieldInfo.from_annotated_attribute(annotation, default, _source=source)
1667
+
1668
+ assert field.annotation is not None, 'field.annotation should not be None when generating a schema'
1669
+ update_field_from_config(self._config_wrapper, name, field)
1670
+
1671
+ with self.field_name_stack.push(name):
1672
+ schema = self._apply_annotations(
1673
+ field.annotation,
1674
+ [field],
1675
+ # Because we pass `field` as metadata above (required for attributes relevant for
1676
+ # JSON Scheme generation), we need to ignore the potential warnings about `FieldInfo`
1677
+ # attributes that will not be used:
1678
+ check_unsupported_field_info_attributes=False,
1679
+ )
1680
+
1681
+ if not field.is_required():
1682
+ schema = wrap_default(field, schema)
1683
+
1684
+ parameter_schema = core_schema.arguments_parameter(
1685
+ name,
1686
+ schema,
1687
+ mode=mode,
1688
+ alias=_convert_to_aliases(field.validation_alias),
1689
+ )
1690
+
1691
+ return parameter_schema
1692
+
1693
+ def _generate_parameter_v3_schema(
1694
+ self,
1695
+ name: str,
1696
+ annotation: Any,
1697
+ source: AnnotationSource,
1698
+ mode: Literal[
1699
+ 'positional_only',
1700
+ 'positional_or_keyword',
1701
+ 'keyword_only',
1702
+ 'var_args',
1703
+ 'var_kwargs_uniform',
1704
+ 'var_kwargs_unpacked_typed_dict',
1705
+ ],
1706
+ default: Any = Parameter.empty,
1707
+ ) -> core_schema.ArgumentsV3Parameter:
1708
+ """Generate the definition of a parameter in a function signature.
1709
+
1710
+ This definition is meant to be used for the `'arguments-v3'` core schema, which will replace
1711
+ the `'arguments`' schema in V3.
1712
+ """
1713
+ FieldInfo = import_cached_field_info()
1714
+
1715
+ if default is Parameter.empty:
1716
+ field = FieldInfo.from_annotation(annotation, _source=source)
1717
+ else:
1718
+ field = FieldInfo.from_annotated_attribute(annotation, default, _source=source)
1719
+ update_field_from_config(self._config_wrapper, name, field)
1720
+
1721
+ with self.field_name_stack.push(name):
1722
+ schema = self._apply_annotations(
1723
+ field.annotation,
1724
+ [field],
1725
+ # Because we pass `field` as metadata above (required for attributes relevant for
1726
+ # JSON Scheme generation), we need to ignore the potential warnings about `FieldInfo`
1727
+ # attributes that will not be used:
1728
+ check_unsupported_field_info_attributes=False,
1729
+ )
1730
+
1731
+ if not field.is_required():
1732
+ schema = wrap_default(field, schema)
1733
+
1734
+ parameter_schema = core_schema.arguments_v3_parameter(
1735
+ name=name,
1736
+ schema=schema,
1737
+ mode=mode,
1738
+ alias=_convert_to_aliases(field.validation_alias),
1739
+ )
1740
+
1741
+ return parameter_schema
1742
+
1743
+ def _tuple_schema(self, tuple_type: Any) -> core_schema.CoreSchema:
1744
+ """Generate schema for a Tuple, e.g. `tuple[int, str]` or `tuple[int, ...]`."""
1745
+ # TODO: do we really need to resolve type vars here?
1746
+ typevars_map = get_standard_typevars_map(tuple_type)
1747
+ params = self._get_args_resolving_forward_refs(tuple_type)
1748
+
1749
+ if typevars_map and params:
1750
+ params = tuple(replace_types(param, typevars_map) for param in params)
1751
+
1752
+ # NOTE: subtle difference: `tuple[()]` gives `params=()`, whereas `typing.Tuple[()]` gives `params=((),)`
1753
+ # This is only true for <3.11, on Python 3.11+ `typing.Tuple[()]` gives `params=()`
1754
+ if not params:
1755
+ if tuple_type in TUPLE_TYPES:
1756
+ return core_schema.tuple_schema([core_schema.any_schema()], variadic_item_index=0)
1757
+ else:
1758
+ # special case for `tuple[()]` which means `tuple[]` - an empty tuple
1759
+ return core_schema.tuple_schema([])
1760
+ elif params[-1] is Ellipsis:
1761
+ if len(params) == 2:
1762
+ return core_schema.tuple_schema([self.generate_schema(params[0])], variadic_item_index=0)
1763
+ else:
1764
+ # TODO: something like https://github.com/pydantic/pydantic/issues/5952
1765
+ raise ValueError('Variable tuples can only have one type')
1766
+ elif len(params) == 1 and params[0] == ():
1767
+ # special case for `tuple[()]` which means `tuple[]` - an empty tuple
1768
+ # NOTE: This conditional can be removed when we drop support for Python 3.10.
1769
+ return core_schema.tuple_schema([])
1770
+ else:
1771
+ return core_schema.tuple_schema([self.generate_schema(param) for param in params])
1772
+
1773
+ def _type_schema(self) -> core_schema.CoreSchema:
1774
+ return core_schema.custom_error_schema(
1775
+ core_schema.is_instance_schema(type),
1776
+ custom_error_type='is_type',
1777
+ custom_error_message='Input should be a type',
1778
+ )
1779
+
1780
+ def _zoneinfo_schema(self) -> core_schema.CoreSchema:
1781
+ """Generate schema for a zone_info.ZoneInfo object"""
1782
+ from ._validators import validate_str_is_valid_iana_tz
1783
+
1784
+ metadata = {'pydantic_js_functions': [lambda _1, _2: {'type': 'string', 'format': 'zoneinfo'}]}
1785
+ return core_schema.no_info_plain_validator_function(
1786
+ validate_str_is_valid_iana_tz,
1787
+ serialization=core_schema.to_string_ser_schema(),
1788
+ metadata=metadata,
1789
+ )
1790
+
1791
+ def _union_is_subclass_schema(self, union_type: Any) -> core_schema.CoreSchema:
1792
+ """Generate schema for `type[Union[X, ...]]`."""
1793
+ args = self._get_args_resolving_forward_refs(union_type, required=True)
1794
+ return core_schema.union_schema([self.generate_schema(type[args]) for args in args])
1795
+
1796
+ def _subclass_schema(self, type_: Any) -> core_schema.CoreSchema:
1797
+ """Generate schema for a type, e.g. `type[int]`."""
1798
+ type_param = self._get_first_arg_or_any(type_)
1799
+
1800
+ # Assume `type[Annotated[<typ>, ...]]` is equivalent to `type[<typ>]`:
1801
+ type_param = _typing_extra.annotated_type(type_param) or type_param
1802
+
1803
+ if typing_objects.is_any(type_param):
1804
+ return self._type_schema()
1805
+ elif typing_objects.is_typealiastype(type_param):
1806
+ return self.generate_schema(type[type_param.__value__])
1807
+ elif typing_objects.is_typevar(type_param):
1808
+ if type_param.__bound__:
1809
+ if is_union_origin(get_origin(type_param.__bound__)):
1810
+ return self._union_is_subclass_schema(type_param.__bound__)
1811
+ return core_schema.is_subclass_schema(type_param.__bound__)
1812
+ elif type_param.__constraints__:
1813
+ return core_schema.union_schema([self.generate_schema(type[c]) for c in type_param.__constraints__])
1814
+ else:
1815
+ return self._type_schema()
1816
+ elif is_union_origin(get_origin(type_param)):
1817
+ return self._union_is_subclass_schema(type_param)
1818
+ else:
1819
+ if typing_objects.is_self(type_param):
1820
+ type_param = self._resolve_self_type(type_param)
1821
+ if _typing_extra.is_generic_alias(type_param):
1822
+ raise PydanticUserError(
1823
+ 'Subscripting `type[]` with an already parametrized type is not supported. '
1824
+ f'Instead of using type[{type_param!r}], use type[{_repr.display_as_type(get_origin(type_param))}].',
1825
+ code=None,
1826
+ )
1827
+ if not inspect.isclass(type_param):
1828
+ # when using type[None], this doesn't type convert to type[NoneType], and None isn't a class
1829
+ # so we handle it manually here
1830
+ if type_param is None:
1831
+ return core_schema.is_subclass_schema(NoneType)
1832
+ raise TypeError(f'Expected a class, got {type_param!r}')
1833
+ return core_schema.is_subclass_schema(type_param)
1834
+
1835
+ def _sequence_schema(self, items_type: Any) -> core_schema.CoreSchema:
1836
+ """Generate schema for a Sequence, e.g. `Sequence[int]`."""
1837
+ from ._serializers import serialize_sequence_via_list
1838
+
1839
+ item_type_schema = self.generate_schema(items_type)
1840
+ list_schema = core_schema.list_schema(item_type_schema)
1841
+
1842
+ json_schema = smart_deepcopy(list_schema)
1843
+ python_schema = core_schema.is_instance_schema(typing.Sequence, cls_repr='Sequence')
1844
+ if not typing_objects.is_any(items_type):
1845
+ from ._validators import sequence_validator
1846
+
1847
+ python_schema = core_schema.chain_schema(
1848
+ [python_schema, core_schema.no_info_wrap_validator_function(sequence_validator, list_schema)],
1849
+ )
1850
+
1851
+ serialization = core_schema.wrap_serializer_function_ser_schema(
1852
+ serialize_sequence_via_list, schema=item_type_schema, info_arg=True
1853
+ )
1854
+ return core_schema.json_or_python_schema(
1855
+ json_schema=json_schema, python_schema=python_schema, serialization=serialization
1856
+ )
1857
+
1858
+ def _iterable_schema(self, type_: Any) -> core_schema.GeneratorSchema:
1859
+ """Generate a schema for an `Iterable`."""
1860
+ item_type = self._get_first_arg_or_any(type_)
1861
+
1862
+ return core_schema.generator_schema(self.generate_schema(item_type))
1863
+
1864
+ def _pattern_schema(self, pattern_type: Any) -> core_schema.CoreSchema:
1865
+ from . import _validators
1866
+
1867
+ metadata = {'pydantic_js_functions': [lambda _1, _2: {'type': 'string', 'format': 'regex'}]}
1868
+ ser = core_schema.plain_serializer_function_ser_schema(
1869
+ attrgetter('pattern'), when_used='json', return_schema=core_schema.str_schema()
1870
+ )
1871
+ if pattern_type is typing.Pattern or pattern_type is re.Pattern:
1872
+ # bare type
1873
+ return core_schema.no_info_plain_validator_function(
1874
+ _validators.pattern_either_validator, serialization=ser, metadata=metadata
1875
+ )
1876
+
1877
+ param = self._get_args_resolving_forward_refs(
1878
+ pattern_type,
1879
+ required=True,
1880
+ )[0]
1881
+ if param is str:
1882
+ return core_schema.no_info_plain_validator_function(
1883
+ _validators.pattern_str_validator, serialization=ser, metadata=metadata
1884
+ )
1885
+ elif param is bytes:
1886
+ return core_schema.no_info_plain_validator_function(
1887
+ _validators.pattern_bytes_validator, serialization=ser, metadata=metadata
1888
+ )
1889
+ else:
1890
+ raise PydanticSchemaGenerationError(f'Unable to generate pydantic-core schema for {pattern_type!r}.')
1891
+
1892
+ def _hashable_schema(self) -> core_schema.CoreSchema:
1893
+ return core_schema.custom_error_schema(
1894
+ schema=core_schema.json_or_python_schema(
1895
+ json_schema=core_schema.chain_schema(
1896
+ [core_schema.any_schema(), core_schema.is_instance_schema(collections.abc.Hashable)]
1897
+ ),
1898
+ python_schema=core_schema.is_instance_schema(collections.abc.Hashable),
1899
+ ),
1900
+ custom_error_type='is_hashable',
1901
+ custom_error_message='Input should be hashable',
1902
+ )
1903
+
1904
+ def _dataclass_schema(
1905
+ self, dataclass: type[StandardDataclass], origin: type[StandardDataclass] | None
1906
+ ) -> core_schema.CoreSchema:
1907
+ """Generate schema for a dataclass."""
1908
+ dataclass_ref = _type_refs.class_type_ref(dataclass, origin)
1909
+ with (
1910
+ self.model_type_stack.push(dataclass),
1911
+ self.defs.get_definition_ref_schema(ref=dataclass_ref) as maybe_schema,
1912
+ ):
1913
+ if maybe_schema is not None:
1914
+ return maybe_schema
1915
+
1916
+ schema = dataclass.__dict__.get('__pydantic_core_schema__')
1917
+ if schema is not None and not isinstance(schema, MockCoreSchema):
1918
+ if schema['type'] == 'definitions':
1919
+ schema = self.defs.unpack_definitions(schema)
1920
+ ref = get_ref(schema)
1921
+ if ref:
1922
+ return self.defs.create_definition_reference_schema(schema)
1923
+ else:
1924
+ return schema
1925
+
1926
+ typevars_map = get_standard_typevars_map(dataclass)
1927
+ if origin is not None:
1928
+ dataclass = origin
1929
+
1930
+ # if (plain) dataclass doesn't have config, we use the parent's config, hence a default of `None`
1931
+ # (Pydantic dataclasses have an empty dict config by default).
1932
+ # see https://github.com/pydantic/pydantic/issues/10917
1933
+ config = getattr(dataclass, '__pydantic_config__', None)
1934
+
1935
+ from ..dataclasses import is_pydantic_dataclass
1936
+
1937
+ with self._ns_resolver.push(dataclass), self._config_wrapper_stack.push(config):
1938
+ if is_pydantic_dataclass(dataclass):
1939
+ if dataclass.__pydantic_fields_complete__():
1940
+ # Copy the field info instances to avoid mutating the `FieldInfo` instances
1941
+ # of the generic dataclass generic origin (e.g. `apply_typevars_map` below).
1942
+ # Note that we don't apply `deepcopy` on `__pydantic_fields__` because we
1943
+ # don't want to copy the `FieldInfo` attributes:
1944
+ fields = {
1945
+ f_name: copy(field_info) for f_name, field_info in dataclass.__pydantic_fields__.items()
1946
+ }
1947
+ if typevars_map:
1948
+ for field in fields.values():
1949
+ field.apply_typevars_map(typevars_map, *self._types_namespace)
1950
+ else:
1951
+ try:
1952
+ fields = rebuild_dataclass_fields(
1953
+ dataclass,
1954
+ config_wrapper=self._config_wrapper,
1955
+ ns_resolver=self._ns_resolver,
1956
+ typevars_map=typevars_map or {},
1957
+ )
1958
+ except NameError as e:
1959
+ raise PydanticUndefinedAnnotation.from_name_error(e) from e
1960
+ else:
1961
+ fields = collect_dataclass_fields(
1962
+ dataclass,
1963
+ typevars_map=typevars_map,
1964
+ config_wrapper=self._config_wrapper,
1965
+ )
1966
+
1967
+ if self._config_wrapper.extra == 'allow':
1968
+ # disallow combination of init=False on a dataclass field and extra='allow' on a dataclass
1969
+ for field_name, field in fields.items():
1970
+ if field.init is False:
1971
+ raise PydanticUserError(
1972
+ f'Field {field_name} has `init=False` and dataclass has config setting `extra="allow"`. '
1973
+ f'This combination is not allowed.',
1974
+ code='dataclass-init-false-extra-allow',
1975
+ )
1976
+
1977
+ decorators = dataclass.__dict__.get('__pydantic_decorators__')
1978
+ if decorators is None:
1979
+ decorators = DecoratorInfos.build(dataclass, replace_wrapped_methods=False)
1980
+ decorators.update_from_config(self._config_wrapper)
1981
+ # Move kw_only=False args to the start of the list, as this is how vanilla dataclasses work.
1982
+ # Note that when kw_only is missing or None, it is treated as equivalent to kw_only=True
1983
+ args = sorted(
1984
+ (self._generate_dc_field_schema(k, v, decorators) for k, v in fields.items()),
1985
+ key=lambda a: a.get('kw_only') is not False,
1986
+ )
1987
+ has_post_init = hasattr(dataclass, '__post_init__')
1988
+ has_slots = hasattr(dataclass, '__slots__')
1989
+
1990
+ args_schema = core_schema.dataclass_args_schema(
1991
+ dataclass.__name__,
1992
+ args,
1993
+ computed_fields=[
1994
+ self._computed_field_schema(d, decorators.field_serializers)
1995
+ for d in decorators.computed_fields.values()
1996
+ ],
1997
+ collect_init_only=has_post_init,
1998
+ )
1999
+
2000
+ inner_schema = apply_validators(args_schema, decorators.root_validators.values())
2001
+
2002
+ model_validators = decorators.model_validators.values()
2003
+ inner_schema = apply_model_validators(inner_schema, model_validators, 'inner')
2004
+
2005
+ core_config = self._config_wrapper.core_config(title=dataclass.__name__)
2006
+
2007
+ dc_schema = core_schema.dataclass_schema(
2008
+ dataclass,
2009
+ inner_schema,
2010
+ generic_origin=origin,
2011
+ post_init=has_post_init,
2012
+ ref=dataclass_ref,
2013
+ fields=[field.name for field in dataclasses.fields(dataclass)],
2014
+ slots=has_slots,
2015
+ config=core_config,
2016
+ # we don't use a custom __setattr__ for dataclasses, so we must
2017
+ # pass along the frozen config setting to the pydantic-core schema
2018
+ frozen=self._config_wrapper_stack.tail.frozen,
2019
+ )
2020
+ schema = self._apply_model_serializers(dc_schema, decorators.model_serializers.values())
2021
+ schema = apply_model_validators(schema, model_validators, 'outer')
2022
+ return self.defs.create_definition_reference_schema(schema)
2023
+
2024
+ def _call_schema(self, function: ValidateCallSupportedTypes) -> core_schema.CallSchema:
2025
+ """Generate schema for a Callable.
2026
+
2027
+ TODO support functional validators once we support them in Config
2028
+ """
2029
+ arguments_schema = self._arguments_schema(function)
2030
+
2031
+ return_schema: core_schema.CoreSchema | None = None
2032
+ config_wrapper = self._config_wrapper
2033
+ if config_wrapper.validate_return:
2034
+ sig = _typing_extra.signature_no_eval(function)
2035
+ return_hint = sig.return_annotation
2036
+ if return_hint is not sig.empty:
2037
+ globalns, localns = self._types_namespace
2038
+ type_hints = _typing_extra.get_function_type_hints(
2039
+ function, globalns=globalns, localns=localns, include_keys={'return'}
2040
+ )
2041
+ return_schema = self.generate_schema(type_hints['return'])
2042
+
2043
+ return core_schema.call_schema(
2044
+ arguments_schema,
2045
+ function,
2046
+ return_schema=return_schema,
2047
+ )
2048
+
2049
+ def _arguments_schema(
2050
+ self, function: ValidateCallSupportedTypes, parameters_callback: ParametersCallback | None = None
2051
+ ) -> core_schema.ArgumentsSchema:
2052
+ """Generate schema for a Signature."""
2053
+ mode_lookup: dict[_ParameterKind, Literal['positional_only', 'positional_or_keyword', 'keyword_only']] = {
2054
+ Parameter.POSITIONAL_ONLY: 'positional_only',
2055
+ Parameter.POSITIONAL_OR_KEYWORD: 'positional_or_keyword',
2056
+ Parameter.KEYWORD_ONLY: 'keyword_only',
2057
+ }
2058
+
2059
+ sig = _typing_extra.signature_no_eval(function)
2060
+ globalns, localns = self._types_namespace
2061
+ type_hints = _typing_extra.get_function_type_hints(function, globalns=globalns, localns=localns)
2062
+
2063
+ arguments_list: list[core_schema.ArgumentsParameter] = []
2064
+ var_args_schema: core_schema.CoreSchema | None = None
2065
+ var_kwargs_schema: core_schema.CoreSchema | None = None
2066
+ var_kwargs_mode: core_schema.VarKwargsMode | None = None
2067
+
2068
+ core_config = self._config_wrapper.core_config(title=None)
2069
+
2070
+ for i, (name, p) in enumerate(sig.parameters.items()):
2071
+ if p.annotation is sig.empty:
2072
+ annotation = typing.cast(Any, Any)
2073
+ else:
2074
+ annotation = type_hints[name]
2075
+
2076
+ if parameters_callback is not None:
2077
+ result = parameters_callback(i, name, annotation)
2078
+ if result == 'skip':
2079
+ continue
2080
+
2081
+ parameter_mode = mode_lookup.get(p.kind)
2082
+ if parameter_mode is not None:
2083
+ arg_schema = self._generate_parameter_schema(
2084
+ name, annotation, AnnotationSource.FUNCTION, p.default, parameter_mode
2085
+ )
2086
+ arguments_list.append(arg_schema)
2087
+ elif p.kind == Parameter.VAR_POSITIONAL:
2088
+ var_args_schema = self.generate_schema(annotation)
2089
+ else:
2090
+ assert p.kind == Parameter.VAR_KEYWORD, p.kind
2091
+
2092
+ unpack_type = _typing_extra.unpack_type(annotation)
2093
+ if unpack_type is not None:
2094
+ origin = get_origin(unpack_type) or unpack_type
2095
+ if not is_typeddict(origin):
2096
+ raise PydanticUserError(
2097
+ f'Expected a `TypedDict` class inside `Unpack[...]`, got {unpack_type!r}',
2098
+ code='unpack-typed-dict',
2099
+ )
2100
+ non_pos_only_param_names = {
2101
+ name for name, p in sig.parameters.items() if p.kind != Parameter.POSITIONAL_ONLY
2102
+ }
2103
+ overlapping_params = non_pos_only_param_names.intersection(origin.__annotations__)
2104
+ if overlapping_params:
2105
+ raise PydanticUserError(
2106
+ f'Typed dictionary {origin.__name__!r} overlaps with parameter'
2107
+ f'{"s" if len(overlapping_params) >= 2 else ""} '
2108
+ f'{", ".join(repr(p) for p in sorted(overlapping_params))}',
2109
+ code='overlapping-unpack-typed-dict',
2110
+ )
2111
+
2112
+ var_kwargs_mode = 'unpacked-typed-dict'
2113
+ var_kwargs_schema = self._typed_dict_schema(unpack_type, get_origin(unpack_type))
2114
+ else:
2115
+ var_kwargs_mode = 'uniform'
2116
+ var_kwargs_schema = self.generate_schema(annotation)
2117
+
2118
+ return core_schema.arguments_schema(
2119
+ arguments_list,
2120
+ var_args_schema=var_args_schema,
2121
+ var_kwargs_mode=var_kwargs_mode,
2122
+ var_kwargs_schema=var_kwargs_schema,
2123
+ validate_by_name=core_config.get('validate_by_name'),
2124
+ )
2125
+
2126
+ def _arguments_v3_schema(
2127
+ self, function: ValidateCallSupportedTypes, parameters_callback: ParametersCallback | None = None
2128
+ ) -> core_schema.ArgumentsV3Schema:
2129
+ mode_lookup: dict[
2130
+ _ParameterKind, Literal['positional_only', 'positional_or_keyword', 'var_args', 'keyword_only']
2131
+ ] = {
2132
+ Parameter.POSITIONAL_ONLY: 'positional_only',
2133
+ Parameter.POSITIONAL_OR_KEYWORD: 'positional_or_keyword',
2134
+ Parameter.VAR_POSITIONAL: 'var_args',
2135
+ Parameter.KEYWORD_ONLY: 'keyword_only',
2136
+ }
2137
+
2138
+ sig = _typing_extra.signature_no_eval(function)
2139
+ globalns, localns = self._types_namespace
2140
+ type_hints = _typing_extra.get_function_type_hints(function, globalns=globalns, localns=localns)
2141
+
2142
+ parameters_list: list[core_schema.ArgumentsV3Parameter] = []
2143
+ core_config = self._config_wrapper.core_config(title=None)
2144
+
2145
+ for i, (name, p) in enumerate(sig.parameters.items()):
2146
+ if parameters_callback is not None:
2147
+ result = parameters_callback(i, name, p.annotation)
2148
+ if result == 'skip':
2149
+ continue
2150
+
2151
+ if p.annotation is Parameter.empty:
2152
+ annotation = typing.cast(Any, Any)
2153
+ else:
2154
+ annotation = type_hints[name]
2155
+
2156
+ parameter_mode = mode_lookup.get(p.kind)
2157
+ if parameter_mode is None:
2158
+ assert p.kind == Parameter.VAR_KEYWORD, p.kind
2159
+
2160
+ unpack_type = _typing_extra.unpack_type(annotation)
2161
+ if unpack_type is not None:
2162
+ origin = get_origin(unpack_type) or unpack_type
2163
+ if not is_typeddict(origin):
2164
+ raise PydanticUserError(
2165
+ f'Expected a `TypedDict` class inside `Unpack[...]`, got {unpack_type!r}',
2166
+ code='unpack-typed-dict',
2167
+ )
2168
+ non_pos_only_param_names = {
2169
+ name for name, p in sig.parameters.items() if p.kind != Parameter.POSITIONAL_ONLY
2170
+ }
2171
+ overlapping_params = non_pos_only_param_names.intersection(origin.__annotations__)
2172
+ if overlapping_params:
2173
+ raise PydanticUserError(
2174
+ f'Typed dictionary {origin.__name__!r} overlaps with parameter'
2175
+ f'{"s" if len(overlapping_params) >= 2 else ""} '
2176
+ f'{", ".join(repr(p) for p in sorted(overlapping_params))}',
2177
+ code='overlapping-unpack-typed-dict',
2178
+ )
2179
+ parameter_mode = 'var_kwargs_unpacked_typed_dict'
2180
+ annotation = unpack_type
2181
+ else:
2182
+ parameter_mode = 'var_kwargs_uniform'
2183
+
2184
+ parameters_list.append(
2185
+ self._generate_parameter_v3_schema(
2186
+ name, annotation, AnnotationSource.FUNCTION, parameter_mode, default=p.default
2187
+ )
2188
+ )
2189
+
2190
+ return core_schema.arguments_v3_schema(
2191
+ parameters_list,
2192
+ validate_by_name=core_config.get('validate_by_name'),
2193
+ )
2194
+
2195
+ def _unsubstituted_typevar_schema(self, typevar: typing.TypeVar) -> core_schema.CoreSchema:
2196
+ try:
2197
+ has_default = typevar.has_default() # pyright: ignore[reportAttributeAccessIssue]
2198
+ except AttributeError:
2199
+ # Happens if using `typing.TypeVar` (and not `typing_extensions`) on Python < 3.13
2200
+ pass
2201
+ else:
2202
+ if has_default:
2203
+ return self.generate_schema(typevar.__default__) # pyright: ignore[reportAttributeAccessIssue]
2204
+
2205
+ if constraints := typevar.__constraints__:
2206
+ return self._union_schema(typing.Union[constraints]) # noqa: UP007
2207
+
2208
+ if bound := typevar.__bound__:
2209
+ schema = self.generate_schema(bound)
2210
+ schema['serialization'] = core_schema.simple_ser_schema('any')
2211
+ return schema
2212
+
2213
+ return core_schema.any_schema()
2214
+
2215
+ def _computed_field_schema(
2216
+ self,
2217
+ d: Decorator[ComputedFieldInfo],
2218
+ field_serializers: dict[str, Decorator[FieldSerializerDecoratorInfo]],
2219
+ ) -> core_schema.ComputedField:
2220
+ if d.info.return_type is not PydanticUndefined:
2221
+ return_type = d.info.return_type
2222
+ else:
2223
+ try:
2224
+ # Do not pass in globals as the function could be defined in a different module.
2225
+ # Instead, let `get_callable_return_type` infer the globals to use, but still pass
2226
+ # in locals that may contain a parent/rebuild namespace:
2227
+ return_type = _decorators.get_callable_return_type(d.func, localns=self._types_namespace.locals)
2228
+ except NameError as e:
2229
+ raise PydanticUndefinedAnnotation.from_name_error(e) from e
2230
+ if return_type is PydanticUndefined:
2231
+ raise PydanticUserError(
2232
+ 'Computed field is missing return type annotation or specifying `return_type`'
2233
+ ' to the `@computed_field` decorator (e.g. `@computed_field(return_type=int | str)`)',
2234
+ code='model-field-missing-annotation',
2235
+ )
2236
+
2237
+ return_type = replace_types(return_type, self._typevars_map)
2238
+ # Create a new ComputedFieldInfo so that different type parametrizations of the same
2239
+ # generic model's computed field can have different return types.
2240
+ d.info = dataclasses.replace(d.info, return_type=return_type)
2241
+ return_type_schema = self.generate_schema(return_type)
2242
+ # Apply serializers to computed field if there exist
2243
+ return_type_schema = self._apply_field_serializers(
2244
+ return_type_schema,
2245
+ filter_field_decorator_info_by_field(field_serializers.values(), d.cls_var_name),
2246
+ )
2247
+
2248
+ pydantic_js_updates, pydantic_js_extra = _extract_json_schema_info_from_field_info(d.info)
2249
+ core_metadata: dict[str, Any] = {}
2250
+ update_core_metadata(
2251
+ core_metadata,
2252
+ pydantic_js_updates={'readOnly': True, **(pydantic_js_updates if pydantic_js_updates else {})},
2253
+ pydantic_js_extra=pydantic_js_extra,
2254
+ )
2255
+ exclude_if = d.info.exclude_if
2256
+ # TODO: Should we support exclude_if from annotations?
2257
+ return core_schema.computed_field(
2258
+ d.cls_var_name,
2259
+ return_schema=return_type_schema,
2260
+ alias=d.info.alias,
2261
+ serialization_exclude_if=exclude_if,
2262
+ metadata=core_metadata,
2263
+ )
2264
+
2265
+ def _annotated_schema(self, annotated_type: Any) -> core_schema.CoreSchema:
2266
+ """Generate schema for an Annotated type, e.g. `Annotated[int, Field(...)]` or `Annotated[int, Gt(0)]`."""
2267
+ FieldInfo = import_cached_field_info()
2268
+ source_type, *annotations = self._get_args_resolving_forward_refs(
2269
+ annotated_type,
2270
+ required=True,
2271
+ )
2272
+ schema = self._apply_annotations(source_type, annotations)
2273
+ # put the default validator last so that TypeAdapter.get_default_value() works
2274
+ # even if there are function validators involved
2275
+ for annotation in annotations:
2276
+ if isinstance(annotation, FieldInfo):
2277
+ schema = wrap_default(annotation, schema)
2278
+ return schema
2279
+
2280
+ def _apply_annotations(
2281
+ self,
2282
+ source_type: Any,
2283
+ annotations: list[Any],
2284
+ transform_inner_schema: Callable[[CoreSchema], CoreSchema] = lambda x: x,
2285
+ check_unsupported_field_info_attributes: bool = True,
2286
+ ) -> CoreSchema:
2287
+ """Apply arguments from `Annotated` or from `FieldInfo` to a schema.
2288
+
2289
+ This gets called by `GenerateSchema._annotated_schema` but differs from it in that it does
2290
+ not expect `source_type` to be an `Annotated` object, it expects it to be the first argument of that
2291
+ (in other words, `GenerateSchema._annotated_schema` just unpacks `Annotated`, this process it).
2292
+ """
2293
+ annotations = list(_known_annotated_metadata.expand_grouped_metadata(annotations))
2294
+
2295
+ pydantic_js_annotation_functions: list[GetJsonSchemaFunction] = []
2296
+
2297
+ def inner_handler(obj: Any) -> CoreSchema:
2298
+ origin = get_origin(obj)
2299
+ schema: CoreSchema | None = None
2300
+ if origin is None:
2301
+ # If the type has an origin, it is guaranteed to *not* be an ordinary class that could have
2302
+ # a `__get_pydantic_core_schema__()` method:
2303
+ schema = self._generate_schema_from_get_schema_method(obj, source_type)
2304
+
2305
+ if schema is None:
2306
+ schema = self._generate_schema_inner(obj, origin)
2307
+
2308
+ # `__get_pydantic_json_schema__()` is checked on the origin if it exists:
2309
+ metadata_js_function = _extract_get_pydantic_json_schema(origin if origin is not None else obj)
2310
+ if metadata_js_function is not None:
2311
+ metadata_schema = resolve_original_schema(schema, self.defs)
2312
+ if metadata_schema is not None:
2313
+ self._add_js_function(metadata_schema, metadata_js_function)
2314
+ return transform_inner_schema(schema)
2315
+
2316
+ get_inner_schema = CallbackGetCoreSchemaHandler(inner_handler, self)
2317
+
2318
+ for annotation in annotations:
2319
+ if annotation is None:
2320
+ continue
2321
+ get_inner_schema = self._get_wrapped_inner_schema(
2322
+ get_inner_schema,
2323
+ annotation,
2324
+ pydantic_js_annotation_functions,
2325
+ check_unsupported_field_info_attributes=check_unsupported_field_info_attributes,
2326
+ )
2327
+
2328
+ schema = get_inner_schema(source_type)
2329
+ if pydantic_js_annotation_functions:
2330
+ core_metadata = schema.setdefault('metadata', {})
2331
+ update_core_metadata(core_metadata, pydantic_js_annotation_functions=pydantic_js_annotation_functions)
2332
+ return _add_custom_serialization_from_json_encoders(self._config_wrapper.json_encoders, source_type, schema)
2333
+
2334
+ def _apply_single_annotation(
2335
+ self,
2336
+ schema: core_schema.CoreSchema,
2337
+ metadata: Any,
2338
+ check_unsupported_field_info_attributes: bool = True,
2339
+ ) -> core_schema.CoreSchema:
2340
+ FieldInfo = import_cached_field_info()
2341
+
2342
+ if isinstance(metadata, FieldInfo):
2343
+ if (
2344
+ check_unsupported_field_info_attributes
2345
+ # HACK: we don't want to emit the warning for `FieldInfo` subclasses, because FastAPI does weird manipulations
2346
+ # with its subclasses and their annotations:
2347
+ and type(metadata) is FieldInfo
2348
+ ):
2349
+ for attr, value in (unsupported_attributes := self._get_unsupported_field_info_attributes(metadata)):
2350
+ warnings.warn(
2351
+ f'The {attr!r} attribute with value {value!r} was provided to the `Field()` function, '
2352
+ f'which has no effect in the context it was used. {attr!r} is field-specific metadata, '
2353
+ 'and can only be attached to a model field using `Annotated` metadata or by assignment. '
2354
+ 'This may have happened because an `Annotated` type alias using the `type` statement was '
2355
+ 'used, or if the `Field()` function was attached to a single member of a union type.',
2356
+ category=UnsupportedFieldAttributeWarning,
2357
+ )
2358
+
2359
+ if (
2360
+ metadata.default_factory_takes_validated_data
2361
+ and self.model_type_stack.get() is None
2362
+ and 'defaut_factory' not in unsupported_attributes
2363
+ ):
2364
+ warnings.warn(
2365
+ "A 'default_factory' taking validated data as an argument was provided to the `Field()` function, "
2366
+ 'but no validated data is available in the context it was used.',
2367
+ category=UnsupportedFieldAttributeWarning,
2368
+ )
2369
+
2370
+ for field_metadata in metadata.metadata:
2371
+ schema = self._apply_single_annotation(schema, field_metadata)
2372
+
2373
+ if metadata.discriminator is not None:
2374
+ schema = self._apply_discriminator_to_union(schema, metadata.discriminator)
2375
+ return schema
2376
+
2377
+ if schema['type'] == 'nullable':
2378
+ # for nullable schemas, metadata is automatically applied to the inner schema
2379
+ inner = schema.get('schema', core_schema.any_schema())
2380
+ inner = self._apply_single_annotation(inner, metadata)
2381
+ if inner:
2382
+ schema['schema'] = inner
2383
+ return schema
2384
+
2385
+ if schema['type'] == 'missing-sentinel' and (inner := schema.get('schema')) is not None:
2386
+ # Same behavior as for nullable schemas: metadata is automatically applied to the inner schema
2387
+ inner = self._apply_single_annotation(inner, metadata)
2388
+ if inner:
2389
+ schema['schema'] = inner
2390
+ return schema
2391
+
2392
+ original_schema = schema
2393
+ ref = schema.get('ref')
2394
+ if ref is not None:
2395
+ schema = schema.copy()
2396
+ new_ref = ref + f'_{repr(metadata)}'
2397
+ if (existing := self.defs.get_schema_from_ref(new_ref)) is not None:
2398
+ return existing
2399
+ schema['ref'] = new_ref # pyright: ignore[reportGeneralTypeIssues]
2400
+ elif schema['type'] == 'definition-ref':
2401
+ ref = schema['schema_ref']
2402
+ if (referenced_schema := self.defs.get_schema_from_ref(ref)) is not None:
2403
+ schema = referenced_schema.copy()
2404
+ new_ref = ref + f'_{repr(metadata)}'
2405
+ if (existing := self.defs.get_schema_from_ref(new_ref)) is not None:
2406
+ return existing
2407
+ schema['ref'] = new_ref # pyright: ignore[reportGeneralTypeIssues]
2408
+
2409
+ maybe_updated_schema = _known_annotated_metadata.apply_known_metadata(metadata, schema)
2410
+
2411
+ if maybe_updated_schema is not None:
2412
+ return maybe_updated_schema
2413
+ return original_schema
2414
+
2415
+ def _apply_single_annotation_json_schema(
2416
+ self, schema: core_schema.CoreSchema, metadata: Any
2417
+ ) -> core_schema.CoreSchema:
2418
+ FieldInfo = import_cached_field_info()
2419
+
2420
+ if isinstance(metadata, FieldInfo):
2421
+ for field_metadata in metadata.metadata:
2422
+ schema = self._apply_single_annotation_json_schema(schema, field_metadata)
2423
+
2424
+ pydantic_js_updates, pydantic_js_extra = _extract_json_schema_info_from_field_info(metadata)
2425
+ core_metadata = schema.setdefault('metadata', {})
2426
+ update_core_metadata(
2427
+ core_metadata, pydantic_js_updates=pydantic_js_updates, pydantic_js_extra=pydantic_js_extra
2428
+ )
2429
+ return schema
2430
+
2431
+ def _get_unsupported_field_info_attributes(self, field_info: FieldInfo) -> list[tuple[str, Any]]:
2432
+ """Get the list of unsupported `FieldInfo` attributes when not directly used in `Annotated` for field annotations."""
2433
+ unused_metadata: list[tuple[str, Any]] = []
2434
+ for unused_metadata_name, unset_value in UNSUPPORTED_STANDALONE_FIELDINFO_ATTRIBUTES:
2435
+ if (
2436
+ (unused_metadata_value := getattr(field_info, unused_metadata_name)) is not unset_value
2437
+ # `default` and `default_factory` can still be used with a type adapter, so only include them
2438
+ # if used with a model-like class:
2439
+ and (
2440
+ unused_metadata_name not in ('default', 'default_factory')
2441
+ or self.model_type_stack.get() is not None
2442
+ )
2443
+ # Setting `alias` will set `validation/serialization_alias` as well, so we want to avoid duplicate warnings:
2444
+ and (
2445
+ unused_metadata_name not in ('validation_alias', 'serialization_alias')
2446
+ or 'alias' not in field_info._attributes_set
2447
+ )
2448
+ ):
2449
+ unused_metadata.append((unused_metadata_name, unused_metadata_value))
2450
+
2451
+ return unused_metadata
2452
+
2453
+ def _get_wrapped_inner_schema(
2454
+ self,
2455
+ get_inner_schema: GetCoreSchemaHandler,
2456
+ annotation: Any,
2457
+ pydantic_js_annotation_functions: list[GetJsonSchemaFunction],
2458
+ check_unsupported_field_info_attributes: bool = False,
2459
+ ) -> CallbackGetCoreSchemaHandler:
2460
+ annotation_get_schema: GetCoreSchemaFunction | None = getattr(annotation, '__get_pydantic_core_schema__', None)
2461
+
2462
+ def new_handler(source: Any) -> core_schema.CoreSchema:
2463
+ if annotation_get_schema is not None:
2464
+ schema = annotation_get_schema(source, get_inner_schema)
2465
+ else:
2466
+ schema = get_inner_schema(source)
2467
+ schema = self._apply_single_annotation(
2468
+ schema,
2469
+ annotation,
2470
+ check_unsupported_field_info_attributes=check_unsupported_field_info_attributes,
2471
+ )
2472
+ schema = self._apply_single_annotation_json_schema(schema, annotation)
2473
+
2474
+ metadata_js_function = _extract_get_pydantic_json_schema(annotation)
2475
+ if metadata_js_function is not None:
2476
+ pydantic_js_annotation_functions.append(metadata_js_function)
2477
+ return schema
2478
+
2479
+ return CallbackGetCoreSchemaHandler(new_handler, self)
2480
+
2481
+ def _apply_field_serializers(
2482
+ self,
2483
+ schema: core_schema.CoreSchema,
2484
+ serializers: list[Decorator[FieldSerializerDecoratorInfo]],
2485
+ ) -> core_schema.CoreSchema:
2486
+ """Apply field serializers to a schema."""
2487
+ if serializers:
2488
+ schema = copy(schema)
2489
+ if schema['type'] == 'definitions':
2490
+ inner_schema = schema['schema']
2491
+ schema['schema'] = self._apply_field_serializers(inner_schema, serializers)
2492
+ return schema
2493
+ elif 'ref' in schema:
2494
+ schema = self.defs.create_definition_reference_schema(schema)
2495
+
2496
+ # use the last serializer to make it easy to override a serializer set on a parent model
2497
+ serializer = serializers[-1]
2498
+ is_field_serializer, info_arg = inspect_field_serializer(serializer.func, serializer.info.mode)
2499
+
2500
+ if serializer.info.return_type is not PydanticUndefined:
2501
+ return_type = serializer.info.return_type
2502
+ else:
2503
+ try:
2504
+ # Do not pass in globals as the function could be defined in a different module.
2505
+ # Instead, let `get_callable_return_type` infer the globals to use, but still pass
2506
+ # in locals that may contain a parent/rebuild namespace:
2507
+ return_type = _decorators.get_callable_return_type(
2508
+ serializer.func, localns=self._types_namespace.locals
2509
+ )
2510
+ except NameError as e:
2511
+ raise PydanticUndefinedAnnotation.from_name_error(e) from e
2512
+
2513
+ if return_type is PydanticUndefined:
2514
+ return_schema = None
2515
+ else:
2516
+ return_schema = self.generate_schema(return_type)
2517
+
2518
+ if serializer.info.mode == 'wrap':
2519
+ schema['serialization'] = core_schema.wrap_serializer_function_ser_schema(
2520
+ serializer.func,
2521
+ is_field_serializer=is_field_serializer,
2522
+ info_arg=info_arg,
2523
+ return_schema=return_schema,
2524
+ when_used=serializer.info.when_used,
2525
+ )
2526
+ else:
2527
+ assert serializer.info.mode == 'plain'
2528
+ schema['serialization'] = core_schema.plain_serializer_function_ser_schema(
2529
+ serializer.func,
2530
+ is_field_serializer=is_field_serializer,
2531
+ info_arg=info_arg,
2532
+ return_schema=return_schema,
2533
+ when_used=serializer.info.when_used,
2534
+ )
2535
+ return schema
2536
+
2537
+ def _apply_model_serializers(
2538
+ self, schema: core_schema.CoreSchema, serializers: Iterable[Decorator[ModelSerializerDecoratorInfo]]
2539
+ ) -> core_schema.CoreSchema:
2540
+ """Apply model serializers to a schema."""
2541
+ ref: str | None = schema.pop('ref', None) # type: ignore
2542
+ if serializers:
2543
+ serializer = list(serializers)[-1]
2544
+ info_arg = inspect_model_serializer(serializer.func, serializer.info.mode)
2545
+
2546
+ if serializer.info.return_type is not PydanticUndefined:
2547
+ return_type = serializer.info.return_type
2548
+ else:
2549
+ try:
2550
+ # Do not pass in globals as the function could be defined in a different module.
2551
+ # Instead, let `get_callable_return_type` infer the globals to use, but still pass
2552
+ # in locals that may contain a parent/rebuild namespace:
2553
+ return_type = _decorators.get_callable_return_type(
2554
+ serializer.func, localns=self._types_namespace.locals
2555
+ )
2556
+ except NameError as e:
2557
+ raise PydanticUndefinedAnnotation.from_name_error(e) from e
2558
+
2559
+ if return_type is PydanticUndefined:
2560
+ return_schema = None
2561
+ else:
2562
+ return_schema = self.generate_schema(return_type)
2563
+
2564
+ if serializer.info.mode == 'wrap':
2565
+ ser_schema: core_schema.SerSchema = core_schema.wrap_serializer_function_ser_schema(
2566
+ serializer.func,
2567
+ info_arg=info_arg,
2568
+ return_schema=return_schema,
2569
+ when_used=serializer.info.when_used,
2570
+ )
2571
+ else:
2572
+ # plain
2573
+ ser_schema = core_schema.plain_serializer_function_ser_schema(
2574
+ serializer.func,
2575
+ info_arg=info_arg,
2576
+ return_schema=return_schema,
2577
+ when_used=serializer.info.when_used,
2578
+ )
2579
+ schema['serialization'] = ser_schema
2580
+ if ref:
2581
+ schema['ref'] = ref # type: ignore
2582
+ return schema
2583
+
2584
+
2585
+ _VALIDATOR_F_MATCH: Mapping[
2586
+ tuple[FieldValidatorModes, Literal['no-info', 'with-info']],
2587
+ Callable[[Callable[..., Any], core_schema.CoreSchema], core_schema.CoreSchema],
2588
+ ] = {
2589
+ ('before', 'no-info'): lambda f, schema: core_schema.no_info_before_validator_function(f, schema),
2590
+ ('after', 'no-info'): lambda f, schema: core_schema.no_info_after_validator_function(f, schema),
2591
+ ('plain', 'no-info'): lambda f, _: core_schema.no_info_plain_validator_function(f),
2592
+ ('wrap', 'no-info'): lambda f, schema: core_schema.no_info_wrap_validator_function(f, schema),
2593
+ ('before', 'with-info'): lambda f, schema: core_schema.with_info_before_validator_function(f, schema),
2594
+ ('after', 'with-info'): lambda f, schema: core_schema.with_info_after_validator_function(f, schema),
2595
+ ('plain', 'with-info'): lambda f, _: core_schema.with_info_plain_validator_function(f),
2596
+ ('wrap', 'with-info'): lambda f, schema: core_schema.with_info_wrap_validator_function(f, schema),
2597
+ }
2598
+
2599
+
2600
+ # TODO V3: this function is only used for deprecated decorators. It should
2601
+ # be removed once we drop support for those.
2602
+ def apply_validators(
2603
+ schema: core_schema.CoreSchema,
2604
+ validators: Iterable[Decorator[RootValidatorDecoratorInfo]]
2605
+ | Iterable[Decorator[ValidatorDecoratorInfo]]
2606
+ | Iterable[Decorator[FieldValidatorDecoratorInfo]],
2607
+ ) -> core_schema.CoreSchema:
2608
+ """Apply validators to a schema.
2609
+
2610
+ Args:
2611
+ schema: The schema to apply validators on.
2612
+ validators: An iterable of validators.
2613
+
2614
+ Returns:
2615
+ The updated schema.
2616
+ """
2617
+ for validator in validators:
2618
+ # Actually, type could be 'field' or 'model', but this is only used for deprecated
2619
+ # decorators, so let's not worry about it.
2620
+ info_arg = inspect_validator(validator.func, mode=validator.info.mode, type='field')
2621
+ val_type = 'with-info' if info_arg else 'no-info'
2622
+
2623
+ schema = _VALIDATOR_F_MATCH[(validator.info.mode, val_type)](validator.func, schema)
2624
+ return schema
2625
+
2626
+
2627
+ def _validators_require_validate_default(validators: Iterable[Decorator[ValidatorDecoratorInfo]]) -> bool:
2628
+ """In v1, if any of the validators for a field had `always=True`, the default value would be validated.
2629
+
2630
+ This serves as an auxiliary function for re-implementing that logic, by looping over a provided
2631
+ collection of (v1-style) ValidatorDecoratorInfo's and checking if any of them have `always=True`.
2632
+
2633
+ We should be able to drop this function and the associated logic calling it once we drop support
2634
+ for v1-style validator decorators. (Or we can extend it and keep it if we add something equivalent
2635
+ to the v1-validator `always` kwarg to `field_validator`.)
2636
+ """
2637
+ for validator in validators:
2638
+ if validator.info.always:
2639
+ return True
2640
+ return False
2641
+
2642
+
2643
+ def _convert_to_aliases(
2644
+ alias: str | AliasChoices | AliasPath | None,
2645
+ ) -> str | list[str | int] | list[list[str | int]] | None:
2646
+ if isinstance(alias, (AliasChoices, AliasPath)):
2647
+ return alias.convert_to_aliases()
2648
+ else:
2649
+ return alias
2650
+
2651
+
2652
+ def apply_model_validators(
2653
+ schema: core_schema.CoreSchema,
2654
+ validators: Iterable[Decorator[ModelValidatorDecoratorInfo]],
2655
+ mode: Literal['inner', 'outer', 'all'],
2656
+ ) -> core_schema.CoreSchema:
2657
+ """Apply model validators to a schema.
2658
+
2659
+ If mode == 'inner', only "before" validators are applied
2660
+ If mode == 'outer', validators other than "before" are applied
2661
+ If mode == 'all', all validators are applied
2662
+
2663
+ Args:
2664
+ schema: The schema to apply validators on.
2665
+ validators: An iterable of validators.
2666
+ mode: The validator mode.
2667
+
2668
+ Returns:
2669
+ The updated schema.
2670
+ """
2671
+ ref: str | None = schema.pop('ref', None) # type: ignore
2672
+ for validator in validators:
2673
+ if mode == 'inner' and validator.info.mode != 'before':
2674
+ continue
2675
+ if mode == 'outer' and validator.info.mode == 'before':
2676
+ continue
2677
+ info_arg = inspect_validator(validator.func, mode=validator.info.mode, type='model')
2678
+ if validator.info.mode == 'wrap':
2679
+ if info_arg:
2680
+ schema = core_schema.with_info_wrap_validator_function(function=validator.func, schema=schema)
2681
+ else:
2682
+ schema = core_schema.no_info_wrap_validator_function(function=validator.func, schema=schema)
2683
+ elif validator.info.mode == 'before':
2684
+ if info_arg:
2685
+ schema = core_schema.with_info_before_validator_function(function=validator.func, schema=schema)
2686
+ else:
2687
+ schema = core_schema.no_info_before_validator_function(function=validator.func, schema=schema)
2688
+ else:
2689
+ assert validator.info.mode == 'after'
2690
+ if info_arg:
2691
+ schema = core_schema.with_info_after_validator_function(function=validator.func, schema=schema)
2692
+ else:
2693
+ schema = core_schema.no_info_after_validator_function(function=validator.func, schema=schema)
2694
+ if ref:
2695
+ schema['ref'] = ref # type: ignore
2696
+ return schema
2697
+
2698
+
2699
+ def wrap_default(field_info: FieldInfo, schema: core_schema.CoreSchema) -> core_schema.CoreSchema:
2700
+ """Wrap schema with default schema if default value or `default_factory` are available.
2701
+
2702
+ Args:
2703
+ field_info: The field info object.
2704
+ schema: The schema to apply default on.
2705
+
2706
+ Returns:
2707
+ Updated schema by default value or `default_factory`.
2708
+ """
2709
+ if field_info.default_factory:
2710
+ return core_schema.with_default_schema(
2711
+ schema,
2712
+ default_factory=field_info.default_factory,
2713
+ default_factory_takes_data=takes_validated_data_argument(field_info.default_factory),
2714
+ validate_default=field_info.validate_default,
2715
+ )
2716
+ elif field_info.default is not PydanticUndefined:
2717
+ return core_schema.with_default_schema(
2718
+ schema, default=field_info.default, validate_default=field_info.validate_default
2719
+ )
2720
+ else:
2721
+ return schema
2722
+
2723
+
2724
+ def _extract_get_pydantic_json_schema(tp: Any) -> GetJsonSchemaFunction | None:
2725
+ """Extract `__get_pydantic_json_schema__` from a type, handling the deprecated `__modify_schema__`."""
2726
+ js_modify_function = getattr(tp, '__get_pydantic_json_schema__', None)
2727
+
2728
+ if hasattr(tp, '__modify_schema__'):
2729
+ BaseModel = import_cached_base_model()
2730
+
2731
+ has_custom_v2_modify_js_func = (
2732
+ js_modify_function is not None
2733
+ and BaseModel.__get_pydantic_json_schema__.__func__ # type: ignore
2734
+ not in (js_modify_function, getattr(js_modify_function, '__func__', None))
2735
+ )
2736
+
2737
+ if not has_custom_v2_modify_js_func:
2738
+ cls_name = getattr(tp, '__name__', None)
2739
+ raise PydanticUserError(
2740
+ f'The `__modify_schema__` method is not supported in Pydantic v2. '
2741
+ f'Use `__get_pydantic_json_schema__` instead{f" in class `{cls_name}`" if cls_name else ""}.',
2742
+ code='custom-json-schema',
2743
+ )
2744
+
2745
+ if js_modify_function is None:
2746
+ return None
2747
+
2748
+ return js_modify_function
2749
+
2750
+
2751
+ def resolve_original_schema(schema: CoreSchema, definitions: _Definitions) -> CoreSchema | None:
2752
+ if schema['type'] == 'definition-ref':
2753
+ return definitions.get_schema_from_ref(schema['schema_ref'])
2754
+ elif schema['type'] == 'definitions':
2755
+ return schema['schema']
2756
+ else:
2757
+ return schema
2758
+
2759
+
2760
+ def _inlining_behavior(
2761
+ def_ref: core_schema.DefinitionReferenceSchema,
2762
+ ) -> Literal['inline', 'keep', 'preserve_metadata']:
2763
+ """Determine the inlining behavior of the `'definition-ref'` schema.
2764
+
2765
+ - If no `'serialization'` schema and no metadata is attached, the schema can safely be inlined.
2766
+ - If it has metadata but only related to the deferred discriminator application, it can be inlined
2767
+ provided that such metadata is kept.
2768
+ - Otherwise, the schema should not be inlined. Doing so would remove the `'serialization'` schema or metadata.
2769
+ """
2770
+ if 'serialization' in def_ref:
2771
+ return 'keep'
2772
+ metadata = def_ref.get('metadata')
2773
+ if not metadata:
2774
+ return 'inline'
2775
+ if len(metadata) == 1 and 'pydantic_internal_union_discriminator' in metadata:
2776
+ return 'preserve_metadata'
2777
+ return 'keep'
2778
+
2779
+
2780
+ class _Definitions:
2781
+ """Keeps track of references and definitions."""
2782
+
2783
+ _recursively_seen: set[str]
2784
+ """A set of recursively seen references.
2785
+
2786
+ When a referenceable type is encountered, the `get_schema_or_ref` context manager is
2787
+ entered to compute the reference. If the type references itself by some way (e.g. for
2788
+ a dataclass a Pydantic model, the class can be referenced as a field annotation),
2789
+ entering the context manager again will yield a `'definition-ref'` schema that should
2790
+ short-circuit the normal generation process, as the reference was already in this set.
2791
+ """
2792
+
2793
+ _definitions: dict[str, core_schema.CoreSchema]
2794
+ """A mapping of references to their corresponding schema.
2795
+
2796
+ When a schema for a referenceable type is generated, it is stored in this mapping. If the
2797
+ same type is encountered again, the reference is yielded by the `get_schema_or_ref` context
2798
+ manager.
2799
+ """
2800
+
2801
+ def __init__(self) -> None:
2802
+ self._recursively_seen = set()
2803
+ self._definitions = {}
2804
+
2805
+ @contextmanager
2806
+ def get_definition_ref_schema(self, *, ref: str) -> Generator[core_schema.DefinitionReferenceSchema | None]:
2807
+ """Get a `'definition-ref'` schema for `ref`, if the reference was already encountered (or if we are in a cycle).
2808
+ Get a definition for `tp` if one exists.
2809
+
2810
+ This should be called for any type that can be identified by reference.
2811
+ This includes any recursive types.
2812
+
2813
+ At present the following types can be named/recursive:
2814
+
2815
+ - Pydantic model
2816
+ - Pydantic and stdlib dataclasses
2817
+ - Typed dictionaries
2818
+ - Named tuples
2819
+ - `TypeAliasType` instances
2820
+ - Enums
2821
+ """
2822
+ # return the reference if we're either (1) in a cycle or (2) it the reference was already encountered:
2823
+ if ref in self._recursively_seen or ref in self._definitions:
2824
+ yield core_schema.definition_reference_schema(ref)
2825
+ else:
2826
+ self._recursively_seen.add(ref)
2827
+ try:
2828
+ yield None
2829
+ finally:
2830
+ self._recursively_seen.discard(ref)
2831
+
2832
+ def get_schema_from_ref(self, ref: str) -> CoreSchema | None:
2833
+ """Resolve the schema from the given reference."""
2834
+ return self._definitions.get(ref)
2835
+
2836
+ def create_definition_reference_schema(self, schema: CoreSchema) -> core_schema.DefinitionReferenceSchema:
2837
+ """Store the schema as a definition and return a `'definition-reference'` schema pointing to it.
2838
+
2839
+ The schema must have a reference attached to it.
2840
+ """
2841
+ ref = schema['ref'] # pyright: ignore
2842
+ self._definitions[ref] = schema
2843
+ return core_schema.definition_reference_schema(ref)
2844
+
2845
+ def unpack_definitions(self, schema: core_schema.DefinitionsSchema) -> CoreSchema:
2846
+ """Store the definitions of the `'definitions'` core schema and return the inner core schema."""
2847
+ for def_schema in schema['definitions']:
2848
+ self._definitions[def_schema['ref']] = def_schema # pyright: ignore
2849
+ return schema['schema']
2850
+
2851
+ def finalize_schema(self, schema: CoreSchema) -> CoreSchema:
2852
+ """Finalize the core schema.
2853
+
2854
+ This traverses the core schema and referenced definitions, replaces `'definition-ref'` schemas
2855
+ by the referenced definition if possible, and applies deferred discriminators.
2856
+ """
2857
+ definitions = self._definitions
2858
+ try:
2859
+ gather_result = gather_schemas_for_cleaning(
2860
+ schema,
2861
+ definitions=definitions,
2862
+ )
2863
+ except MissingDefinitionError as e:
2864
+ raise InvalidSchemaError from e
2865
+
2866
+ remaining_defs: dict[str, CoreSchema] = {}
2867
+
2868
+ # References that will be kept as actual definitions (i.e. not inlined). When resolving an
2869
+ # "intermediate" `'definition-ref'` schema (see `_resolve_definition()`), we must not follow
2870
+ # the reference chain through one of these definitions:
2871
+ kept_refs = {
2872
+ ref
2873
+ for ref, inlinable_def_ref in gather_result['collected_references'].items()
2874
+ if inlinable_def_ref is None or _inlining_behavior(inlinable_def_ref) == 'keep'
2875
+ }
2876
+
2877
+ # Note: this logic doesn't play well when core schemas with deferred discriminator metadata
2878
+ # and references are encountered. See the `test_deferred_discriminated_union_and_references()` test.
2879
+ for ref, inlinable_def_ref in gather_result['collected_references'].items():
2880
+ if inlinable_def_ref is not None and (inlining_behavior := _inlining_behavior(inlinable_def_ref)) != 'keep':
2881
+ if inlining_behavior == 'inline':
2882
+ # `ref` was encountered, and only once:
2883
+ # - `inlinable_def_ref` is a `'definition-ref'` schema and is guaranteed to be
2884
+ # the only one. Transform it into the definition it points to.
2885
+ # - Do not store the definition in the `remaining_defs`.
2886
+ inlinable_def_ref.clear() # pyright: ignore[reportAttributeAccessIssue]
2887
+ inlinable_def_ref.update(self._resolve_definition(ref, definitions, kept_refs)) # pyright: ignore
2888
+ elif inlining_behavior == 'preserve_metadata':
2889
+ # `ref` was encountered, and only once, but contains discriminator metadata.
2890
+ # We will do the same thing as if `inlining_behavior` was `'inline'`, but make
2891
+ # sure to keep the metadata for the deferred discriminator application logic below.
2892
+ meta = inlinable_def_ref.pop('metadata')
2893
+ inlinable_def_ref.clear() # pyright: ignore[reportAttributeAccessIssue]
2894
+ inlinable_def_ref.update(self._resolve_definition(ref, definitions, kept_refs)) # pyright: ignore
2895
+ inlinable_def_ref['metadata'] = meta
2896
+ else:
2897
+ # `ref` was encountered, at least two times (or only once, but with metadata or a serialization schema):
2898
+ # - Do not inline the `'definition-ref'` schemas (they are not provided in the gather result anyway).
2899
+ # - Store the definition in the `remaining_defs`
2900
+ remaining_defs[ref] = self._resolve_definition(ref, definitions, kept_refs)
2901
+
2902
+ for cs in gather_result['deferred_discriminator_schemas']:
2903
+ discriminator: str | None = cs['metadata'].pop('pydantic_internal_union_discriminator', None) # pyright: ignore[reportTypedDictNotRequiredAccess]
2904
+ if discriminator is None:
2905
+ # This can happen in rare scenarios, when a deferred schema is present multiple times in the
2906
+ # gather result (e.g. when using the `Sequence` type -- see `test_sequence_discriminated_union()`).
2907
+ # In this case, a previous loop iteration applied the discriminator and so we can just skip it here.
2908
+ continue
2909
+ applied = _discriminated_union.apply_discriminator(cs.copy(), discriminator, remaining_defs)
2910
+ # Mutate the schema directly to have the discriminator applied
2911
+ cs.clear() # pyright: ignore[reportAttributeAccessIssue]
2912
+ cs.update(applied) # pyright: ignore
2913
+
2914
+ if remaining_defs:
2915
+ schema = core_schema.definitions_schema(schema=schema, definitions=[*remaining_defs.values()])
2916
+ return schema
2917
+
2918
+ def _resolve_definition(self, ref: str, definitions: dict[str, CoreSchema], kept_refs: set[str]) -> CoreSchema:
2919
+ definition = definitions[ref]
2920
+ if definition['type'] != 'definition-ref':
2921
+ return definition
2922
+
2923
+ # Some `'definition-ref'` schemas might act as "intermediate" references (e.g. when using
2924
+ # a PEP 695 type alias (which is referenceable) that references another PEP 695 type alias):
2925
+ visited: set[str] = set()
2926
+ while definition['type'] == 'definition-ref' and _inlining_behavior(definition) == 'inline':
2927
+ schema_ref = definition['schema_ref']
2928
+ if schema_ref in kept_refs and schema_ref != ref:
2929
+ # The reference chain leads to a *different* definition that is kept on its own (e.g. a
2930
+ # recursive model referenced through a PEP 695 type alias). Resolve to a reference
2931
+ # pointing to it instead of following the chain and inlining a copy of that definition,
2932
+ # which could otherwise introduce a reference cycle in the resulting schema.
2933
+ # Note: when `schema_ref == ref`, the reference points back to itself, which is a genuine
2934
+ # circular reference and is reported as an error by the `visited` logic below.
2935
+ return {**definition, 'ref': ref}
2936
+ if schema_ref in visited:
2937
+ raise PydanticUserError(
2938
+ f'{ref} contains a circular reference to itself.', code='circular-reference-schema'
2939
+ )
2940
+ visited.add(schema_ref)
2941
+ definition = definitions[schema_ref]
2942
+ return {**definition, 'ref': ref} # pyright: ignore[reportReturnType]
2943
+
2944
+
2945
+ class _FieldNameStack:
2946
+ __slots__ = ('_stack',)
2947
+
2948
+ def __init__(self) -> None:
2949
+ self._stack: list[str] = []
2950
+
2951
+ @contextmanager
2952
+ def push(self, field_name: str) -> Iterator[None]:
2953
+ self._stack.append(field_name)
2954
+ try:
2955
+ yield
2956
+ finally:
2957
+ self._stack.pop()
2958
+
2959
+ def get(self) -> str | None:
2960
+ if self._stack:
2961
+ return self._stack[-1]
2962
+ else:
2963
+ return None
2964
+
2965
+
2966
+ class _ModelTypeStack:
2967
+ __slots__ = ('_stack',)
2968
+
2969
+ def __init__(self) -> None:
2970
+ self._stack: list[type] = []
2971
+
2972
+ @contextmanager
2973
+ def push(self, type_obj: type) -> Iterator[None]:
2974
+ self._stack.append(type_obj)
2975
+ try:
2976
+ yield
2977
+ finally:
2978
+ self._stack.pop()
2979
+
2980
+ def get(self) -> type | None:
2981
+ if self._stack:
2982
+ return self._stack[-1]
2983
+ else:
2984
+ return None