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

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 +40 -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 +86 -0
  80. package/bin/deploom.cjs +223 -0
  81. package/bin/launch.cjs +71 -0
  82. package/bin/verify-runtime.cjs +42 -0
  83. package/package.json +41 -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,3261 @@
1
+ """!!! abstract "Usage Documentation"
2
+ [JSON Schema](../concepts/json_schema.md)
3
+
4
+ The `json_schema` module contains classes and functions to allow the way [JSON Schema](https://json-schema.org/)
5
+ is generated to be customized.
6
+
7
+ In general you shouldn't need to use this module directly; instead, you can use
8
+ [`BaseModel.model_json_schema`][pydantic.BaseModel.model_json_schema] and
9
+ [`TypeAdapter.json_schema`][pydantic.TypeAdapter.json_schema].
10
+ """
11
+
12
+ from __future__ import annotations as _annotations
13
+
14
+ import collections.abc
15
+ import dataclasses
16
+ import inspect
17
+ import math
18
+ import os
19
+ import re
20
+ import warnings
21
+ from collections import Counter, defaultdict
22
+ from collections.abc import Callable, Hashable, Iterable, Sequence
23
+ from copy import deepcopy
24
+ from enum import Enum
25
+ from re import Pattern
26
+ from typing import (
27
+ TYPE_CHECKING,
28
+ Annotated,
29
+ Any,
30
+ Literal,
31
+ NewType,
32
+ TypeAlias,
33
+ TypeVar,
34
+ cast,
35
+ overload,
36
+ )
37
+
38
+ import pydantic_core
39
+ from pydantic_core import MISSING, CoreSchema, PydanticOmit, core_schema, to_jsonable_python
40
+ from pydantic_core.core_schema import ComputedField
41
+ from typing_extensions import assert_never, deprecated, final
42
+ from typing_inspection.introspection import get_literal_values
43
+
44
+ from pydantic.warnings import PydanticDeprecatedSince26, PydanticDeprecatedSince29
45
+
46
+ from ._internal import (
47
+ _config,
48
+ _core_metadata,
49
+ _core_utils,
50
+ _decorators,
51
+ _mock_val_ser,
52
+ _schema_generation_shared,
53
+ _typing_extra,
54
+ )
55
+ from .annotated_handlers import GetJsonSchemaHandler
56
+ from .config import JsonDict, JsonValue
57
+ from .errors import PydanticInvalidForJsonSchema, PydanticUserError
58
+
59
+ if TYPE_CHECKING:
60
+ from . import ConfigDict
61
+ from ._internal._core_utils import CoreSchemaField, CoreSchemaOrField
62
+ from ._internal._dataclasses import PydanticDataclass
63
+ from ._internal._schema_generation_shared import GetJsonSchemaFunction
64
+ from .main import BaseModel
65
+
66
+
67
+ CoreSchemaOrFieldType = Literal[core_schema.CoreSchemaType, core_schema.CoreSchemaFieldType]
68
+ """
69
+ A type alias for defined schema types that represents a union of
70
+ `core_schema.CoreSchemaType` and
71
+ `core_schema.CoreSchemaFieldType`.
72
+ """
73
+
74
+ JsonSchemaValue = dict[str, Any]
75
+ """
76
+ A type alias for a JSON schema value. This is a dictionary of string keys to arbitrary JSON values.
77
+ """
78
+
79
+ JsonSchemaMode = Literal['validation', 'serialization']
80
+ """
81
+ A type alias that represents the mode of a JSON schema; either 'validation' or 'serialization'.
82
+
83
+ For some types, the inputs to validation differ from the outputs of serialization. For example,
84
+ computed fields will only be present when serializing, and should not be provided when
85
+ validating. This flag provides a way to indicate whether you want the JSON schema required
86
+ for validation inputs, or that will be matched by serialization outputs.
87
+ """
88
+
89
+ _MODE_TITLE_MAPPING: dict[JsonSchemaMode, str] = {'validation': 'Input', 'serialization': 'Output'}
90
+
91
+
92
+ JsonSchemaWarningKind = Literal['skipped-choice', 'non-serializable-default', 'skipped-discriminator']
93
+ """
94
+ A type alias representing the kinds of warnings that can be emitted during JSON schema generation.
95
+
96
+ See [`GenerateJsonSchema.render_warning_message`][pydantic.json_schema.GenerateJsonSchema.render_warning_message]
97
+ for more details.
98
+ """
99
+
100
+
101
+ class PydanticJsonSchemaWarning(UserWarning):
102
+ """This class is used to emit warnings produced during JSON schema generation.
103
+ See the [`GenerateJsonSchema.emit_warning`][pydantic.json_schema.GenerateJsonSchema.emit_warning] and
104
+ [`GenerateJsonSchema.render_warning_message`][pydantic.json_schema.GenerateJsonSchema.render_warning_message]
105
+ methods for more details; these can be overridden to control warning behavior.
106
+ """
107
+
108
+
109
+ NoDefault = object()
110
+ """A sentinel value used to indicate that no default value should be used when generating a JSON Schema
111
+ for a core schema with a default value.
112
+ """
113
+
114
+
115
+ # ##### JSON Schema Generation #####
116
+ DEFAULT_REF_TEMPLATE = '#/$defs/{model}'
117
+ """The default format string used to generate reference names."""
118
+
119
+ # There are three types of references relevant to building JSON schemas:
120
+ # 1. core_schema "ref" values; these are not exposed as part of the JSON schema
121
+ # * these might look like the fully qualified path of a model, its id, or something similar
122
+ CoreRef = NewType('CoreRef', str)
123
+ # 2. keys of the "definitions" object that will eventually go into the JSON schema
124
+ # * by default, these look like "MyModel", though may change in the presence of collisions
125
+ # * eventually, we may want to make it easier to modify the way these names are generated
126
+ DefsRef = NewType('DefsRef', str)
127
+ # 3. the values corresponding to the "$ref" key in the schema
128
+ # * By default, these look like "#/$defs/MyModel", as in {"$ref": "#/$defs/MyModel"}
129
+ JsonRef = NewType('JsonRef', str)
130
+
131
+ CoreModeRef = tuple[CoreRef, JsonSchemaMode]
132
+ JsonSchemaKeyT = TypeVar('JsonSchemaKeyT', bound=Hashable)
133
+
134
+ _PRIMITIVE_JSON_SCHEMA_TYPES = ('string', 'boolean', 'null', 'integer', 'number')
135
+
136
+
137
+ @dataclasses.dataclass(slots=True)
138
+ class _DefinitionsRemapping:
139
+ defs_remapping: dict[DefsRef, DefsRef]
140
+ json_remapping: dict[JsonRef, JsonRef]
141
+
142
+ @staticmethod
143
+ def from_prioritized_choices(
144
+ prioritized_choices: dict[DefsRef, list[DefsRef]],
145
+ defs_to_json: dict[DefsRef, JsonRef],
146
+ definitions: dict[DefsRef, JsonSchemaValue],
147
+ ) -> _DefinitionsRemapping:
148
+ """
149
+ This function should produce a remapping that replaces complex DefsRef with the simpler ones from the
150
+ prioritized_choices such that applying the name remapping would result in an equivalent JSON schema.
151
+ """
152
+ # We need to iteratively simplify the definitions until we reach a fixed point.
153
+ # The reason for this is that outer definitions may reference inner definitions that get simplified
154
+ # into an equivalent reference, and the outer definitions won't be equivalent until we've simplified
155
+ # the inner definitions.
156
+ copied_definitions = deepcopy(definitions)
157
+ definitions_schema = {'$defs': copied_definitions}
158
+ for _iter in range(100): # prevent an infinite loop in the case of a bug, 100 iterations should be enough
159
+ # For every possible remapped DefsRef, collect all schemas that DefsRef might be used for:
160
+ schemas_for_alternatives: dict[DefsRef, list[JsonSchemaValue]] = defaultdict(list)
161
+ for defs_ref in copied_definitions:
162
+ alternatives = prioritized_choices[defs_ref]
163
+ for alternative in alternatives:
164
+ schemas_for_alternatives[alternative].append(copied_definitions[defs_ref])
165
+
166
+ # Deduplicate the schemas for each alternative; the idea is that we only want to remap to a new DefsRef
167
+ # if it introduces no ambiguity, i.e., there is only one distinct schema for that DefsRef.
168
+ for defs_ref in schemas_for_alternatives:
169
+ schemas_for_alternatives[defs_ref] = _deduplicate_schemas(schemas_for_alternatives[defs_ref])
170
+
171
+ # Build the remapping
172
+ defs_remapping: dict[DefsRef, DefsRef] = {}
173
+ json_remapping: dict[JsonRef, JsonRef] = {}
174
+ for original_defs_ref in definitions:
175
+ alternatives = prioritized_choices[original_defs_ref]
176
+ # Pick the first alternative that has only one schema, since that means there is no collision
177
+ remapped_defs_ref = next(x for x in alternatives if len(schemas_for_alternatives[x]) == 1)
178
+ defs_remapping[original_defs_ref] = remapped_defs_ref
179
+
180
+ # Map all alternatives after the remapped one to the remapped one
181
+ # This ensures that intermediate simplifications are also remapped
182
+ remapped_index = alternatives.index(remapped_defs_ref)
183
+ for alt in alternatives[remapped_index:]:
184
+ json_remapping[defs_to_json[alt]] = defs_to_json[remapped_defs_ref]
185
+ remapping = _DefinitionsRemapping(defs_remapping, json_remapping)
186
+ new_definitions_schema = remapping.remap_json_schema({'$defs': copied_definitions})
187
+ if definitions_schema == new_definitions_schema:
188
+ # We've reached the fixed point
189
+ return remapping
190
+ definitions_schema = new_definitions_schema
191
+
192
+ raise PydanticInvalidForJsonSchema('Failed to simplify the JSON schema definitions')
193
+
194
+ def remap_defs_ref(self, ref: DefsRef) -> DefsRef:
195
+ return self.defs_remapping.get(ref, ref)
196
+
197
+ def remap_json_ref(self, ref: JsonRef) -> JsonRef:
198
+ return self.json_remapping.get(ref, ref)
199
+
200
+ def remap_json_schema(self, schema: Any) -> Any:
201
+ """
202
+ Recursively update the JSON schema replacing all $refs
203
+ """
204
+ if isinstance(schema, str):
205
+ # Note: this may not really be a JsonRef; we rely on having no collisions between JsonRefs and other strings
206
+ return self.remap_json_ref(JsonRef(schema))
207
+ elif isinstance(schema, list):
208
+ return [self.remap_json_schema(item) for item in schema]
209
+ elif isinstance(schema, dict):
210
+ for key, value in schema.items():
211
+ if key == '$ref' and isinstance(value, str):
212
+ schema['$ref'] = self.remap_json_ref(JsonRef(value))
213
+ elif key == '$defs':
214
+ schema['$defs'] = {
215
+ self.remap_defs_ref(DefsRef(key)): self.remap_json_schema(value)
216
+ for key, value in schema['$defs'].items()
217
+ }
218
+ else:
219
+ schema[key] = self.remap_json_schema(value)
220
+ return schema
221
+
222
+
223
+ class GenerateJsonSchema:
224
+ """!!! abstract "Usage Documentation"
225
+ [Customizing the JSON Schema Generation Process](../concepts/json_schema.md#customizing-the-json-schema-generation-process)
226
+
227
+ A class for generating JSON schemas.
228
+
229
+ This class generates JSON schemas based on configured parameters. The default schema dialect
230
+ is [https://json-schema.org/draft/2020-12/schema](https://json-schema.org/draft/2020-12/schema).
231
+ The class uses `by_alias` to configure how fields with
232
+ multiple names are handled and `ref_template` to format reference names.
233
+
234
+ Attributes:
235
+ schema_dialect: The JSON schema dialect used to generate the schema. See
236
+ [Declaring a Dialect](https://json-schema.org/understanding-json-schema/reference/schema.html#id4)
237
+ in the JSON Schema documentation for more information about dialects.
238
+ ignored_warning_kinds: Warnings to ignore when generating the schema. `self.render_warning_message` will
239
+ do nothing if its argument `kind` is in `ignored_warning_kinds`;
240
+ this value can be modified on subclasses to easily control which warnings are emitted.
241
+ by_alias: Whether to use field aliases when generating the schema.
242
+ ref_template: The format string used when generating reference names.
243
+ core_to_json_refs: A mapping of core refs to JSON refs.
244
+ core_to_defs_refs: A mapping of core refs to definition refs.
245
+ defs_to_core_refs: A mapping of definition refs to core refs.
246
+ json_to_defs_refs: A mapping of JSON refs to definition refs.
247
+ definitions: Definitions in the schema.
248
+
249
+ Args:
250
+ by_alias: Whether to use field aliases as keys in the generated JSON Schema. If `None` (the default),
251
+ aliases are used unless disabled by the configuration (i.e. `validate_by_alias=False` for validation
252
+ schemas). An explicit value takes precedence over the configuration.
253
+ ref_template: The format string to use when generating reference names.
254
+ union_format: The format to use when combining schemas from unions together. Can be one of:
255
+
256
+ - `'any_of'`: Use the [`anyOf`](https://json-schema.org/understanding-json-schema/reference/combining#anyOf)
257
+ keyword to combine schemas (the default).
258
+ - `'primitive_type_array'`: Use the [`type`](https://json-schema.org/understanding-json-schema/reference/type)
259
+ keyword as an array of strings, containing each type of the combination. If any of the schemas is not a primitive
260
+ type (`string`, `boolean`, `null`, `integer` or `number`) or contains constraints/metadata, falls back to
261
+ `any_of`.
262
+
263
+ Raises:
264
+ JsonSchemaError: If the instance of the class is inadvertently reused after generating a schema.
265
+ """
266
+
267
+ schema_dialect = 'https://json-schema.org/draft/2020-12/schema'
268
+
269
+ # `self.render_warning_message` will do nothing if its argument `kind` is in `ignored_warning_kinds`;
270
+ # this value can be modified on subclasses to easily control which warnings are emitted
271
+ ignored_warning_kinds: set[JsonSchemaWarningKind] = {'skipped-choice'}
272
+
273
+ def __init__(
274
+ self,
275
+ by_alias: bool | None = None,
276
+ ref_template: str = DEFAULT_REF_TEMPLATE,
277
+ union_format: Literal['any_of', 'primitive_type_array'] = 'any_of',
278
+ ) -> None:
279
+ # `None` means "not explicitly set": aliases are used, unless disabled by the config (e.g. `validate_by_alias`)
280
+ self._by_alias = by_alias
281
+ self.by_alias = by_alias is not False
282
+ self.ref_template = ref_template
283
+ self.union_format: Literal['any_of', 'primitive_type_array'] = union_format
284
+
285
+ self.core_to_json_refs: dict[CoreModeRef, JsonRef] = {}
286
+ self.core_to_defs_refs: dict[CoreModeRef, DefsRef] = {}
287
+ self.defs_to_core_refs: dict[DefsRef, CoreModeRef] = {}
288
+ self.json_to_defs_refs: dict[JsonRef, DefsRef] = {}
289
+
290
+ self.definitions: dict[DefsRef, JsonSchemaValue] = {}
291
+ self._config_wrapper_stack = _config.ConfigWrapperStack(_config.ConfigWrapper({}))
292
+
293
+ self._mode: JsonSchemaMode = 'validation'
294
+
295
+ # The following includes a mapping of a fully-unique defs ref choice to a list of preferred
296
+ # alternatives, which are generally simpler, such as only including the class name.
297
+ # At the end of schema generation, we use these to produce a JSON schema with more human-readable
298
+ # definitions, which would also work better in a generated OpenAPI client, etc.
299
+ self._prioritized_defsref_choices: dict[DefsRef, list[DefsRef]] = {}
300
+ self._collision_counter: dict[str, int] = defaultdict(int)
301
+ self._collision_index: dict[str, int] = {}
302
+
303
+ self._schema_type_to_method = self.build_schema_type_to_method()
304
+
305
+ # When we encounter definitions we need to try to build them immediately
306
+ # so that they are available schemas that reference them
307
+ # But it's possible that CoreSchema was never going to be used
308
+ # (e.g. because the CoreSchema that references short circuits is JSON schema generation without needing
309
+ # the reference) so instead of failing altogether if we can't build a definition we
310
+ # store the error raised and re-throw it if we end up needing that def
311
+ self._core_defs_invalid_for_json_schema: dict[DefsRef, PydanticInvalidForJsonSchema] = {}
312
+
313
+ # This changes to True after generating a schema, to prevent issues caused by accidental reuse
314
+ # of a single instance of a schema generator
315
+ self._used = False
316
+
317
+ @property
318
+ def _config(self) -> _config.ConfigWrapper:
319
+ return self._config_wrapper_stack.tail
320
+
321
+ @property
322
+ def mode(self) -> JsonSchemaMode:
323
+ if self._config.json_schema_mode_override is not None:
324
+ return self._config.json_schema_mode_override
325
+ else:
326
+ return self._mode
327
+
328
+ def build_schema_type_to_method(
329
+ self,
330
+ ) -> dict[CoreSchemaOrFieldType, Callable[[CoreSchemaOrField], JsonSchemaValue]]:
331
+ """Builds a dictionary mapping fields to methods for generating JSON schemas.
332
+
333
+ Returns:
334
+ A dictionary containing the mapping of `CoreSchemaOrFieldType` to a handler method.
335
+
336
+ Raises:
337
+ TypeError: If no method has been defined for generating a JSON schema for a given pydantic core schema type.
338
+ """
339
+ mapping: dict[CoreSchemaOrFieldType, Callable[[CoreSchemaOrField], JsonSchemaValue]] = {}
340
+ core_schema_types: list[CoreSchemaOrFieldType] = list(get_literal_values(CoreSchemaOrFieldType))
341
+ for key in core_schema_types:
342
+ method_name = f'{key.replace("-", "_")}_schema'
343
+ try:
344
+ mapping[key] = getattr(self, method_name)
345
+ except AttributeError as e: # pragma: no cover
346
+ if os.getenv('PYDANTIC_PRIVATE_ALLOW_UNHANDLED_SCHEMA_TYPES'):
347
+ continue
348
+ raise TypeError(
349
+ f'No method for generating JsonSchema for core_schema.type={key!r} '
350
+ f'(expected: {type(self).__name__}.{method_name})'
351
+ ) from e
352
+ return mapping
353
+
354
+ def generate_definitions(
355
+ self, inputs: Sequence[tuple[JsonSchemaKeyT, JsonSchemaMode, core_schema.CoreSchema]]
356
+ ) -> tuple[dict[tuple[JsonSchemaKeyT, JsonSchemaMode], JsonSchemaValue], dict[DefsRef, JsonSchemaValue]]:
357
+ """Generates JSON schema definitions from a list of core schemas, pairing the generated definitions with a
358
+ mapping that links the input keys to the definition references.
359
+
360
+ Args:
361
+ inputs: A sequence of tuples, where:
362
+
363
+ - The first element is a JSON schema key type.
364
+ - The second element is the JSON mode: either 'validation' or 'serialization'.
365
+ - The third element is a core schema.
366
+
367
+ Returns:
368
+ A tuple where:
369
+
370
+ - The first element is a dictionary whose keys are tuples of JSON schema key type and JSON mode, and
371
+ whose values are the JSON schema corresponding to that pair of inputs. (These schemas may have
372
+ JsonRef references to definitions that are defined in the second returned element.)
373
+ - The second element is a dictionary whose keys are definition references for the JSON schemas
374
+ from the first returned element, and whose values are the actual JSON schema definitions.
375
+
376
+ Raises:
377
+ PydanticUserError: Raised if the JSON schema generator has already been used to generate a JSON schema.
378
+ """
379
+ if self._used:
380
+ raise PydanticUserError(
381
+ 'This JSON schema generator has already been used to generate a JSON schema. '
382
+ f'You must create a new instance of {type(self).__name__} to generate a new JSON schema.',
383
+ code='json-schema-already-used',
384
+ )
385
+
386
+ for _, mode, schema in inputs:
387
+ self._mode = mode
388
+ self.generate_inner(schema)
389
+
390
+ definitions_remapping = self._build_definitions_remapping()
391
+
392
+ json_schemas_map: dict[tuple[JsonSchemaKeyT, JsonSchemaMode], DefsRef] = {}
393
+ for key, mode, schema in inputs:
394
+ self._mode = mode
395
+ json_schema = self.generate_inner(schema)
396
+ json_schemas_map[(key, mode)] = definitions_remapping.remap_json_schema(json_schema)
397
+
398
+ json_schema = {'$defs': self.definitions}
399
+ json_schema = definitions_remapping.remap_json_schema(json_schema)
400
+ self._used = True
401
+ return json_schemas_map, self.sort(json_schema['$defs']) # type: ignore
402
+
403
+ def generate(self, schema: CoreSchema, mode: JsonSchemaMode = 'validation') -> JsonSchemaValue:
404
+ """Generates a JSON schema for a specified schema in a specified mode.
405
+
406
+ Args:
407
+ schema: A Pydantic model.
408
+ mode: The mode in which to generate the schema. Defaults to 'validation'.
409
+
410
+ Returns:
411
+ A JSON schema representing the specified schema.
412
+
413
+ Raises:
414
+ PydanticUserError: If the JSON schema generator has already been used to generate a JSON schema.
415
+ """
416
+ self._mode = mode
417
+ if self._used:
418
+ raise PydanticUserError(
419
+ 'This JSON schema generator has already been used to generate a JSON schema. '
420
+ f'You must create a new instance of {type(self).__name__} to generate a new JSON schema.',
421
+ code='json-schema-already-used',
422
+ )
423
+
424
+ json_schema: JsonSchemaValue = self.generate_inner(schema)
425
+ json_ref_counts = self.get_json_ref_counts(json_schema)
426
+
427
+ ref = cast(JsonRef, json_schema.get('$ref'))
428
+ while ref is not None: # may need to unpack multiple levels
429
+ ref_json_schema = self.get_schema_from_definitions(ref)
430
+ if json_ref_counts[ref] == 1 and ref_json_schema is not None and len(json_schema) == 1:
431
+ # "Unpack" the ref since this is the only reference and there are no sibling keys
432
+ json_schema = ref_json_schema.copy() # copy to prevent recursive dict reference
433
+ json_ref_counts[ref] -= 1
434
+ ref = cast(JsonRef, json_schema.get('$ref'))
435
+ ref = None
436
+
437
+ self._garbage_collect_definitions(json_schema)
438
+ definitions_remapping = self._build_definitions_remapping()
439
+
440
+ if self.definitions:
441
+ json_schema['$defs'] = self.definitions
442
+
443
+ json_schema = definitions_remapping.remap_json_schema(json_schema)
444
+
445
+ # For now, we will not set the $schema key. However, if desired, this can be easily added by overriding
446
+ # this method and adding the following line after a call to super().generate(schema):
447
+ # json_schema['$schema'] = self.schema_dialect
448
+
449
+ self._used = True
450
+ return self.sort(json_schema)
451
+
452
+ def generate_inner(self, schema: CoreSchemaOrField) -> JsonSchemaValue: # noqa: C901
453
+ """Generates a JSON schema for a given core schema.
454
+
455
+ Args:
456
+ schema: The given core schema.
457
+
458
+ Returns:
459
+ The generated JSON schema.
460
+
461
+ TODO: the nested function definitions here seem like bad practice, I'd like to unpack these
462
+ in a future PR. It'd be great if we could shorten the call stack a bit for JSON schema generation,
463
+ and I think there's potential for that here.
464
+ """
465
+ # If a schema with the same CoreRef has been handled, just return a reference to it
466
+ # Note that this assumes that it will _never_ be the case that the same CoreRef is used
467
+ # on types that should have different JSON schemas
468
+ if 'ref' in schema:
469
+ core_ref = CoreRef(schema['ref']) # type: ignore[typeddict-item]
470
+ core_mode_ref = (core_ref, self.mode)
471
+ if core_mode_ref in self.core_to_defs_refs and self.core_to_defs_refs[core_mode_ref] in self.definitions:
472
+ return {'$ref': self.core_to_json_refs[core_mode_ref]}
473
+
474
+ def populate_defs(core_schema: CoreSchema, json_schema: JsonSchemaValue) -> JsonSchemaValue:
475
+ if 'ref' in core_schema:
476
+ core_ref = CoreRef(core_schema['ref']) # type: ignore[typeddict-item]
477
+ defs_ref, ref_json_schema = self.get_cache_defs_ref_schema(core_ref)
478
+ json_ref = JsonRef(ref_json_schema['$ref'])
479
+ # Replace the schema if it's not a reference to itself
480
+ # What we want to avoid is having the def be just a ref to itself
481
+ # which is what would happen if we blindly assigned any
482
+ if json_schema.get('$ref', None) != json_ref:
483
+ self.definitions[defs_ref] = json_schema
484
+ self._core_defs_invalid_for_json_schema.pop(defs_ref, None)
485
+ json_schema = ref_json_schema
486
+ return json_schema
487
+
488
+ def handler_func(schema_or_field: CoreSchemaOrField) -> JsonSchemaValue:
489
+ """Generate a JSON schema based on the input schema.
490
+
491
+ Args:
492
+ schema_or_field: The core schema to generate a JSON schema from.
493
+
494
+ Returns:
495
+ The generated JSON schema.
496
+
497
+ Raises:
498
+ TypeError: If an unexpected schema type is encountered.
499
+ """
500
+ # Generate the core-schema-type-specific bits of the schema generation:
501
+ json_schema: JsonSchemaValue | None = None
502
+ if self.mode == 'serialization' and 'serialization' in schema_or_field:
503
+ # In this case, we skip the JSON Schema generation of the schema
504
+ # and use the `'serialization'` schema instead (canonical example:
505
+ # `Annotated[int, PlainSerializer(str)]`).
506
+ ser_schema = schema_or_field['serialization'] # type: ignore
507
+ json_schema = self.ser_schema(ser_schema)
508
+
509
+ # It might be that the 'serialization'` is skipped depending on `when_used`.
510
+ # This is only relevant for `nullable` schemas though, so we special case here.
511
+ if (
512
+ json_schema is not None
513
+ and ser_schema.get('when_used') in ('unless-none', 'json-unless-none')
514
+ and schema_or_field['type'] == 'nullable'
515
+ ):
516
+ json_schema = self.get_union_of_schemas([{'type': 'null'}, json_schema])
517
+ if json_schema is None:
518
+ if _core_utils.is_core_schema(schema_or_field) or _core_utils.is_core_schema_field(schema_or_field):
519
+ generate_for_schema_type = self._schema_type_to_method[schema_or_field['type']]
520
+ json_schema = generate_for_schema_type(schema_or_field)
521
+ else:
522
+ raise TypeError(f'Unexpected schema type: schema={schema_or_field}')
523
+ return json_schema
524
+
525
+ current_handler = _schema_generation_shared.GenerateJsonSchemaHandler(self, handler_func)
526
+
527
+ metadata = cast(_core_metadata.CoreMetadata, schema.get('metadata', {}))
528
+
529
+ # TODO: I dislike that we have to wrap these basic dict updates in callables, is there any way around this?
530
+
531
+ if js_updates := metadata.get('pydantic_js_updates'):
532
+
533
+ def js_updates_handler_func(
534
+ schema_or_field: CoreSchemaOrField,
535
+ current_handler: GetJsonSchemaHandler = current_handler,
536
+ ) -> JsonSchemaValue:
537
+ json_schema = {**current_handler(schema_or_field), **js_updates}
538
+ return json_schema
539
+
540
+ current_handler = _schema_generation_shared.GenerateJsonSchemaHandler(self, js_updates_handler_func)
541
+
542
+ if js_extra := metadata.get('pydantic_js_extra'):
543
+
544
+ def js_extra_handler_func(
545
+ schema_or_field: CoreSchemaOrField,
546
+ current_handler: GetJsonSchemaHandler = current_handler,
547
+ ) -> JsonSchemaValue:
548
+ json_schema = current_handler(schema_or_field)
549
+ if isinstance(js_extra, dict):
550
+ json_schema.update(to_jsonable_python(js_extra))
551
+ elif callable(js_extra):
552
+ # similar to typing issue in _update_class_schema when we're working with callable js extra
553
+ js_extra(json_schema) # type: ignore
554
+ return json_schema
555
+
556
+ current_handler = _schema_generation_shared.GenerateJsonSchemaHandler(self, js_extra_handler_func)
557
+
558
+ for js_modify_function in metadata.get('pydantic_js_functions', ()):
559
+
560
+ def new_handler_func(
561
+ schema_or_field: CoreSchemaOrField,
562
+ current_handler: GetJsonSchemaHandler = current_handler,
563
+ js_modify_function: GetJsonSchemaFunction = js_modify_function,
564
+ ) -> JsonSchemaValue:
565
+ json_schema = js_modify_function(schema_or_field, current_handler)
566
+ if _core_utils.is_core_schema(schema_or_field):
567
+ json_schema = populate_defs(schema_or_field, json_schema)
568
+ original_schema = current_handler.resolve_ref_schema(json_schema)
569
+ ref = json_schema.pop('$ref', None)
570
+ if ref and json_schema:
571
+ original_schema.update(json_schema)
572
+ return original_schema
573
+
574
+ current_handler = _schema_generation_shared.GenerateJsonSchemaHandler(self, new_handler_func)
575
+
576
+ for js_modify_function in metadata.get('pydantic_js_annotation_functions', ()):
577
+
578
+ def new_handler_func(
579
+ schema_or_field: CoreSchemaOrField,
580
+ current_handler: GetJsonSchemaHandler = current_handler,
581
+ js_modify_function: GetJsonSchemaFunction = js_modify_function,
582
+ ) -> JsonSchemaValue:
583
+ return js_modify_function(schema_or_field, current_handler)
584
+
585
+ current_handler = _schema_generation_shared.GenerateJsonSchemaHandler(self, new_handler_func)
586
+
587
+ json_schema = current_handler(schema)
588
+ if _core_utils.is_core_schema(schema):
589
+ json_schema = populate_defs(schema, json_schema)
590
+ return json_schema
591
+
592
+ def sort(self, value: JsonSchemaValue, parent_key: str | None = None) -> JsonSchemaValue:
593
+ """Override this method to customize the sorting of the JSON schema (e.g., don't sort at all, sort all keys unconditionally, etc.)
594
+
595
+ By default, alphabetically sort the keys in the JSON schema, skipping the 'properties' and 'default' keys to preserve field definition order.
596
+ This sort is recursive, so it will sort all nested dictionaries as well.
597
+ """
598
+ sorted_dict: dict[str, JsonSchemaValue] = {}
599
+ keys = value.keys()
600
+ if parent_key not in ('properties', 'default'):
601
+ keys = sorted(keys)
602
+ for key in keys:
603
+ sorted_dict[key] = self._sort_recursive(value[key], parent_key=key)
604
+ return sorted_dict
605
+
606
+ def _sort_recursive(self, value: Any, parent_key: str | None = None) -> Any:
607
+ """Recursively sort a JSON schema value."""
608
+ if isinstance(value, dict):
609
+ sorted_dict: dict[str, JsonSchemaValue] = {}
610
+ keys = value.keys()
611
+ if parent_key not in ('properties', 'default'):
612
+ keys = sorted(keys)
613
+ for key in keys:
614
+ sorted_dict[key] = self._sort_recursive(value[key], parent_key=key)
615
+ return sorted_dict
616
+ elif isinstance(value, list):
617
+ sorted_list: list[JsonSchemaValue] = [self._sort_recursive(item, parent_key) for item in value]
618
+ return sorted_list
619
+ else:
620
+ return value
621
+
622
+ # ### Schema generation methods
623
+
624
+ def invalid_schema(self, schema: core_schema.InvalidSchema) -> JsonSchemaValue:
625
+ """Placeholder - should never be called."""
626
+
627
+ raise RuntimeError('Cannot generate schema for invalid_schema. This is a bug! Please report it.')
628
+
629
+ def any_schema(self, schema: core_schema.AnySchema) -> JsonSchemaValue:
630
+ """Generates a JSON schema that matches any value.
631
+
632
+ Args:
633
+ schema: The core schema.
634
+
635
+ Returns:
636
+ The generated JSON schema.
637
+ """
638
+ return {}
639
+
640
+ def none_schema(self, schema: core_schema.NoneSchema) -> JsonSchemaValue:
641
+ """Generates a JSON schema that matches `None`.
642
+
643
+ Args:
644
+ schema: The core schema.
645
+
646
+ Returns:
647
+ The generated JSON schema.
648
+ """
649
+ return {'type': 'null'}
650
+
651
+ def bool_schema(self, schema: core_schema.BoolSchema) -> JsonSchemaValue:
652
+ """Generates a JSON schema that matches a bool value.
653
+
654
+ Args:
655
+ schema: The core schema.
656
+
657
+ Returns:
658
+ The generated JSON schema.
659
+ """
660
+ return {'type': 'boolean'}
661
+
662
+ def int_schema(self, schema: core_schema.IntSchema) -> JsonSchemaValue:
663
+ """Generates a JSON schema that matches an int value.
664
+
665
+ Args:
666
+ schema: The core schema.
667
+
668
+ Returns:
669
+ The generated JSON schema.
670
+ """
671
+ json_schema: dict[str, Any] = {'type': 'integer'}
672
+ self.update_with_validations(json_schema, schema, self.ValidationsMapping.numeric)
673
+ json_schema = {k: v for k, v in json_schema.items() if v not in {math.inf, -math.inf}}
674
+ return json_schema
675
+
676
+ def float_schema(self, schema: core_schema.FloatSchema) -> JsonSchemaValue:
677
+ """Generates a JSON schema that matches a float value.
678
+
679
+ Args:
680
+ schema: The core schema.
681
+
682
+ Returns:
683
+ The generated JSON schema.
684
+ """
685
+ json_schema: dict[str, Any] = {'type': 'number'}
686
+ self.update_with_validations(json_schema, schema, self.ValidationsMapping.numeric)
687
+ json_schema = {k: v for k, v in json_schema.items() if v not in {math.inf, -math.inf}}
688
+ return json_schema
689
+
690
+ def fraction_schema(self, schema: core_schema.FractionSchema) -> JsonSchemaValue:
691
+ """Generates a JSON schema that matches a fraction value.
692
+
693
+ Args:
694
+ schema: The core schema.
695
+
696
+ Returns:
697
+ The generated JSON schema.
698
+
699
+ """
700
+ json_schema: JsonSchemaValue = {'type': 'string', 'format': 'fraction'}
701
+ if self.mode == 'validation':
702
+ le = schema.get('le')
703
+ ge = schema.get('ge')
704
+ lt = schema.get('lt')
705
+ gt = schema.get('gt')
706
+ json_schema = {
707
+ 'anyOf': [
708
+ self.float_schema(
709
+ core_schema.float_schema(
710
+ le=None if le is None else float(le),
711
+ ge=None if ge is None else float(ge),
712
+ lt=None if lt is None else float(lt),
713
+ gt=None if gt is None else float(gt),
714
+ )
715
+ ),
716
+ json_schema,
717
+ ],
718
+ }
719
+ return json_schema
720
+
721
+ def decimal_schema(self, schema: core_schema.DecimalSchema) -> JsonSchemaValue:
722
+ """Generates a JSON schema that matches a decimal value.
723
+
724
+ Args:
725
+ schema: The core schema.
726
+
727
+ Returns:
728
+ The generated JSON schema.
729
+ """
730
+ str_schema = core_schema.str_schema()
731
+ pattern = self.get_decimal_pattern(schema)
732
+ if pattern is not None:
733
+ str_schema['pattern'] = pattern
734
+ json_schema = self.str_schema(str_schema)
735
+ if self.mode == 'validation':
736
+ multiple_of = schema.get('multiple_of')
737
+ le = schema.get('le')
738
+ ge = schema.get('ge')
739
+ lt = schema.get('lt')
740
+ gt = schema.get('gt')
741
+ json_schema = {
742
+ 'anyOf': [
743
+ self.float_schema(
744
+ core_schema.float_schema(
745
+ allow_inf_nan=schema.get('allow_inf_nan'),
746
+ multiple_of=None if multiple_of is None else float(multiple_of),
747
+ le=None if le is None else float(le),
748
+ ge=None if ge is None else float(ge),
749
+ lt=None if lt is None else float(lt),
750
+ gt=None if gt is None else float(gt),
751
+ )
752
+ ),
753
+ json_schema,
754
+ ],
755
+ }
756
+ return json_schema
757
+
758
+ def get_decimal_pattern(self, schema: core_schema.DecimalSchema) -> str | None:
759
+ """Get the regular expression pattern to apply to the string representation of a decimal.
760
+
761
+ By default, no pattern is applied (`None` is returned). Subclasses can override this method
762
+ to return a custom pattern, or [`build_decimal_pattern()`][pydantic.json_schema.GenerateJsonSchema.build_decimal_pattern]
763
+ can be used to get a pattern reflecting the `max_digits` and `decimal_places` constraints:
764
+
765
+ ```python
766
+ from pydantic.json_schema import GenerateJsonSchema
767
+
768
+ class MyGenerateJsonSchema(GenerateJsonSchema):
769
+ def get_decimal_pattern(self, schema):
770
+ return self.build_decimal_pattern(schema)
771
+ ```
772
+
773
+ Args:
774
+ schema: The core schema.
775
+
776
+ Returns:
777
+ The regular expression pattern, or `None` if no pattern should be applied.
778
+ """
779
+ return None
780
+
781
+ def build_decimal_pattern(self, schema: core_schema.DecimalSchema) -> str:
782
+ """Build a regular expression pattern for the string representation of a decimal.
783
+
784
+ The pattern takes into account the `max_digits` and `decimal_places` constraints, and the current
785
+ mode:
786
+
787
+ - In `'validation'` mode, the pattern accepts the string syntax understood by the [`Decimal`][decimal.Decimal]
788
+ constructor. The `max_digits` and `decimal_places` constraints are only reflected for strings
789
+ *without* an exponent: strings using an exponent are accepted as long as they are syntactically valid,
790
+ as the constraints can't be expressed with a regular expression in this case.
791
+ - In `'serialization'` mode, the pattern exactly describes the strings produced by pydantic
792
+ (i.e. by `str(decimal)`) for decimals satisfying the constraints,
793
+ including the ones using scientific notation (e.g. `'1E-7'`, `'1.5E+3'`).
794
+
795
+ In both modes, trailing zeros in the decimal part are not counted (e.g. `'1.10'` is accepted with
796
+ `decimal_places=1`), consistent with the validation behavior. If `allow_inf_nan` is enabled (on the
797
+ core schema or in the configuration), the string representations of infinity and NaN are also accepted.
798
+
799
+ Args:
800
+ schema: The core schema.
801
+
802
+ Returns:
803
+ The regular expression pattern.
804
+ """
805
+ max_digits = schema.get('max_digits')
806
+ decimal_places = schema.get('decimal_places')
807
+ allow_inf_nan = schema.get('allow_inf_nan')
808
+ if allow_inf_nan is None:
809
+ allow_inf_nan = self._config.config_dict.get('allow_inf_nan', False)
810
+ if self.mode == 'validation':
811
+ return _decimal_validation_pattern(max_digits, decimal_places, allow_inf_nan)
812
+ else:
813
+ return _decimal_serialization_pattern(max_digits, decimal_places, allow_inf_nan)
814
+
815
+ def str_schema(self, schema: core_schema.StringSchema) -> JsonSchemaValue:
816
+ """Generates a JSON schema that matches a string value.
817
+
818
+ Args:
819
+ schema: The core schema.
820
+
821
+ Returns:
822
+ The generated JSON schema.
823
+ """
824
+ json_schema: JsonSchemaValue = {'type': 'string'}
825
+ self.update_with_validations(json_schema, schema, self.ValidationsMapping.string)
826
+ if 'minLength' not in json_schema and self._config.str_min_length:
827
+ json_schema['minLength'] = self._config.str_min_length
828
+ if 'maxLength' not in json_schema and self._config.str_max_length is not None:
829
+ json_schema['maxLength'] = self._config.str_max_length
830
+ if isinstance(json_schema.get('pattern'), Pattern):
831
+ # TODO: should we add regex flags to the pattern?
832
+ json_schema['pattern'] = json_schema.get('pattern').pattern # type: ignore
833
+ return json_schema
834
+
835
+ def bytes_schema(self, schema: core_schema.BytesSchema) -> JsonSchemaValue:
836
+ """Generates a JSON schema that matches a bytes value.
837
+
838
+ Args:
839
+ schema: The core schema.
840
+
841
+ Returns:
842
+ The generated JSON schema.
843
+ """
844
+ json_schema = {'type': 'string', 'format': 'base64url' if self._config.ser_json_bytes == 'base64' else 'binary'}
845
+ self.update_with_validations(json_schema, schema, self.ValidationsMapping.bytes)
846
+ return json_schema
847
+
848
+ def date_schema(self, schema: core_schema.DateSchema) -> JsonSchemaValue:
849
+ """Generates a JSON schema that matches a date value.
850
+
851
+ Args:
852
+ schema: The core schema.
853
+
854
+ Returns:
855
+ The generated JSON schema.
856
+ """
857
+ return self._common_temporal_schema('date', self._config.ser_json_temporal)
858
+
859
+ def time_schema(self, schema: core_schema.TimeSchema) -> JsonSchemaValue:
860
+ """Generates a JSON schema that matches a time value.
861
+
862
+ Args:
863
+ schema: The core schema.
864
+
865
+ Returns:
866
+ The generated JSON schema.
867
+ """
868
+ return self._common_temporal_schema('time', self._config.ser_json_temporal)
869
+
870
+ def datetime_schema(self, schema: core_schema.DatetimeSchema) -> JsonSchemaValue:
871
+ """Generates a JSON schema that matches a datetime value.
872
+
873
+ Args:
874
+ schema: The core schema.
875
+
876
+ Returns:
877
+ The generated JSON schema.
878
+ """
879
+ return self._common_temporal_schema('date-time', self._config.ser_json_temporal)
880
+
881
+ def timedelta_schema(self, schema: core_schema.TimedeltaSchema) -> JsonSchemaValue:
882
+ """Generates a JSON schema that matches a timedelta value.
883
+
884
+ Args:
885
+ schema: The core schema.
886
+
887
+ Returns:
888
+ The generated JSON schema.
889
+ """
890
+ if 'ser_json_temporal' in self._config.config_dict:
891
+ temporal_format = self._config.ser_json_temporal
892
+ else:
893
+ # `ser_json_temporal` supersedes `ser_json_timedelta`, which only applies when the former isn't
894
+ # explicitly set.
895
+ temporal_format = 'seconds' if self._config.ser_json_timedelta == 'float' else 'iso8601'
896
+ return self._common_temporal_schema('duration', temporal_format)
897
+
898
+ def _common_temporal_schema(
899
+ self, format: str, temporal_format: Literal['iso8601', 'seconds', 'milliseconds']
900
+ ) -> JsonSchemaValue:
901
+ if self.mode == 'serialization' and temporal_format != 'iso8601':
902
+ # Both `'seconds'` and `'milliseconds'` serialize to a number:
903
+ return {'type': 'number'}
904
+ return {'type': 'string', 'format': format}
905
+
906
+ def literal_schema(self, schema: core_schema.LiteralSchema) -> JsonSchemaValue:
907
+ """Generates a JSON schema that matches a literal value.
908
+
909
+ Args:
910
+ schema: The core schema.
911
+
912
+ Returns:
913
+ The generated JSON schema.
914
+ """
915
+ expected = [to_jsonable_python(v.value if isinstance(v, Enum) else v) for v in schema['expected']]
916
+
917
+ result: dict[str, Any] = {}
918
+ if len(expected) == 1:
919
+ result['const'] = expected[0]
920
+ else:
921
+ result['enum'] = expected
922
+
923
+ types = {type(e) for e in expected}
924
+ if types == {str}:
925
+ result['type'] = 'string'
926
+ elif types == {int}:
927
+ result['type'] = 'integer'
928
+ elif types == {float}:
929
+ result['type'] = 'number'
930
+ elif types == {bool}:
931
+ result['type'] = 'boolean'
932
+ elif types == {list}:
933
+ result['type'] = 'array'
934
+ elif types == {type(None)}:
935
+ result['type'] = 'null'
936
+ return result
937
+
938
+ def missing_sentinel_schema(self, schema: core_schema.MissingSentinelSchema) -> JsonSchemaValue:
939
+ """Generates a JSON schema that matches a schema that allows the `MISSING` sentinel value.
940
+
941
+ Args:
942
+ schema: The core schema.
943
+
944
+ Returns:
945
+ The generated JSON schema.
946
+ """
947
+ inner_schema = schema.get('schema')
948
+ if inner_schema is None:
949
+ raise PydanticOmit
950
+ return self.generate_inner(inner_schema)
951
+
952
+ def ellipsis_schema(self, schema: core_schema.EllipsisSchema) -> JsonSchemaValue:
953
+ """Handles JSON schema generation for a core schema that checks if a value is the [`Ellipsis`][] literal.
954
+
955
+ Unless overridden in a subclass, this raises an error.
956
+
957
+ Args:
958
+ schema: The core schema.
959
+
960
+ Returns:
961
+ The generated JSON schema.
962
+ """
963
+ return self.handle_invalid_for_json_schema(schema, 'core_schema.EllipsisSchema')
964
+
965
+ def enum_schema(self, schema: core_schema.EnumSchema) -> JsonSchemaValue:
966
+ """Generates a JSON schema that matches an Enum value.
967
+
968
+ Args:
969
+ schema: The core schema.
970
+
971
+ Returns:
972
+ The generated JSON schema.
973
+ """
974
+ enum_type = schema['cls']
975
+ description = None if not enum_type.__doc__ else inspect.cleandoc(enum_type.__doc__)
976
+ if (
977
+ description == 'An enumeration.'
978
+ ): # This is the default value provided by enum.EnumMeta.__new__; don't use it
979
+ description = None
980
+ result: dict[str, Any] = {'title': enum_type.__name__, 'description': description}
981
+ result = {k: v for k, v in result.items() if v is not None}
982
+
983
+ expected = [to_jsonable_python(v.value) for v in schema['members']]
984
+
985
+ result['enum'] = expected
986
+
987
+ types = {type(e) for e in expected}
988
+ if isinstance(enum_type, str) or types == {str}:
989
+ result['type'] = 'string'
990
+ elif isinstance(enum_type, int) or types == {int}:
991
+ result['type'] = 'integer'
992
+ elif isinstance(enum_type, float) or types == {float}:
993
+ result['type'] = 'number'
994
+ elif types == {bool}:
995
+ result['type'] = 'boolean'
996
+ elif types == {list}:
997
+ result['type'] = 'array'
998
+
999
+ return result
1000
+
1001
+ def is_instance_schema(self, schema: core_schema.IsInstanceSchema) -> JsonSchemaValue:
1002
+ """Handles JSON schema generation for a core schema that checks if a value is an instance of a class.
1003
+
1004
+ Unless overridden in a subclass, this raises an error.
1005
+
1006
+ Args:
1007
+ schema: The core schema.
1008
+
1009
+ Returns:
1010
+ The generated JSON schema.
1011
+ """
1012
+ return self.handle_invalid_for_json_schema(schema, f'core_schema.IsInstanceSchema ({schema["cls"]})')
1013
+
1014
+ def is_subclass_schema(self, schema: core_schema.IsSubclassSchema) -> JsonSchemaValue:
1015
+ """Handles JSON schema generation for a core schema that checks if a value is a subclass of a class.
1016
+
1017
+ For backwards compatibility with v1, this does not raise an error, but can be overridden to change this.
1018
+
1019
+ Args:
1020
+ schema: The core schema.
1021
+
1022
+ Returns:
1023
+ The generated JSON schema.
1024
+ """
1025
+ # Note: This is for compatibility with V1; you can override if you want different behavior.
1026
+ return {}
1027
+
1028
+ def callable_schema(self, schema: core_schema.CallableSchema) -> JsonSchemaValue:
1029
+ """Generates a JSON schema that matches a callable value.
1030
+
1031
+ Unless overridden in a subclass, this raises an error.
1032
+
1033
+ Args:
1034
+ schema: The core schema.
1035
+
1036
+ Returns:
1037
+ The generated JSON schema.
1038
+ """
1039
+ return self.handle_invalid_for_json_schema(schema, 'core_schema.CallableSchema')
1040
+
1041
+ def list_schema(self, schema: core_schema.ListSchema) -> JsonSchemaValue:
1042
+ """Returns a schema that matches a list schema.
1043
+
1044
+ Args:
1045
+ schema: The core schema.
1046
+
1047
+ Returns:
1048
+ The generated JSON schema.
1049
+ """
1050
+ items_schema = {} if 'items_schema' not in schema else self.generate_inner(schema['items_schema'])
1051
+ json_schema = {'type': 'array', 'items': items_schema}
1052
+ self.update_with_validations(json_schema, schema, self.ValidationsMapping.array)
1053
+ return json_schema
1054
+
1055
+ def deque_schema(self, schema: core_schema.DequeSchema) -> JsonSchemaValue:
1056
+ """Returns a schema that matches a deque schema.
1057
+
1058
+ Args:
1059
+ schema: The core schema.
1060
+
1061
+ Returns:
1062
+ The generated JSON schema.
1063
+ """
1064
+ items_schema = {} if 'items_schema' not in schema else self.generate_inner(schema['items_schema'])
1065
+ json_schema = {'type': 'array', 'items': items_schema}
1066
+ self.update_with_validations(json_schema, schema, self.ValidationsMapping.array)
1067
+ return json_schema
1068
+
1069
+ @deprecated('`tuple_positional_schema` is deprecated. Use `tuple_schema` instead.', category=None)
1070
+ @final
1071
+ def tuple_positional_schema(self, schema: core_schema.TupleSchema) -> JsonSchemaValue:
1072
+ """Replaced by `tuple_schema`."""
1073
+ warnings.warn(
1074
+ '`tuple_positional_schema` is deprecated. Use `tuple_schema` instead.',
1075
+ PydanticDeprecatedSince26,
1076
+ stacklevel=2,
1077
+ )
1078
+ return self.tuple_schema(schema)
1079
+
1080
+ @deprecated('`tuple_variable_schema` is deprecated. Use `tuple_schema` instead.', category=None)
1081
+ @final
1082
+ def tuple_variable_schema(self, schema: core_schema.TupleSchema) -> JsonSchemaValue:
1083
+ """Replaced by `tuple_schema`."""
1084
+ warnings.warn(
1085
+ '`tuple_variable_schema` is deprecated. Use `tuple_schema` instead.',
1086
+ PydanticDeprecatedSince26,
1087
+ stacklevel=2,
1088
+ )
1089
+ return self.tuple_schema(schema)
1090
+
1091
+ def tuple_schema(self, schema: core_schema.TupleSchema) -> JsonSchemaValue:
1092
+ """Generates a JSON schema that matches a tuple schema e.g. `tuple[int,
1093
+ str, bool]` or `tuple[int, ...]`.
1094
+
1095
+ Args:
1096
+ schema: The core schema.
1097
+
1098
+ Returns:
1099
+ The generated JSON schema.
1100
+ """
1101
+ json_schema: JsonSchemaValue = {'type': 'array'}
1102
+ if 'variadic_item_index' in schema:
1103
+ variadic_item_index = schema['variadic_item_index']
1104
+ if variadic_item_index > 0:
1105
+ json_schema['minItems'] = variadic_item_index
1106
+ json_schema['prefixItems'] = [
1107
+ self.generate_inner(item) for item in schema['items_schema'][:variadic_item_index]
1108
+ ]
1109
+ if variadic_item_index + 1 == len(schema['items_schema']):
1110
+ # if the variadic item is the last item, then represent it faithfully
1111
+ json_schema['items'] = self.generate_inner(schema['items_schema'][variadic_item_index])
1112
+ else:
1113
+ # otherwise, 'items' represents the schema for the variadic
1114
+ # item plus the suffix, so just allow anything for simplicity
1115
+ # for now
1116
+ json_schema['items'] = True
1117
+ else:
1118
+ prefixItems = [self.generate_inner(item) for item in schema['items_schema']]
1119
+ if prefixItems:
1120
+ json_schema['prefixItems'] = prefixItems
1121
+ json_schema['minItems'] = len(prefixItems)
1122
+ json_schema['maxItems'] = len(prefixItems)
1123
+ self.update_with_validations(json_schema, schema, self.ValidationsMapping.array)
1124
+ return json_schema
1125
+
1126
+ def set_schema(self, schema: core_schema.SetSchema) -> JsonSchemaValue:
1127
+ """Generates a JSON schema that matches a set schema.
1128
+
1129
+ Args:
1130
+ schema: The core schema.
1131
+
1132
+ Returns:
1133
+ The generated JSON schema.
1134
+ """
1135
+ return self._common_set_schema(schema)
1136
+
1137
+ def frozenset_schema(self, schema: core_schema.FrozenSetSchema) -> JsonSchemaValue:
1138
+ """Generates a JSON schema that matches a frozenset schema.
1139
+
1140
+ Args:
1141
+ schema: The core schema.
1142
+
1143
+ Returns:
1144
+ The generated JSON schema.
1145
+ """
1146
+ return self._common_set_schema(schema)
1147
+
1148
+ def _common_set_schema(self, schema: core_schema.SetSchema | core_schema.FrozenSetSchema) -> JsonSchemaValue:
1149
+ items_schema = {} if 'items_schema' not in schema else self.generate_inner(schema['items_schema'])
1150
+ json_schema = {'type': 'array', 'uniqueItems': True, 'items': items_schema}
1151
+ self.update_with_validations(json_schema, schema, self.ValidationsMapping.array)
1152
+ return json_schema
1153
+
1154
+ def generator_schema(self, schema: core_schema.GeneratorSchema) -> JsonSchemaValue:
1155
+ """Returns a JSON schema that represents the provided GeneratorSchema.
1156
+
1157
+ Args:
1158
+ schema: The schema.
1159
+
1160
+ Returns:
1161
+ The generated JSON schema.
1162
+ """
1163
+ items_schema = {} if 'items_schema' not in schema else self.generate_inner(schema['items_schema'])
1164
+ json_schema = {'type': 'array', 'items': items_schema}
1165
+ self.update_with_validations(json_schema, schema, self.ValidationsMapping.array)
1166
+ return json_schema
1167
+
1168
+ def dict_schema(self, schema: core_schema.DictSchema) -> JsonSchemaValue:
1169
+ """Generates a JSON schema that matches a dict schema.
1170
+
1171
+ Args:
1172
+ schema: The core schema.
1173
+
1174
+ Returns:
1175
+ The generated JSON schema.
1176
+ """
1177
+ return self._common_dict_schema(schema)
1178
+
1179
+ def frozendict_schema(self, schema: core_schema.FrozenDictSchema) -> JsonSchemaValue:
1180
+ """Generates a JSON schema that matches a frozendict schema.
1181
+
1182
+ Args:
1183
+ schema: The core schema.
1184
+
1185
+ Returns:
1186
+ The generated JSON schema.
1187
+ """
1188
+ return self._common_dict_schema(schema)
1189
+
1190
+ def ordered_dict_schema(self, schema: core_schema.OrderedDictSchema) -> JsonSchemaValue:
1191
+ """Generates a JSON schema that matches an `OrderedDict` schema.
1192
+
1193
+ Args:
1194
+ schema: The core schema.
1195
+
1196
+ Returns:
1197
+ The generated JSON schema.
1198
+ """
1199
+ return self._common_dict_schema(schema)
1200
+
1201
+ def counter_schema(self, schema: core_schema.CounterSchema) -> JsonSchemaValue:
1202
+ """Generates a JSON schema that matches a `Counter` schema.
1203
+
1204
+ Args:
1205
+ schema: The core schema.
1206
+
1207
+ Returns:
1208
+ The generated JSON schema.
1209
+ """
1210
+ return self._common_dict_schema(schema)
1211
+
1212
+ def _common_dict_schema(
1213
+ self,
1214
+ schema: core_schema.DictSchema
1215
+ | core_schema.FrozenDictSchema
1216
+ | core_schema.OrderedDictSchema
1217
+ | core_schema.CounterSchema,
1218
+ ) -> JsonSchemaValue:
1219
+ json_schema: JsonSchemaValue = {'type': 'object'}
1220
+
1221
+ keys_schema = self.generate_inner(schema['keys_schema']).copy() if 'keys_schema' in schema else {}
1222
+ if '$ref' not in keys_schema:
1223
+ keys_pattern = keys_schema.pop('pattern', None)
1224
+ # Don't give a title to patternProperties/propertyNames:
1225
+ keys_schema.pop('title', None)
1226
+ else:
1227
+ # Here, we assume that if the keys schema is a definition reference,
1228
+ # it can't be a simple string core schema (and thus no pattern can exist).
1229
+ # However, this is only in practice (in theory, a definition reference core
1230
+ # schema could be generated for a simple string schema).
1231
+ # Note that we avoid calling `self.resolve_ref_schema`, as it might not exist yet.
1232
+ keys_pattern = None
1233
+
1234
+ values_schema = self.generate_inner(schema['values_schema']).copy() if 'values_schema' in schema else {}
1235
+ # don't give a title to additionalProperties:
1236
+ values_schema.pop('title', None)
1237
+
1238
+ if values_schema or keys_pattern is not None:
1239
+ if keys_pattern is None:
1240
+ json_schema['additionalProperties'] = values_schema
1241
+ else:
1242
+ json_schema['patternProperties'] = {keys_pattern: values_schema}
1243
+ else: # for `dict[str, Any]`, we allow any key and any value, since `str` is the default key type
1244
+ json_schema['additionalProperties'] = True
1245
+
1246
+ if (
1247
+ # The len check indicates that constraints are probably present:
1248
+ (keys_schema.get('type') == 'string' and len(keys_schema) > 1)
1249
+ # If this is a definition reference schema, it most likely has constraints:
1250
+ or '$ref' in keys_schema
1251
+ ):
1252
+ keys_schema.pop('type', None)
1253
+ json_schema['propertyNames'] = keys_schema
1254
+
1255
+ self.update_with_validations(json_schema, schema, self.ValidationsMapping.object)
1256
+ return json_schema
1257
+
1258
+ def function_before_schema(self, schema: core_schema.BeforeValidatorFunctionSchema) -> JsonSchemaValue:
1259
+ """Generates a JSON schema that matches a function-before schema.
1260
+
1261
+ Args:
1262
+ schema: The core schema.
1263
+
1264
+ Returns:
1265
+ The generated JSON schema.
1266
+ """
1267
+ if self.mode == 'validation' and (input_schema := schema.get('json_schema_input_schema')):
1268
+ return self.generate_inner(input_schema)
1269
+
1270
+ return self.generate_inner(schema['schema'])
1271
+
1272
+ def function_after_schema(self, schema: core_schema.AfterValidatorFunctionSchema) -> JsonSchemaValue:
1273
+ """Generates a JSON schema that matches a function-after schema.
1274
+
1275
+ Args:
1276
+ schema: The core schema.
1277
+
1278
+ Returns:
1279
+ The generated JSON schema.
1280
+ """
1281
+ return self.generate_inner(schema['schema'])
1282
+
1283
+ def function_plain_schema(self, schema: core_schema.PlainValidatorFunctionSchema) -> JsonSchemaValue:
1284
+ """Generates a JSON schema that matches a function-plain schema.
1285
+
1286
+ Args:
1287
+ schema: The core schema.
1288
+
1289
+ Returns:
1290
+ The generated JSON schema.
1291
+ """
1292
+ if self.mode == 'validation' and (input_schema := schema.get('json_schema_input_schema')):
1293
+ return self.generate_inner(input_schema)
1294
+
1295
+ return self.handle_invalid_for_json_schema(
1296
+ schema, f'core_schema.PlainValidatorFunctionSchema ({schema["function"]})'
1297
+ )
1298
+
1299
+ def function_wrap_schema(self, schema: core_schema.WrapValidatorFunctionSchema) -> JsonSchemaValue:
1300
+ """Generates a JSON schema that matches a function-wrap schema.
1301
+
1302
+ Args:
1303
+ schema: The core schema.
1304
+
1305
+ Returns:
1306
+ The generated JSON schema.
1307
+ """
1308
+ if self.mode == 'validation' and (input_schema := schema.get('json_schema_input_schema')):
1309
+ return self.generate_inner(input_schema)
1310
+
1311
+ return self.generate_inner(schema['schema'])
1312
+
1313
+ def default_schema(self, schema: core_schema.WithDefaultSchema) -> JsonSchemaValue:
1314
+ """Generates a JSON schema that matches a schema with a default value.
1315
+
1316
+ Args:
1317
+ schema: The core schema.
1318
+
1319
+ Returns:
1320
+ The generated JSON schema.
1321
+ """
1322
+ json_schema = self.generate_inner(schema['schema'])
1323
+
1324
+ default = self.get_default_value(schema)
1325
+ if default is NoDefault or default is MISSING:
1326
+ return json_schema
1327
+
1328
+ # we reflect the application of custom plain, no-info serializers to defaults for
1329
+ # JSON Schemas viewed in serialization mode:
1330
+ # TODO: improvements along with https://github.com/pydantic/pydantic/issues/8208
1331
+ if self.mode == 'serialization':
1332
+ # `_get_ser_schema_for_default_value()` is used to unpack potentially nested validator schemas:
1333
+ ser_schema = _get_ser_schema_for_default_value(schema['schema'])
1334
+ if (
1335
+ ser_schema is not None
1336
+ and (ser_func := ser_schema.get('function'))
1337
+ and not (default is None and ser_schema.get('when_used') in ('unless-none', 'json-unless-none'))
1338
+ ):
1339
+ try:
1340
+ default = ser_func(default) # type: ignore
1341
+ except Exception:
1342
+ # It might be that the provided default needs to be validated (read: parsed) first
1343
+ # (assuming `validate_default` is enabled). However, we can't perform
1344
+ # such validation during JSON Schema generation so we don't support
1345
+ # this pattern for now.
1346
+ # (One example is when using `foo: ByteSize = '1MB'`, which validates and
1347
+ # serializes as an int. In this case, `ser_func` is `int` and `int('1MB')` fails).
1348
+ self.emit_warning(
1349
+ 'non-serializable-default',
1350
+ f'Unable to serialize value {default!r} with the plain serializer; excluding default from JSON schema',
1351
+ )
1352
+ return json_schema
1353
+
1354
+ # Sort set/frozenset defaults to ensure deterministic JSON schema generation
1355
+ # We only sort if len > 1 because sets of size 0 or 1 are already deterministic
1356
+ if isinstance(default, collections.abc.Set) and len(default) > 1:
1357
+ try:
1358
+ default = sorted(default)
1359
+ except TypeError: # pragma: no cover
1360
+ # If items aren't comparable (e.g. mixed types), we can't sort them.
1361
+ pass
1362
+
1363
+ try:
1364
+ encoded_default = self.encode_default(default)
1365
+ except pydantic_core.PydanticSerializationError:
1366
+ self.emit_warning(
1367
+ 'non-serializable-default',
1368
+ f'Default value {default} is not JSON serializable; excluding default from JSON schema',
1369
+ )
1370
+ # Return the inner schema, as though there was no default
1371
+ return json_schema
1372
+
1373
+ json_schema['default'] = encoded_default
1374
+ return json_schema
1375
+
1376
+ def get_default_value(self, schema: core_schema.WithDefaultSchema) -> Any:
1377
+ """Get the default value to be used when generating a JSON Schema for a core schema with a default.
1378
+
1379
+ The default implementation is to use the statically defined default value. This method can be overridden
1380
+ if you want to make use of the default factory.
1381
+
1382
+ Args:
1383
+ schema: The `'with-default'` core schema.
1384
+
1385
+ Returns:
1386
+ The default value to use, or [`NoDefault`][pydantic.json_schema.NoDefault] if no default
1387
+ value is available.
1388
+ """
1389
+ return schema.get('default', NoDefault)
1390
+
1391
+ def nullable_schema(self, schema: core_schema.NullableSchema) -> JsonSchemaValue:
1392
+ """Generates a JSON schema that matches a schema that allows null values.
1393
+
1394
+ Args:
1395
+ schema: The core schema.
1396
+
1397
+ Returns:
1398
+ The generated JSON schema.
1399
+ """
1400
+ null_schema = {'type': 'null'}
1401
+ inner_json_schema = self.generate_inner(schema['schema'])
1402
+
1403
+ if inner_json_schema == null_schema:
1404
+ return null_schema
1405
+ else:
1406
+ return self.get_union_of_schemas([inner_json_schema, null_schema])
1407
+
1408
+ def union_schema(self, schema: core_schema.UnionSchema) -> JsonSchemaValue:
1409
+ """Generates a JSON schema that matches a schema that allows values matching any of the given schemas.
1410
+
1411
+ Args:
1412
+ schema: The core schema.
1413
+
1414
+ Returns:
1415
+ The generated JSON schema.
1416
+ """
1417
+ generated: list[JsonSchemaValue] = []
1418
+
1419
+ for choice in core_schema.iter_union_choices(schema):
1420
+ try:
1421
+ generated.append(self.generate_inner(choice))
1422
+ except PydanticOmit: # noqa: PERF203
1423
+ continue
1424
+ except PydanticInvalidForJsonSchema as exc:
1425
+ self.emit_warning('skipped-choice', exc.message)
1426
+ if len(generated) == 1:
1427
+ return generated[0]
1428
+ return self.get_union_of_schemas(generated)
1429
+
1430
+ def get_union_of_schemas(self, schemas: list[JsonSchemaValue]) -> JsonSchemaValue:
1431
+ """Returns the JSON Schema representation for the union of the provided JSON Schemas.
1432
+
1433
+ The result depends on the configured `'union_format'`.
1434
+
1435
+ Args:
1436
+ schemas: The list of JSON Schemas to be included in the union.
1437
+
1438
+ Returns:
1439
+ The JSON Schema representing the union of schemas.
1440
+ """
1441
+ if self.union_format == 'primitive_type_array':
1442
+ types: list[str] = []
1443
+ for schema in schemas:
1444
+ schema_types: list[str] | str | None = schema.get('type')
1445
+ if schema_types is None:
1446
+ # No type, meaning it can be a ref or an empty schema.
1447
+ break
1448
+ if not isinstance(schema_types, list):
1449
+ schema_types = [schema_types]
1450
+ if not all(t in _PRIMITIVE_JSON_SCHEMA_TYPES for t in schema_types):
1451
+ break
1452
+ if len(schema) != 1:
1453
+ # We only want to include types that don't have any constraints. For instance,
1454
+ # if `schemas = [{'type': 'string', 'maxLength': 3}, {'type': 'string', 'minLength': 5}]`,
1455
+ # we don't want to produce `{'type': 'string', 'maxLength': 3, 'minLength': 5}`.
1456
+ # Same if we have some metadata (e.g. `title`) on a specific union member, we want to preserve it.
1457
+ break
1458
+
1459
+ types.extend(schema_types)
1460
+ else:
1461
+ # If we got there, all the schemas where valid to be used with the `'primitive_type_array` format
1462
+ return {'type': list(dict.fromkeys(types))}
1463
+
1464
+ return self.get_flattened_anyof(schemas)
1465
+
1466
+ def tagged_union_schema(self, schema: core_schema.TaggedUnionSchema) -> JsonSchemaValue:
1467
+ """Generates a JSON schema that matches a schema that allows values matching any of the given schemas, where
1468
+ the schemas are tagged with a discriminator field that indicates which schema should be used to validate
1469
+ the value.
1470
+
1471
+ Args:
1472
+ schema: The core schema.
1473
+
1474
+ Returns:
1475
+ The generated JSON schema.
1476
+ """
1477
+ generated: dict[str, JsonSchemaValue] = {}
1478
+ for k, v in schema['choices'].items():
1479
+ if isinstance(k, Enum):
1480
+ k = k.value
1481
+ elif isinstance(k, bool):
1482
+ # Use the JSON representation so that the discriminator mapping
1483
+ # can be matched against the serialized payload value
1484
+ k = 'true' if k else 'false'
1485
+ elif k is None:
1486
+ k = 'null'
1487
+ try:
1488
+ # Use str(k) since keys must be strings for json; while not technically correct,
1489
+ # it's the closest that can be represented in valid JSON
1490
+ generated[str(k)] = self.generate_inner(v).copy()
1491
+ except PydanticOmit:
1492
+ continue
1493
+ except PydanticInvalidForJsonSchema as exc:
1494
+ self.emit_warning('skipped-choice', exc.message)
1495
+
1496
+ one_of_choices = _deduplicate_schemas(generated.values())
1497
+ json_schema: JsonSchemaValue = {'oneOf': one_of_choices}
1498
+
1499
+ # This reflects the v1 behavior; TODO: we should make it possible to exclude OpenAPI stuff from the JSON schema
1500
+ openapi_discriminator = self._extract_discriminator(schema, one_of_choices)
1501
+ if openapi_discriminator is not None:
1502
+ json_schema['discriminator'] = {
1503
+ 'propertyName': openapi_discriminator,
1504
+ 'mapping': {k: v.get('$ref', v) for k, v in generated.items()},
1505
+ }
1506
+
1507
+ return json_schema
1508
+
1509
+ def _extract_discriminator(
1510
+ self, schema: core_schema.TaggedUnionSchema, one_of_choices: list[JsonDict]
1511
+ ) -> str | None:
1512
+ """Extract a compatible OpenAPI discriminator from the schema and one_of choices that end up in the final
1513
+ schema."""
1514
+ openapi_discriminator: str | None = None
1515
+
1516
+ if isinstance(schema['discriminator'], str):
1517
+ return schema['discriminator']
1518
+
1519
+ if isinstance(schema['discriminator'], list):
1520
+ # If the discriminator is a single item list containing a string, that is equivalent to the string case
1521
+ if len(schema['discriminator']) == 1 and isinstance(schema['discriminator'][0], str):
1522
+ return schema['discriminator'][0]
1523
+ # When an alias is used that is different from the field name, the discriminator will be a list of single
1524
+ # str lists, one for the attribute and one for the actual alias. The logic here will work even if there is
1525
+ # more than one possible attribute, and looks for whether a single alias choice is present as a documented
1526
+ # property on all choices. If so, that property will be used as the OpenAPI discriminator.
1527
+ for alias_path in schema['discriminator']:
1528
+ if not isinstance(alias_path, list):
1529
+ break # this means that the discriminator is not a list of alias paths
1530
+ if len(alias_path) != 1:
1531
+ continue # this means that the "alias" does not represent a single field
1532
+ alias = alias_path[0]
1533
+ if not isinstance(alias, str):
1534
+ continue # this means that the "alias" does not represent a field
1535
+ alias_is_present_on_all_choices = True
1536
+ for choice in one_of_choices:
1537
+ try:
1538
+ choice = self.resolve_ref_schema(choice)
1539
+ except RuntimeError as exc:
1540
+ # TODO: fixme - this is a workaround for the fact that we can't always resolve refs
1541
+ # for tagged union choices at this point in the schema gen process, we might need to do
1542
+ # another pass at the end like we do for core schemas
1543
+ self.emit_warning('skipped-discriminator', str(exc))
1544
+ choice = {}
1545
+ properties = choice.get('properties', {})
1546
+ if not isinstance(properties, dict) or alias not in properties:
1547
+ alias_is_present_on_all_choices = False
1548
+ break
1549
+ if alias_is_present_on_all_choices:
1550
+ openapi_discriminator = alias
1551
+ break
1552
+ return openapi_discriminator
1553
+
1554
+ def chain_schema(self, schema: core_schema.ChainSchema) -> JsonSchemaValue:
1555
+ """Generates a JSON schema that matches a core_schema.ChainSchema.
1556
+
1557
+ When generating a schema for validation, we return the validation JSON schema for the first step in the chain.
1558
+ For serialization, we return the serialization JSON schema for the last step in the chain.
1559
+
1560
+ Args:
1561
+ schema: The core schema.
1562
+
1563
+ Returns:
1564
+ The generated JSON schema.
1565
+ """
1566
+ step_index = 0 if self.mode == 'validation' else -1 # use first step for validation, last for serialization
1567
+ return self.generate_inner(schema['steps'][step_index])
1568
+
1569
+ def lax_or_strict_schema(self, schema: core_schema.LaxOrStrictSchema) -> JsonSchemaValue:
1570
+ """Generates a JSON schema that matches a schema that allows values matching either the lax schema or the
1571
+ strict schema.
1572
+
1573
+ Args:
1574
+ schema: The core schema.
1575
+
1576
+ Returns:
1577
+ The generated JSON schema.
1578
+ """
1579
+ # TODO: Need to read the default value off of model config or whatever
1580
+ use_strict = schema.get('strict', False) # TODO: replace this default False
1581
+ # If your JSON schema fails to generate it is probably
1582
+ # because one of the following two branches failed.
1583
+ if use_strict:
1584
+ return self.generate_inner(schema['strict_schema'])
1585
+ else:
1586
+ return self.generate_inner(schema['lax_schema'])
1587
+
1588
+ def json_or_python_schema(self, schema: core_schema.JsonOrPythonSchema) -> JsonSchemaValue:
1589
+ """Generates a JSON schema that matches a schema that allows values matching either the JSON schema or the
1590
+ Python schema.
1591
+
1592
+ The JSON schema is used instead of the Python schema. If you want to use the Python schema, you should override
1593
+ this method.
1594
+
1595
+ Args:
1596
+ schema: The core schema.
1597
+
1598
+ Returns:
1599
+ The generated JSON schema.
1600
+ """
1601
+ return self.generate_inner(schema['json_schema'])
1602
+
1603
+ def typed_dict_schema(self, schema: core_schema.TypedDictSchema) -> JsonSchemaValue:
1604
+ """Generates a JSON schema that matches a schema that defines a typed dict.
1605
+
1606
+ Args:
1607
+ schema: The core schema.
1608
+
1609
+ Returns:
1610
+ The generated JSON schema.
1611
+ """
1612
+ total = schema.get('total', True)
1613
+ named_required_fields: list[tuple[str, bool, CoreSchemaField]] = [
1614
+ (name, self.field_is_required(field, total), field)
1615
+ for name, field in schema['fields'].items()
1616
+ if self.field_is_present(field)
1617
+ ]
1618
+ if self.mode == 'serialization':
1619
+ named_required_fields.extend(self._name_required_computed_fields(schema.get('computed_fields', [])))
1620
+ cls = schema.get('cls')
1621
+ config = _get_typed_dict_config(cls)
1622
+ with self._config_wrapper_stack.push(config):
1623
+ json_schema = self._named_required_fields_schema(named_required_fields)
1624
+
1625
+ # There's some duplication between `extra_behavior` and
1626
+ # the config's `extra`/core config's `extra_fields_behavior`.
1627
+ # However, it is common to manually create TypedDictSchemas,
1628
+ # where you don't necessarily have a class.
1629
+ # At runtime, `extra_behavior` takes priority over the config
1630
+ # for validation, so follow the same for the JSON Schema:
1631
+ if 'extras_schema' in schema and schema['extras_schema'] != core_schema.any_schema():
1632
+ allow_additional_props = self.generate_inner(schema['extras_schema'])
1633
+ else:
1634
+ allow_additional_props = True
1635
+
1636
+ if schema.get('extra_behavior') == 'forbid':
1637
+ json_schema['additionalProperties'] = False
1638
+ elif schema.get('extra_behavior') == 'allow':
1639
+ json_schema['additionalProperties'] = allow_additional_props
1640
+
1641
+ if cls is not None:
1642
+ # `_update_class_schema()` will not override
1643
+ # `additionalProperties` if already present:
1644
+ self._update_class_schema(json_schema, cls, config or {})
1645
+ elif 'additionalProperties' not in json_schema:
1646
+ extra = schema.get('config', {}).get('extra_fields_behavior')
1647
+ if extra == 'forbid':
1648
+ json_schema['additionalProperties'] = False
1649
+ elif extra == 'allow':
1650
+ json_schema['additionalProperties'] = allow_additional_props
1651
+
1652
+ return json_schema
1653
+
1654
+ @staticmethod
1655
+ def _name_required_computed_fields(
1656
+ computed_fields: list[ComputedField],
1657
+ ) -> list[tuple[str, bool, core_schema.ComputedField]]:
1658
+ return [
1659
+ (field['property_name'], field.get('serialization_exclude_if') is None, field) for field in computed_fields
1660
+ ]
1661
+
1662
+ def _named_required_fields_schema(
1663
+ self, named_required_fields: Sequence[tuple[str, bool, CoreSchemaField]]
1664
+ ) -> JsonSchemaValue:
1665
+ properties: dict[str, JsonSchemaValue] = {}
1666
+ required_fields: list[str] = []
1667
+ for name, required, field in named_required_fields:
1668
+ if self.by_alias:
1669
+ name = self._get_alias_name(field, name)
1670
+ try:
1671
+ field_json_schema = self.generate_inner(field).copy()
1672
+ except PydanticOmit:
1673
+ continue
1674
+ if 'title' not in field_json_schema and self.field_title_should_be_set(field):
1675
+ title = self.get_title_from_name(name)
1676
+ field_json_schema['title'] = title
1677
+ field_json_schema = self.handle_ref_overrides(field_json_schema)
1678
+ properties[name] = field_json_schema
1679
+ if required:
1680
+ required_fields.append(name)
1681
+
1682
+ json_schema = {'type': 'object', 'properties': properties}
1683
+ if required_fields:
1684
+ json_schema['required'] = required_fields
1685
+ return json_schema
1686
+
1687
+ def _get_alias_name(self, field: CoreSchemaField, name: str) -> str:
1688
+ if field['type'] == 'computed-field':
1689
+ alias: Any = field.get('alias', name)
1690
+ elif self.mode == 'validation':
1691
+ use_alias = self._config.validate_by_alias if self._by_alias is None else self._by_alias
1692
+ alias = field.get('validation_alias', name) if use_alias else name
1693
+ else:
1694
+ alias = field.get('serialization_alias', name)
1695
+ if isinstance(alias, str):
1696
+ name = alias
1697
+ elif isinstance(alias, list):
1698
+ alias = cast('list[str] | str', alias)
1699
+ for path in alias:
1700
+ if isinstance(path, list) and len(path) == 1 and isinstance(path[0], str):
1701
+ # Use the first valid single-item string path; the code that constructs the alias array
1702
+ # should ensure the first such item is what belongs in the JSON schema
1703
+ name = path[0]
1704
+ break
1705
+ else:
1706
+ assert_never(alias)
1707
+ return name
1708
+
1709
+ def typed_dict_field_schema(self, schema: core_schema.TypedDictField) -> JsonSchemaValue:
1710
+ """Generates a JSON schema that matches a schema that defines a typed dict field.
1711
+
1712
+ Args:
1713
+ schema: The core schema.
1714
+
1715
+ Returns:
1716
+ The generated JSON schema.
1717
+ """
1718
+ return self.generate_inner(schema['schema'])
1719
+
1720
+ def dataclass_field_schema(self, schema: core_schema.DataclassField) -> JsonSchemaValue:
1721
+ """Generates a JSON schema that matches a schema that defines a dataclass field.
1722
+
1723
+ Args:
1724
+ schema: The core schema.
1725
+
1726
+ Returns:
1727
+ The generated JSON schema.
1728
+ """
1729
+ return self.generate_inner(schema['schema'])
1730
+
1731
+ def model_field_schema(self, schema: core_schema.ModelField) -> JsonSchemaValue:
1732
+ """Generates a JSON schema that matches a schema that defines a model field.
1733
+
1734
+ Args:
1735
+ schema: The core schema.
1736
+
1737
+ Returns:
1738
+ The generated JSON schema.
1739
+ """
1740
+ return self.generate_inner(schema['schema'])
1741
+
1742
+ def computed_field_schema(self, schema: core_schema.ComputedField) -> JsonSchemaValue:
1743
+ """Generates a JSON schema that matches a schema that defines a computed field.
1744
+
1745
+ Args:
1746
+ schema: The core schema.
1747
+
1748
+ Returns:
1749
+ The generated JSON schema.
1750
+ """
1751
+ return self.generate_inner(schema['return_schema'])
1752
+
1753
+ def model_schema(self, schema: core_schema.ModelSchema) -> JsonSchemaValue:
1754
+ """Generates a JSON schema that matches a schema that defines a model.
1755
+
1756
+ Args:
1757
+ schema: The core schema.
1758
+
1759
+ Returns:
1760
+ The generated JSON schema.
1761
+ """
1762
+ # We do not use schema['model'].model_json_schema() here
1763
+ # because it could lead to inconsistent refs handling, etc.
1764
+ cls = cast('type[BaseModel]', schema['cls'])
1765
+ config = cls.model_config
1766
+
1767
+ with self._config_wrapper_stack.push(config):
1768
+ json_schema = self.generate_inner(schema['schema'])
1769
+
1770
+ self._update_class_schema(json_schema, cls, config)
1771
+
1772
+ return json_schema
1773
+
1774
+ def _update_class_schema(self, json_schema: JsonSchemaValue, cls: type[Any], config: ConfigDict) -> None:
1775
+ """Update json_schema with the following, extracted from `config` and `cls`:
1776
+
1777
+ * title
1778
+ * description
1779
+ * additional properties
1780
+ * json_schema_extra
1781
+ * deprecated
1782
+
1783
+ Done in place, hence there's no return value as the original json_schema is mutated.
1784
+ No ref resolving is involved here, as that's not appropriate for simple updates.
1785
+ """
1786
+ from ._internal._dataclasses import is_stdlib_dataclass
1787
+ from .main import BaseModel
1788
+
1789
+ if (config_title := config.get('title')) is not None:
1790
+ json_schema.setdefault('title', config_title)
1791
+ elif model_title_generator := config.get('model_title_generator'):
1792
+ title = model_title_generator(cls)
1793
+ if not isinstance(title, str):
1794
+ raise TypeError(f'model_title_generator {model_title_generator} must return str, not {title.__class__}')
1795
+ json_schema.setdefault('title', title)
1796
+ if 'title' not in json_schema:
1797
+ json_schema['title'] = cls.__name__
1798
+
1799
+ # BaseModel and dataclasses; don't use cls.__doc__ as it will contain the verbose class signature by default
1800
+ if cls is BaseModel:
1801
+ docstring = None
1802
+ elif is_stdlib_dataclass(cls): # For Pydantic dataclasses, we already handle this at class creation
1803
+ # The `dataclass` module generates a `__doc__` based on the `inspect.signature()`
1804
+ # result, which we don't want to use as a description. Such `__doc__` startswith
1805
+ # `cls.__name__(`, which could lead to mistakenly discarding it if for some reason
1806
+ # an explicitly set class docstring follows the same pattern, but this is unlikely
1807
+ # to happen.
1808
+ doc = cls.__doc__
1809
+ docstring = None if doc is None or doc.startswith(f'{cls.__name__}(') else doc
1810
+ else:
1811
+ docstring = cls.__doc__
1812
+
1813
+ if docstring:
1814
+ json_schema.setdefault('description', inspect.cleandoc(docstring))
1815
+
1816
+ extra = config.get('extra')
1817
+ if 'additionalProperties' not in json_schema: # This check is particularly important for `typed_dict_schema()`
1818
+ if extra == 'allow':
1819
+ json_schema['additionalProperties'] = True
1820
+ elif extra == 'forbid':
1821
+ json_schema['additionalProperties'] = False
1822
+
1823
+ json_schema_extra = config.get('json_schema_extra')
1824
+ if issubclass(cls, BaseModel) and cls.__pydantic_root_model__:
1825
+ root_json_schema_extra = cls.model_fields['root'].json_schema_extra
1826
+ if json_schema_extra and root_json_schema_extra:
1827
+ raise ValueError(
1828
+ '"model_config[\'json_schema_extra\']" and "Field.json_schema_extra" on "RootModel.root"'
1829
+ ' field must not be set simultaneously'
1830
+ )
1831
+ if root_json_schema_extra:
1832
+ json_schema_extra = root_json_schema_extra
1833
+
1834
+ if isinstance(json_schema_extra, (staticmethod, classmethod)):
1835
+ # In older versions of python, this is necessary to ensure staticmethod/classmethods are callable
1836
+ json_schema_extra = json_schema_extra.__get__(cls)
1837
+
1838
+ if isinstance(json_schema_extra, dict):
1839
+ json_schema.update(json_schema_extra)
1840
+ elif callable(json_schema_extra):
1841
+ if len(_typing_extra.signature_no_eval(json_schema_extra).parameters) > 1:
1842
+ json_schema_extra = cast(Callable[[JsonDict, type[Any]], None], json_schema_extra)
1843
+ json_schema_extra(json_schema, cls)
1844
+ else:
1845
+ json_schema_extra = cast(Callable[[JsonDict], None], json_schema_extra)
1846
+ json_schema_extra(json_schema)
1847
+ elif json_schema_extra is not None:
1848
+ raise ValueError(
1849
+ f"model_config['json_schema_extra']={json_schema_extra} should be a dict, callable, or None"
1850
+ )
1851
+
1852
+ if hasattr(cls, '__deprecated__'):
1853
+ json_schema['deprecated'] = True
1854
+
1855
+ def resolve_ref_schema(self, json_schema: JsonSchemaValue) -> JsonSchemaValue:
1856
+ """Resolve a JsonSchemaValue to the non-ref schema if it is a $ref schema.
1857
+
1858
+ Args:
1859
+ json_schema: The schema to resolve.
1860
+
1861
+ Returns:
1862
+ The resolved schema.
1863
+
1864
+ Raises:
1865
+ RuntimeError: If the schema reference can't be found in definitions.
1866
+ """
1867
+ while '$ref' in json_schema:
1868
+ ref = json_schema['$ref']
1869
+ schema_to_update = self.get_schema_from_definitions(JsonRef(ref))
1870
+ if schema_to_update is None:
1871
+ raise RuntimeError(f'Cannot update undefined schema for $ref={ref}')
1872
+ json_schema = schema_to_update
1873
+ return json_schema
1874
+
1875
+ def model_fields_schema(self, schema: core_schema.ModelFieldsSchema) -> JsonSchemaValue:
1876
+ """Generates a JSON schema that matches a schema that defines a model's fields.
1877
+
1878
+ Args:
1879
+ schema: The core schema.
1880
+
1881
+ Returns:
1882
+ The generated JSON schema.
1883
+ """
1884
+ named_required_fields: list[tuple[str, bool, CoreSchemaField]] = [
1885
+ (name, self.field_is_required(field, total=True), field)
1886
+ for name, field in schema['fields'].items()
1887
+ if self.field_is_present(field)
1888
+ ]
1889
+ if self.mode == 'serialization':
1890
+ named_required_fields.extend(self._name_required_computed_fields(schema.get('computed_fields', [])))
1891
+ json_schema = self._named_required_fields_schema(named_required_fields)
1892
+ extras_schema = schema.get('extras_schema', None)
1893
+ if extras_schema is not None:
1894
+ schema_to_update = self.resolve_ref_schema(json_schema)
1895
+ schema_to_update['additionalProperties'] = self.generate_inner(extras_schema)
1896
+ return json_schema
1897
+
1898
+ def field_is_present(self, field: CoreSchemaField) -> bool:
1899
+ """Whether the field should be included in the generated JSON schema.
1900
+
1901
+ Args:
1902
+ field: The schema for the field itself.
1903
+
1904
+ Returns:
1905
+ `True` if the field should be included in the generated JSON schema, `False` otherwise.
1906
+ """
1907
+ if self.mode == 'serialization':
1908
+ # If you still want to include the field in the generated JSON schema,
1909
+ # override this method and return True
1910
+ return not field.get('serialization_exclude')
1911
+ elif self.mode == 'validation':
1912
+ return True
1913
+ else:
1914
+ assert_never(self.mode)
1915
+
1916
+ def field_is_required(
1917
+ self,
1918
+ field: core_schema.ModelField | core_schema.DataclassField | core_schema.TypedDictField,
1919
+ total: bool,
1920
+ ) -> bool:
1921
+ """Whether the field should be marked as required in the generated JSON schema.
1922
+ (Note that this is irrelevant if the field is not present in the JSON schema.).
1923
+
1924
+ Args:
1925
+ field: The schema for the field itself.
1926
+ total: Only applies to `TypedDictField`s.
1927
+ Indicates if the `TypedDict` this field belongs to is total, in which case any fields that don't
1928
+ explicitly specify `required=False` are required.
1929
+
1930
+ Returns:
1931
+ `True` if the field should be marked as required in the generated JSON schema, `False` otherwise.
1932
+ """
1933
+ if field['type'] == 'typed-dict-field':
1934
+ required = field.get('required', total)
1935
+ else:
1936
+ required = field['schema']['type'] != 'default'
1937
+
1938
+ if self.mode == 'serialization':
1939
+ has_exclude_if = field.get('serialization_exclude_if') is not None
1940
+ if self._config.json_schema_serialization_defaults_required:
1941
+ return not has_exclude_if
1942
+ else:
1943
+ return required and not has_exclude_if
1944
+ else:
1945
+ return required
1946
+
1947
+ def dataclass_args_schema(self, schema: core_schema.DataclassArgsSchema) -> JsonSchemaValue:
1948
+ """Generates a JSON schema that matches a schema that defines a dataclass's constructor arguments.
1949
+
1950
+ Args:
1951
+ schema: The core schema.
1952
+
1953
+ Returns:
1954
+ The generated JSON schema.
1955
+ """
1956
+ named_required_fields: list[tuple[str, bool, CoreSchemaField]] = [
1957
+ (field['name'], self.field_is_required(field, total=True), field)
1958
+ for field in schema['fields']
1959
+ if self.field_is_present(field)
1960
+ ]
1961
+ if self.mode == 'serialization':
1962
+ named_required_fields.extend(self._name_required_computed_fields(schema.get('computed_fields', [])))
1963
+ return self._named_required_fields_schema(named_required_fields)
1964
+
1965
+ def dataclass_schema(self, schema: core_schema.DataclassSchema) -> JsonSchemaValue:
1966
+ """Generates a JSON schema that matches a schema that defines a dataclass.
1967
+
1968
+ Args:
1969
+ schema: The core schema.
1970
+
1971
+ Returns:
1972
+ The generated JSON schema.
1973
+ """
1974
+
1975
+ cls = schema['cls']
1976
+ # If (stdlib) dataclass doesn't have config, the parent's config is used (as during core schema generation):
1977
+ config = cast('ConfigDict | None', getattr(cls, '__pydantic_config__', None))
1978
+
1979
+ with self._config_wrapper_stack.push(config):
1980
+ json_schema = self.generate_inner(schema['schema']).copy()
1981
+
1982
+ # Only the parent's `extra` config value is relevant to the class schema. It is propagated
1983
+ # to the core config (and used for validation), so we reuse it:
1984
+ class_config = config or {}
1985
+ if 'extra' not in class_config and (extra := schema.get('config', {}).get('extra_fields_behavior')) is not None:
1986
+ class_config = cast('ConfigDict', {**class_config, 'extra': extra})
1987
+
1988
+ self._update_class_schema(json_schema, cls, class_config)
1989
+
1990
+ return json_schema
1991
+
1992
+ def named_tuple_field_schema(self, schema: core_schema.NamedTupleField) -> JsonSchemaValue:
1993
+ """Generates a JSON schema that matches a schema that defines a named tuple field.
1994
+
1995
+ Args:
1996
+ schema: The core schema.
1997
+
1998
+ Returns:
1999
+ The generated JSON schema.
2000
+ """
2001
+ return self.generate_inner(schema['schema'])
2002
+
2003
+ def named_tuple_schema(self, schema: core_schema.NamedTupleSchema) -> JsonSchemaValue:
2004
+ """Generates a JSON schema that matches a schema that defines a named tuple.
2005
+
2006
+ Args:
2007
+ schema: The core schema.
2008
+
2009
+ Returns:
2010
+ The generated JSON schema.
2011
+ """
2012
+ prefix_items: list[JsonSchemaValue] = []
2013
+ min_items = 0
2014
+
2015
+ for field in schema['fields']:
2016
+ name = field['name']
2017
+ if self.by_alias:
2018
+ alias = field.get('validation_alias')
2019
+ if isinstance(alias, str):
2020
+ name = alias
2021
+
2022
+ field_schema = self.generate_inner(field['schema']).copy()
2023
+ if 'title' not in field_schema and self.field_title_should_be_set(field['schema']):
2024
+ field_schema['title'] = self.get_title_from_name(name)
2025
+ prefix_items.append(field_schema)
2026
+
2027
+ if field['schema']['type'] != 'default':
2028
+ # This assumes that if the field has a default value,
2029
+ # the inner schema must be of type WithDefaultSchema.
2030
+ min_items += 1
2031
+
2032
+ json_schema: JsonSchemaValue = {'type': 'array'}
2033
+ if prefix_items:
2034
+ json_schema['prefixItems'] = prefix_items
2035
+ if min_items:
2036
+ json_schema['minItems'] = min_items
2037
+ json_schema['maxItems'] = len(prefix_items)
2038
+
2039
+ return json_schema
2040
+
2041
+ def arguments_schema(self, schema: core_schema.ArgumentsSchema) -> JsonSchemaValue:
2042
+ """Generates a JSON schema that matches a schema that defines a function's arguments.
2043
+
2044
+ Args:
2045
+ schema: The core schema.
2046
+
2047
+ Returns:
2048
+ The generated JSON schema.
2049
+ """
2050
+ prefer_positional = schema.get('metadata', {}).get('pydantic_js_prefer_positional_arguments')
2051
+
2052
+ arguments = schema['arguments_schema']
2053
+ kw_only_arguments = [a for a in arguments if a.get('mode') == 'keyword_only']
2054
+ kw_or_p_arguments = [a for a in arguments if a.get('mode') in {'positional_or_keyword', None}]
2055
+ p_only_arguments = [a for a in arguments if a.get('mode') == 'positional_only']
2056
+ var_args_schema = schema.get('var_args_schema')
2057
+ var_kwargs_schema = schema.get('var_kwargs_schema')
2058
+
2059
+ if prefer_positional:
2060
+ positional_possible = not kw_only_arguments and not var_kwargs_schema
2061
+ if positional_possible:
2062
+ return self.p_arguments_schema(p_only_arguments + kw_or_p_arguments, var_args_schema)
2063
+
2064
+ keyword_possible = not p_only_arguments and not var_args_schema
2065
+ if keyword_possible:
2066
+ return self.kw_arguments_schema(kw_or_p_arguments + kw_only_arguments, var_kwargs_schema)
2067
+
2068
+ if not prefer_positional:
2069
+ positional_possible = not kw_only_arguments and not var_kwargs_schema
2070
+ if positional_possible:
2071
+ return self.p_arguments_schema(p_only_arguments + kw_or_p_arguments, var_args_schema)
2072
+
2073
+ raise PydanticInvalidForJsonSchema(
2074
+ 'Unable to generate JSON schema for arguments validator with positional-only and keyword-only arguments'
2075
+ )
2076
+
2077
+ def kw_arguments_schema(
2078
+ self, arguments: list[core_schema.ArgumentsParameter], var_kwargs_schema: CoreSchema | None
2079
+ ) -> JsonSchemaValue:
2080
+ """Generates a JSON schema that matches a schema that defines a function's keyword arguments.
2081
+
2082
+ Args:
2083
+ arguments: The core schema.
2084
+
2085
+ Returns:
2086
+ The generated JSON schema.
2087
+ """
2088
+ properties: dict[str, JsonSchemaValue] = {}
2089
+ required: list[str] = []
2090
+ for argument in arguments:
2091
+ name = self.get_argument_name(argument)
2092
+ argument_schema = self.generate_inner(argument['schema']).copy()
2093
+ if 'title' not in argument_schema and self.field_title_should_be_set(argument['schema']):
2094
+ argument_schema['title'] = self.get_title_from_name(name)
2095
+ properties[name] = argument_schema
2096
+
2097
+ if argument['schema']['type'] != 'default':
2098
+ # This assumes that if the argument has a default value,
2099
+ # the inner schema must be of type WithDefaultSchema.
2100
+ # I believe this is true, but I am not 100% sure
2101
+ required.append(name)
2102
+
2103
+ json_schema: JsonSchemaValue = {'type': 'object', 'properties': properties}
2104
+ if required:
2105
+ json_schema['required'] = required
2106
+
2107
+ if var_kwargs_schema:
2108
+ additional_properties_schema = self.generate_inner(var_kwargs_schema)
2109
+ if additional_properties_schema:
2110
+ json_schema['additionalProperties'] = additional_properties_schema
2111
+ else:
2112
+ json_schema['additionalProperties'] = False
2113
+ return json_schema
2114
+
2115
+ def p_arguments_schema(
2116
+ self, arguments: list[core_schema.ArgumentsParameter], var_args_schema: CoreSchema | None
2117
+ ) -> JsonSchemaValue:
2118
+ """Generates a JSON schema that matches a schema that defines a function's positional arguments.
2119
+
2120
+ Args:
2121
+ arguments: The core schema.
2122
+
2123
+ Returns:
2124
+ The generated JSON schema.
2125
+ """
2126
+ prefix_items: list[JsonSchemaValue] = []
2127
+ min_items = 0
2128
+
2129
+ for argument in arguments:
2130
+ name = self.get_argument_name(argument)
2131
+
2132
+ argument_schema = self.generate_inner(argument['schema']).copy()
2133
+ if 'title' not in argument_schema and self.field_title_should_be_set(argument['schema']):
2134
+ argument_schema['title'] = self.get_title_from_name(name)
2135
+ prefix_items.append(argument_schema)
2136
+
2137
+ if argument['schema']['type'] != 'default':
2138
+ # This assumes that if the argument has a default value,
2139
+ # the inner schema must be of type WithDefaultSchema.
2140
+ # I believe this is true, but I am not 100% sure
2141
+ min_items += 1
2142
+
2143
+ json_schema: JsonSchemaValue = {'type': 'array'}
2144
+ if prefix_items:
2145
+ json_schema['prefixItems'] = prefix_items
2146
+ if min_items:
2147
+ json_schema['minItems'] = min_items
2148
+
2149
+ if var_args_schema:
2150
+ items_schema = self.generate_inner(var_args_schema)
2151
+ if items_schema:
2152
+ json_schema['items'] = items_schema
2153
+ else:
2154
+ json_schema['maxItems'] = len(prefix_items)
2155
+
2156
+ return json_schema
2157
+
2158
+ def get_argument_name(self, argument: core_schema.ArgumentsParameter | core_schema.ArgumentsV3Parameter) -> str:
2159
+ """Retrieves the name of an argument.
2160
+
2161
+ Args:
2162
+ argument: The core schema.
2163
+
2164
+ Returns:
2165
+ The name of the argument.
2166
+ """
2167
+ name = argument['name']
2168
+ if self.by_alias:
2169
+ alias = argument.get('alias')
2170
+ if isinstance(alias, str):
2171
+ name = alias
2172
+ else:
2173
+ pass # might want to do something else?
2174
+ return name
2175
+
2176
+ def arguments_v3_schema(self, schema: core_schema.ArgumentsV3Schema) -> JsonSchemaValue:
2177
+ """Generates a JSON schema that matches a schema that defines a function's arguments.
2178
+
2179
+ Args:
2180
+ schema: The core schema.
2181
+
2182
+ Returns:
2183
+ The generated JSON schema.
2184
+ """
2185
+ arguments = schema['arguments_schema']
2186
+ properties: dict[str, JsonSchemaValue] = {}
2187
+ required: list[str] = []
2188
+ for argument in arguments:
2189
+ mode = argument.get('mode', 'positional_or_keyword')
2190
+ name = self.get_argument_name(argument)
2191
+ argument_schema = self.generate_inner(argument['schema']).copy()
2192
+ if mode == 'var_args':
2193
+ argument_schema = {'type': 'array', 'items': argument_schema}
2194
+ elif mode == 'var_kwargs_uniform':
2195
+ argument_schema = {'type': 'object', 'additionalProperties': argument_schema}
2196
+
2197
+ argument_schema.setdefault('title', self.get_title_from_name(name))
2198
+ properties[name] = argument_schema
2199
+
2200
+ if (
2201
+ (mode == 'var_kwargs_unpacked_typed_dict' and 'required' in argument_schema)
2202
+ or mode not in {'var_args', 'var_kwargs_uniform', 'var_kwargs_unpacked_typed_dict'}
2203
+ and argument['schema']['type'] != 'default'
2204
+ ):
2205
+ # This assumes that if the argument has a default value,
2206
+ # the inner schema must be of type WithDefaultSchema.
2207
+ # I believe this is true, but I am not 100% sure
2208
+ required.append(name)
2209
+
2210
+ json_schema: JsonSchemaValue = {'type': 'object', 'properties': properties}
2211
+ if required:
2212
+ json_schema['required'] = required
2213
+ return json_schema
2214
+
2215
+ def call_schema(self, schema: core_schema.CallSchema) -> JsonSchemaValue:
2216
+ """Generates a JSON schema that matches a schema that defines a function call.
2217
+
2218
+ Args:
2219
+ schema: The core schema.
2220
+
2221
+ Returns:
2222
+ The generated JSON schema.
2223
+ """
2224
+ return self.generate_inner(schema['arguments_schema'])
2225
+
2226
+ def custom_error_schema(self, schema: core_schema.CustomErrorSchema) -> JsonSchemaValue:
2227
+ """Generates a JSON schema that matches a schema that defines a custom error.
2228
+
2229
+ Args:
2230
+ schema: The core schema.
2231
+
2232
+ Returns:
2233
+ The generated JSON schema.
2234
+ """
2235
+ return self.generate_inner(schema['schema'])
2236
+
2237
+ def json_schema(self, schema: core_schema.JsonSchema) -> JsonSchemaValue:
2238
+ """Generates a JSON schema that matches a schema that defines a JSON object.
2239
+
2240
+ Args:
2241
+ schema: The core schema.
2242
+
2243
+ Returns:
2244
+ The generated JSON schema.
2245
+ """
2246
+ content_core_schema = schema.get('schema') or core_schema.any_schema()
2247
+ content_json_schema = self.generate_inner(content_core_schema)
2248
+ if self.mode == 'validation':
2249
+ return {'type': 'string', 'contentMediaType': 'application/json', 'contentSchema': content_json_schema}
2250
+ else:
2251
+ # self.mode == 'serialization'
2252
+ return content_json_schema
2253
+
2254
+ def url_schema(self, schema: core_schema.UrlSchema) -> JsonSchemaValue:
2255
+ """Generates a JSON schema that matches a schema that defines a URL.
2256
+
2257
+ Args:
2258
+ schema: The core schema.
2259
+
2260
+ Returns:
2261
+ The generated JSON schema.
2262
+ """
2263
+ json_schema = {'type': 'string', 'format': 'uri', 'minLength': 1}
2264
+ self.update_with_validations(json_schema, schema, self.ValidationsMapping.string)
2265
+ return json_schema
2266
+
2267
+ def multi_host_url_schema(self, schema: core_schema.MultiHostUrlSchema) -> JsonSchemaValue:
2268
+ """Generates a JSON schema that matches a schema that defines a URL that can be used with multiple hosts.
2269
+
2270
+ Args:
2271
+ schema: The core schema.
2272
+
2273
+ Returns:
2274
+ The generated JSON schema.
2275
+ """
2276
+ # Note: 'multi-host-uri' is a custom/pydantic-specific format, not part of the JSON Schema spec
2277
+ json_schema = {'type': 'string', 'format': 'multi-host-uri', 'minLength': 1}
2278
+ self.update_with_validations(json_schema, schema, self.ValidationsMapping.string)
2279
+ return json_schema
2280
+
2281
+ def uuid_schema(self, schema: core_schema.UuidSchema) -> JsonSchemaValue:
2282
+ """Generates a JSON schema that matches a UUID.
2283
+
2284
+ Args:
2285
+ schema: The core schema.
2286
+
2287
+ Returns:
2288
+ The generated JSON schema.
2289
+ """
2290
+ return {'type': 'string', 'format': 'uuid'}
2291
+
2292
+ def definitions_schema(self, schema: core_schema.DefinitionsSchema) -> JsonSchemaValue:
2293
+ """Generates a JSON schema that matches a schema that defines a JSON object with definitions.
2294
+
2295
+ Args:
2296
+ schema: The core schema.
2297
+
2298
+ Returns:
2299
+ The generated JSON schema.
2300
+ """
2301
+ for definition in schema['definitions']:
2302
+ try:
2303
+ self.generate_inner(definition)
2304
+ except PydanticInvalidForJsonSchema as e: # noqa: PERF203
2305
+ core_ref: CoreRef = CoreRef(definition['ref']) # type: ignore
2306
+ self._core_defs_invalid_for_json_schema[self.get_defs_ref((core_ref, self.mode))] = e
2307
+ continue
2308
+ return self.generate_inner(schema['schema'])
2309
+
2310
+ def definition_ref_schema(self, schema: core_schema.DefinitionReferenceSchema) -> JsonSchemaValue:
2311
+ """Generates a JSON schema that matches a schema that references a definition.
2312
+
2313
+ Args:
2314
+ schema: The core schema.
2315
+
2316
+ Returns:
2317
+ The generated JSON schema.
2318
+ """
2319
+ core_ref = CoreRef(schema['schema_ref'])
2320
+ _, ref_json_schema = self.get_cache_defs_ref_schema(core_ref)
2321
+ return ref_json_schema
2322
+
2323
+ def ser_schema(
2324
+ self, schema: core_schema.SerSchema | core_schema.IncExSeqSerSchema | core_schema.IncExDictSerSchema
2325
+ ) -> JsonSchemaValue | None:
2326
+ """Generates a JSON schema that matches a schema that defines a serialized object.
2327
+
2328
+ Args:
2329
+ schema: The core schema.
2330
+
2331
+ Returns:
2332
+ The generated JSON schema.
2333
+ """
2334
+ match schema:
2335
+ case {'type': 'function-plain' | 'function-wrap'}:
2336
+ # PlainSerializerFunctionSerSchema or WrapSerializerFunctionSerSchema
2337
+ return_schema = schema.get('return_schema')
2338
+ if return_schema is not None:
2339
+ return self.generate_inner(return_schema)
2340
+ case {'type': 'format' | 'to-string'}:
2341
+ # FormatSerSchema or ToStringSerSchema
2342
+ return self.str_schema(core_schema.str_schema())
2343
+ case {'type': 'model'}:
2344
+ # ModelSerSchema
2345
+ return self.generate_inner(schema['schema'])
2346
+ return None
2347
+
2348
+ def complex_schema(self, schema: core_schema.ComplexSchema) -> JsonSchemaValue:
2349
+ """Generates a JSON schema that matches a complex number.
2350
+
2351
+ JSON has no standard way to represent complex numbers. Complex number is not a numeric
2352
+ type. Here we represent complex number as strings following the rule defined by Python.
2353
+ For instance, '1+2j' is an accepted complex string. Details can be found in
2354
+ [Python's `complex` documentation][complex].
2355
+
2356
+ Args:
2357
+ schema: The core schema.
2358
+
2359
+ Returns:
2360
+ The generated JSON schema.
2361
+ """
2362
+ return {'type': 'string'}
2363
+
2364
+ # ### Utility methods
2365
+
2366
+ def get_title_from_name(self, name: str) -> str:
2367
+ """Retrieves a title from a name.
2368
+
2369
+ Args:
2370
+ name: The name to retrieve a title from.
2371
+
2372
+ Returns:
2373
+ The title.
2374
+ """
2375
+ return name.title().replace('_', ' ').strip()
2376
+
2377
+ def field_title_should_be_set(self, schema: CoreSchemaOrField) -> bool:
2378
+ """Returns true if a field with the given schema should have a title set based on the field name.
2379
+
2380
+ Intuitively, we want this to return true for schemas that wouldn't otherwise provide their own title
2381
+ (e.g., int, float, str), and false for those that would (e.g., BaseModel subclasses).
2382
+
2383
+ Args:
2384
+ schema: The schema to check.
2385
+
2386
+ Returns:
2387
+ `True` if the field should have a title set, `False` otherwise.
2388
+ """
2389
+ if _core_utils.is_core_schema_field(schema):
2390
+ if schema['type'] == 'computed-field':
2391
+ field_schema = schema['return_schema']
2392
+ else:
2393
+ field_schema = schema['schema']
2394
+ return self.field_title_should_be_set(field_schema)
2395
+
2396
+ elif _core_utils.is_core_schema(schema):
2397
+ if schema.get('ref'): # things with refs, such as models and enums, should not have titles set
2398
+ return False
2399
+ if schema['type'] in {'default', 'nullable', 'definitions'}:
2400
+ return self.field_title_should_be_set(schema['schema']) # type: ignore[typeddict-item]
2401
+ if schema['type'] == 'missing-sentinel' and (inner_schema := schema.get('schema')) is not None:
2402
+ return self.field_title_should_be_set(inner_schema)
2403
+ if _core_utils.is_function_with_inner_schema(schema):
2404
+ return self.field_title_should_be_set(schema['schema'])
2405
+ if schema['type'] == 'definition-ref':
2406
+ # Referenced schemas should not have titles set for the same reason
2407
+ # schemas with refs should not
2408
+ return False
2409
+ return True # anything else should have title set
2410
+
2411
+ else:
2412
+ raise PydanticInvalidForJsonSchema(f'Unexpected schema type: schema={schema}') # pragma: no cover
2413
+
2414
+ def normalize_name(self, name: str) -> str:
2415
+ """Normalizes a name to be used as a key in a dictionary.
2416
+
2417
+ Args:
2418
+ name: The name to normalize.
2419
+
2420
+ Returns:
2421
+ The normalized name.
2422
+ """
2423
+ return re.sub(r'[^a-zA-Z0-9.\-_]', '_', name).replace('.', '__')
2424
+
2425
+ def get_defs_ref(self, core_mode_ref: CoreModeRef) -> DefsRef:
2426
+ """Override this method to change the way that definitions keys are generated from a core reference.
2427
+
2428
+ Args:
2429
+ core_mode_ref: The core reference.
2430
+
2431
+ Returns:
2432
+ The definitions key.
2433
+ """
2434
+ # Split the core ref into "components"; generic origins and arguments are each separate components
2435
+ core_ref, mode = core_mode_ref
2436
+ components = re.split(r'([\][,])', core_ref)
2437
+ # Remove IDs from each component
2438
+ components = [x.rsplit(':', 1)[0] for x in components]
2439
+ core_ref_no_id = ''.join(components)
2440
+ # Remove everything before the last period from each "component"
2441
+ components = [re.sub(r'(?:[^.[\]]+\.)+((?:[^.[\]]+))', r'\1', x) for x in components]
2442
+ short_ref = ''.join(components)
2443
+
2444
+ mode_title = _MODE_TITLE_MAPPING[mode]
2445
+
2446
+ # It is important that the generated defs_ref values be such that at least one choice will not
2447
+ # be generated for any other core_ref. Currently, this should be the case because we include
2448
+ # the id of the source type in the core_ref
2449
+ name = DefsRef(self.normalize_name(short_ref))
2450
+ name_mode = DefsRef(self.normalize_name(short_ref) + f'-{mode_title}')
2451
+ module_qualname = DefsRef(self.normalize_name(core_ref_no_id))
2452
+ module_qualname_mode = DefsRef(f'{module_qualname}-{mode_title}')
2453
+ module_qualname_id = DefsRef(self.normalize_name(core_ref))
2454
+ occurrence_index = self._collision_index.get(module_qualname_id)
2455
+ if occurrence_index is None:
2456
+ self._collision_counter[module_qualname] += 1
2457
+ occurrence_index = self._collision_index[module_qualname_id] = self._collision_counter[module_qualname]
2458
+
2459
+ module_qualname_occurrence = DefsRef(f'{module_qualname}__{occurrence_index}')
2460
+ module_qualname_occurrence_mode = DefsRef(f'{module_qualname_mode}__{occurrence_index}')
2461
+
2462
+ self._prioritized_defsref_choices[module_qualname_occurrence_mode] = [
2463
+ name,
2464
+ name_mode,
2465
+ module_qualname,
2466
+ module_qualname_mode,
2467
+ module_qualname_occurrence,
2468
+ module_qualname_occurrence_mode,
2469
+ ]
2470
+
2471
+ return module_qualname_occurrence_mode
2472
+
2473
+ def get_cache_defs_ref_schema(self, core_ref: CoreRef) -> tuple[DefsRef, JsonSchemaValue]:
2474
+ """This method wraps the get_defs_ref method with some cache-lookup/population logic,
2475
+ and returns both the produced defs_ref and the JSON schema that will refer to the right definition.
2476
+
2477
+ Args:
2478
+ core_ref: The core reference to get the definitions reference for.
2479
+
2480
+ Returns:
2481
+ A tuple of the definitions reference and the JSON schema that will refer to it.
2482
+ """
2483
+ core_mode_ref = (core_ref, self.mode)
2484
+ maybe_defs_ref = self.core_to_defs_refs.get(core_mode_ref)
2485
+ if maybe_defs_ref is not None:
2486
+ json_ref = self.core_to_json_refs[core_mode_ref]
2487
+ return maybe_defs_ref, {'$ref': json_ref}
2488
+
2489
+ defs_ref = self.get_defs_ref(core_mode_ref)
2490
+
2491
+ # populate the ref translation mappings
2492
+ self.core_to_defs_refs[core_mode_ref] = defs_ref
2493
+ self.defs_to_core_refs[defs_ref] = core_mode_ref
2494
+
2495
+ json_ref = JsonRef(self.ref_template.format(model=defs_ref))
2496
+ self.core_to_json_refs[core_mode_ref] = json_ref
2497
+ self.json_to_defs_refs[json_ref] = defs_ref
2498
+ ref_json_schema = {'$ref': json_ref}
2499
+ return defs_ref, ref_json_schema
2500
+
2501
+ def handle_ref_overrides(self, json_schema: JsonSchemaValue) -> JsonSchemaValue:
2502
+ """Remove any sibling keys that are redundant with the referenced schema.
2503
+
2504
+ Args:
2505
+ json_schema: The schema to remove redundant sibling keys from.
2506
+
2507
+ Returns:
2508
+ The schema with redundant sibling keys removed.
2509
+ """
2510
+ if '$ref' in json_schema:
2511
+ # prevent modifications to the input; this copy may be safe to drop if there is significant overhead
2512
+ json_schema = json_schema.copy()
2513
+
2514
+ referenced_json_schema = self.get_schema_from_definitions(JsonRef(json_schema['$ref']))
2515
+ if referenced_json_schema is None:
2516
+ # This can happen when building schemas for models with not-yet-defined references.
2517
+ # It may be a good idea to do a recursive pass at the end of the generation to remove
2518
+ # any redundant override keys.
2519
+ return json_schema
2520
+ for k, v in list(json_schema.items()):
2521
+ if k == '$ref':
2522
+ continue
2523
+ if k in referenced_json_schema and referenced_json_schema[k] == v:
2524
+ del json_schema[k] # redundant key
2525
+
2526
+ return json_schema
2527
+
2528
+ def get_schema_from_definitions(self, json_ref: JsonRef) -> JsonSchemaValue | None:
2529
+ try:
2530
+ def_ref = self.json_to_defs_refs[json_ref]
2531
+ if def_ref in self._core_defs_invalid_for_json_schema:
2532
+ raise self._core_defs_invalid_for_json_schema[def_ref]
2533
+ return self.definitions.get(def_ref, None)
2534
+ except KeyError:
2535
+ if json_ref.startswith(('http://', 'https://')):
2536
+ return None
2537
+ raise
2538
+
2539
+ def encode_default(self, dft: Any) -> Any:
2540
+ """Encode a default value to a JSON-serializable value.
2541
+
2542
+ This is used to encode default values for fields in the generated JSON schema.
2543
+
2544
+ Args:
2545
+ dft: The default value to encode.
2546
+
2547
+ Returns:
2548
+ The encoded default value.
2549
+ """
2550
+ from .type_adapter import TypeAdapter, _type_has_config
2551
+
2552
+ config = self._config.config_dict
2553
+ if self.mode == 'validation' and ('ser_json_temporal' in config or 'ser_json_timedelta' in config):
2554
+ # Temporal serialization formats aren't applied to validation JSON Schemas (see `_common_temporal_schema()`),
2555
+ # so they shouldn't be applied to the default either:
2556
+ config = cast(
2557
+ 'ConfigDict',
2558
+ {k: v for k, v in config.items() if k not in ('ser_json_temporal', 'ser_json_timedelta')},
2559
+ )
2560
+ try:
2561
+ # Types with their own config (e.g. models) can't be used with a config, so we serialize "as Any",
2562
+ # which will serialize using their own serializer.
2563
+ return TypeAdapter(Any if _type_has_config(type(dft)) else type(dft), config=config).dump_python(
2564
+ dft, by_alias=self.by_alias, mode='json'
2565
+ )
2566
+ except Exception as e:
2567
+ raise pydantic_core.PydanticSerializationError(f'Unable to encode default value {dft}') from e
2568
+
2569
+ def update_with_validations(
2570
+ self, json_schema: JsonSchemaValue, core_schema: CoreSchema, mapping: dict[str, str]
2571
+ ) -> None:
2572
+ """Update the json_schema with the corresponding validations specified in the core_schema,
2573
+ using the provided mapping to translate keys in core_schema to the appropriate keys for a JSON schema.
2574
+
2575
+ Args:
2576
+ json_schema: The JSON schema to update.
2577
+ core_schema: The core schema to get the validations from.
2578
+ mapping: A mapping from core_schema attribute names to the corresponding JSON schema attribute names.
2579
+ """
2580
+ for core_key, json_schema_key in mapping.items():
2581
+ if core_key in core_schema:
2582
+ json_schema[json_schema_key] = core_schema[core_key]
2583
+
2584
+ class ValidationsMapping:
2585
+ """This class just contains mappings from core_schema attribute names to the corresponding
2586
+ JSON schema attribute names. While I suspect it is unlikely to be necessary, you can in
2587
+ principle override this class in a subclass of GenerateJsonSchema (by inheriting from
2588
+ GenerateJsonSchema.ValidationsMapping) to change these mappings.
2589
+ """
2590
+
2591
+ numeric = {
2592
+ 'multiple_of': 'multipleOf',
2593
+ 'le': 'maximum',
2594
+ 'ge': 'minimum',
2595
+ 'lt': 'exclusiveMaximum',
2596
+ 'gt': 'exclusiveMinimum',
2597
+ }
2598
+ bytes = {
2599
+ 'min_length': 'minLength',
2600
+ 'max_length': 'maxLength',
2601
+ }
2602
+ string = {
2603
+ 'min_length': 'minLength',
2604
+ 'max_length': 'maxLength',
2605
+ 'pattern': 'pattern',
2606
+ }
2607
+ array = {
2608
+ 'min_length': 'minItems',
2609
+ 'max_length': 'maxItems',
2610
+ }
2611
+ object = {
2612
+ 'min_length': 'minProperties',
2613
+ 'max_length': 'maxProperties',
2614
+ }
2615
+
2616
+ def get_flattened_anyof(self, schemas: list[JsonSchemaValue]) -> JsonSchemaValue:
2617
+ members = []
2618
+ for schema in schemas:
2619
+ if len(schema) == 1 and 'anyOf' in schema:
2620
+ members.extend(schema['anyOf'])
2621
+ else:
2622
+ members.append(schema)
2623
+ members = _deduplicate_schemas(members)
2624
+ if len(members) == 1:
2625
+ return members[0]
2626
+ return {'anyOf': members}
2627
+
2628
+ def get_json_ref_counts(self, json_schema: JsonSchemaValue) -> dict[JsonRef, int]:
2629
+ """Get all values corresponding to the key '$ref' anywhere in the json_schema."""
2630
+ json_refs: dict[JsonRef, int] = Counter()
2631
+
2632
+ def _add_json_refs(schema: Any) -> None:
2633
+ if isinstance(schema, dict):
2634
+ if '$ref' in schema:
2635
+ json_ref = JsonRef(schema['$ref'])
2636
+ if not isinstance(json_ref, str):
2637
+ return # in this case, '$ref' might have been the name of a property
2638
+ already_visited = json_ref in json_refs
2639
+ json_refs[json_ref] += 1
2640
+ if already_visited:
2641
+ return # prevent recursion on a definition that was already visited
2642
+ try:
2643
+ defs_ref = self.json_to_defs_refs[json_ref]
2644
+ if defs_ref in self._core_defs_invalid_for_json_schema:
2645
+ raise self._core_defs_invalid_for_json_schema[defs_ref]
2646
+ _add_json_refs(self.definitions[defs_ref])
2647
+ except KeyError:
2648
+ if not json_ref.startswith(('http://', 'https://')):
2649
+ raise
2650
+
2651
+ for k, v in schema.items():
2652
+ if k == 'examples' and isinstance(v, list):
2653
+ # Skip examples that may contain arbitrary values and references
2654
+ # (see the comment in `_get_all_json_refs` for more details).
2655
+ continue
2656
+ _add_json_refs(v)
2657
+ elif isinstance(schema, list):
2658
+ for v in schema:
2659
+ _add_json_refs(v)
2660
+
2661
+ _add_json_refs(json_schema)
2662
+ return json_refs
2663
+
2664
+ def handle_invalid_for_json_schema(self, schema: CoreSchemaOrField, error_info: str) -> JsonSchemaValue:
2665
+ raise PydanticInvalidForJsonSchema(f'Cannot generate a JsonSchema for {error_info}')
2666
+
2667
+ def emit_warning(self, kind: JsonSchemaWarningKind, detail: str) -> None:
2668
+ """This method simply emits PydanticJsonSchemaWarnings based on handling in the `warning_message` method."""
2669
+ message = self.render_warning_message(kind, detail)
2670
+ if message is not None:
2671
+ warnings.warn(message, PydanticJsonSchemaWarning)
2672
+
2673
+ def render_warning_message(self, kind: JsonSchemaWarningKind, detail: str) -> str | None:
2674
+ """This method is responsible for ignoring warnings as desired, and for formatting the warning messages.
2675
+
2676
+ You can override the value of `ignored_warning_kinds` in a subclass of GenerateJsonSchema
2677
+ to modify what warnings are generated. If you want more control, you can override this method;
2678
+ just return None in situations where you don't want warnings to be emitted.
2679
+
2680
+ Args:
2681
+ kind: The kind of warning to render. It can be one of the following:
2682
+
2683
+ - 'skipped-choice': A choice field was skipped because it had no valid choices.
2684
+ - 'non-serializable-default': A default value was skipped because it was not JSON-serializable.
2685
+ detail: A string with additional details about the warning.
2686
+
2687
+ Returns:
2688
+ The formatted warning message, or `None` if no warning should be emitted.
2689
+ """
2690
+ if kind in self.ignored_warning_kinds:
2691
+ return None
2692
+ return f'{detail} [{kind}]'
2693
+
2694
+ def _build_definitions_remapping(self) -> _DefinitionsRemapping:
2695
+ defs_to_json: dict[DefsRef, JsonRef] = {}
2696
+ for defs_refs in self._prioritized_defsref_choices.values():
2697
+ for defs_ref in defs_refs:
2698
+ json_ref = JsonRef(self.ref_template.format(model=defs_ref))
2699
+ defs_to_json[defs_ref] = json_ref
2700
+
2701
+ return _DefinitionsRemapping.from_prioritized_choices(
2702
+ self._prioritized_defsref_choices, defs_to_json, self.definitions
2703
+ )
2704
+
2705
+ def _garbage_collect_definitions(self, schema: JsonSchemaValue) -> None:
2706
+ visited_defs_refs: set[DefsRef] = set()
2707
+ unvisited_json_refs = _get_all_json_refs(schema)
2708
+ while unvisited_json_refs:
2709
+ next_json_ref = unvisited_json_refs.pop()
2710
+ try:
2711
+ next_defs_ref = self.json_to_defs_refs[next_json_ref]
2712
+ if next_defs_ref in visited_defs_refs:
2713
+ continue
2714
+ visited_defs_refs.add(next_defs_ref)
2715
+ unvisited_json_refs.update(_get_all_json_refs(self.definitions[next_defs_ref]))
2716
+ except KeyError:
2717
+ if not next_json_ref.startswith(('http://', 'https://')):
2718
+ raise
2719
+
2720
+ self.definitions = {k: v for k, v in self.definitions.items() if k in visited_defs_refs}
2721
+
2722
+
2723
+ # ##### Start JSON Schema Generation Functions #####
2724
+
2725
+
2726
+ def model_json_schema(
2727
+ cls: type[BaseModel] | type[PydanticDataclass],
2728
+ by_alias: bool | None = None,
2729
+ ref_template: str = DEFAULT_REF_TEMPLATE,
2730
+ union_format: Literal['any_of', 'primitive_type_array'] = 'any_of',
2731
+ schema_generator: type[GenerateJsonSchema] = GenerateJsonSchema,
2732
+ mode: JsonSchemaMode = 'validation',
2733
+ ) -> dict[str, Any]:
2734
+ """Utility function to generate a JSON Schema for a model.
2735
+
2736
+ Args:
2737
+ cls: The model class to generate a JSON Schema for.
2738
+ by_alias: Whether to use field aliases as keys in the generated JSON Schema. If `None` (the default),
2739
+ aliases are used unless disabled by the configuration (i.e. `validate_by_alias=False` for validation
2740
+ schemas). An explicit value takes precedence over the configuration.
2741
+ ref_template: The template to use for generating JSON Schema references.
2742
+ union_format: The format to use when combining schemas from unions together. Can be one of:
2743
+
2744
+ - `'any_of'`: Use the [`anyOf`](https://json-schema.org/understanding-json-schema/reference/combining#anyOf)
2745
+ keyword to combine schemas (the default).
2746
+ - `'primitive_type_array'`: Use the [`type`](https://json-schema.org/understanding-json-schema/reference/type)
2747
+ keyword as an array of strings, containing each type of the combination. If any of the schemas is not a primitive
2748
+ type (`string`, `boolean`, `null`, `integer` or `number`) or contains constraints/metadata, falls back to
2749
+ `any_of`.
2750
+ schema_generator: The class to use for generating the JSON Schema.
2751
+ mode: The mode to use for generating the JSON Schema. It can be one of the following:
2752
+
2753
+ - 'validation': Generate a JSON Schema for validating data.
2754
+ - 'serialization': Generate a JSON Schema for serializing data.
2755
+
2756
+ Returns:
2757
+ The generated JSON Schema.
2758
+ """
2759
+ from .main import BaseModel
2760
+
2761
+ schema_generator_instance = schema_generator(
2762
+ by_alias=by_alias, ref_template=ref_template, union_format=union_format
2763
+ )
2764
+
2765
+ if isinstance(cls.__pydantic_core_schema__, _mock_val_ser.MockCoreSchema):
2766
+ cls.__pydantic_core_schema__.rebuild()
2767
+
2768
+ if cls is BaseModel:
2769
+ raise AttributeError('model_json_schema() must be called on a subclass of BaseModel, not BaseModel itself.')
2770
+
2771
+ assert not isinstance(cls.__pydantic_core_schema__, _mock_val_ser.MockCoreSchema), 'this is a bug! please report it'
2772
+ return schema_generator_instance.generate(cls.__pydantic_core_schema__, mode=mode)
2773
+
2774
+
2775
+ def models_json_schema(
2776
+ models: Sequence[tuple[type[BaseModel] | type[PydanticDataclass], JsonSchemaMode]],
2777
+ *,
2778
+ by_alias: bool | None = None,
2779
+ title: str | None = None,
2780
+ description: str | None = None,
2781
+ ref_template: str = DEFAULT_REF_TEMPLATE,
2782
+ union_format: Literal['any_of', 'primitive_type_array'] = 'any_of',
2783
+ schema_generator: type[GenerateJsonSchema] = GenerateJsonSchema,
2784
+ ) -> tuple[dict[tuple[type[BaseModel] | type[PydanticDataclass], JsonSchemaMode], JsonSchemaValue], JsonSchemaValue]:
2785
+ """Utility function to generate a JSON Schema for multiple models.
2786
+
2787
+ Args:
2788
+ models: A sequence of tuples of the form (model, mode).
2789
+ by_alias: Whether to use field aliases as keys in the generated JSON Schema. If `None` (the default),
2790
+ aliases are used unless disabled by the configuration (i.e. `validate_by_alias=False` for validation
2791
+ schemas). An explicit value takes precedence over the configuration.
2792
+ title: The title of the generated JSON Schema.
2793
+ description: The description of the generated JSON Schema.
2794
+ ref_template: The reference template to use for generating JSON Schema references.
2795
+ union_format: The format to use when combining schemas from unions together. Can be one of:
2796
+
2797
+ - `'any_of'`: Use the [`anyOf`](https://json-schema.org/understanding-json-schema/reference/combining#anyOf)
2798
+ keyword to combine schemas (the default).
2799
+ - `'primitive_type_array'`: Use the [`type`](https://json-schema.org/understanding-json-schema/reference/type)
2800
+ keyword as an array of strings, containing each type of the combination. If any of the schemas is not a primitive
2801
+ type (`string`, `boolean`, `null`, `integer` or `number`) or contains constraints/metadata, falls back to
2802
+ `any_of`.
2803
+ schema_generator: The schema generator to use for generating the JSON Schema.
2804
+
2805
+ Returns:
2806
+ A tuple where:
2807
+ - The first element is a dictionary whose keys are tuples of JSON schema key type and JSON mode, and
2808
+ whose values are the JSON schema corresponding to that pair of inputs. (These schemas may have
2809
+ JsonRef references to definitions that are defined in the second returned element.)
2810
+ - The second element is a JSON schema containing all definitions referenced in the first returned
2811
+ element, along with the optional title and description keys.
2812
+ """
2813
+ for cls, _ in models:
2814
+ if isinstance(cls.__pydantic_core_schema__, _mock_val_ser.MockCoreSchema):
2815
+ cls.__pydantic_core_schema__.rebuild()
2816
+
2817
+ instance = schema_generator(by_alias=by_alias, ref_template=ref_template, union_format=union_format)
2818
+ inputs: list[tuple[type[BaseModel] | type[PydanticDataclass], JsonSchemaMode, CoreSchema]] = [
2819
+ (m, mode, m.__pydantic_core_schema__) for m, mode in models
2820
+ ]
2821
+ json_schemas_map, definitions = instance.generate_definitions(inputs)
2822
+
2823
+ json_schema: dict[str, Any] = {}
2824
+ if definitions:
2825
+ json_schema['$defs'] = definitions
2826
+ if title:
2827
+ json_schema['title'] = title
2828
+ if description:
2829
+ json_schema['description'] = description
2830
+
2831
+ return json_schemas_map, json_schema
2832
+
2833
+
2834
+ # ##### End JSON Schema Generation Functions #####
2835
+
2836
+
2837
+ # Decimal JSON Schema pattern utilities.
2838
+ # Note: while we could use `\d` to represent digits (`Decimal` objects allow Unicode decimal digits), we use [0-9] instead:
2839
+ # - to reduce complexity (`\d` expands to a large set, and with `max_digits`/`decimal_places` constraints set, it can blow
2840
+ # the compile limit on some engines).
2841
+ # - [0-9] is a portable pattern (e.g. `\d` is equivalent to `[0-9]` in ECMA (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Character_class_escape#d)
2842
+ # while it allows any Unicode decimal digit in Python.
2843
+
2844
+
2845
+ def _repeat(atom: str, min_count: int, max_count: int) -> str:
2846
+ """Build a regex repetition of `atom` between `min_count` and `max_count` times (inclusive), using the shortest quantifier."""
2847
+ if min_count > max_count or max_count == 0:
2848
+ return ''
2849
+ if min_count == max_count:
2850
+ return atom if min_count == 1 else f'{atom}{{{min_count}}}'
2851
+ if (min_count, max_count) == (0, 1):
2852
+ return f'{atom}?'
2853
+ return f'{atom}{{{min_count},{max_count}}}'
2854
+
2855
+
2856
+ def _int_range_pattern(max_value: int) -> str:
2857
+ """Build a regex matching the integers between 1 and `max_value` (inclusive), without leading zeros."""
2858
+ digits = str(max_value)
2859
+ length = len(digits)
2860
+ alts: list[str] = [f'[1-9]{_repeat("[0-9]", k - 1, k - 1)}' for k in range(1, length)]
2861
+ for i, char in enumerate(digits):
2862
+ d = int(char)
2863
+ low = 1 if i == 0 else 0
2864
+ high = d if i == length - 1 else d - 1
2865
+ if high >= low:
2866
+ char_class = str(low) if low == high else f'[{low}-{high}]'
2867
+ alts.append(f'{digits[:i]}{char_class}{_repeat("[0-9]", length - i - 1, length - i - 1)}')
2868
+ return alts[0] if len(alts) == 1 else f'(?:{"|".join(alts)})'
2869
+
2870
+
2871
+ def _decimal_validation_pattern(max_digits: int | None, decimal_places: int | None, allow_inf_nan: bool) -> str:
2872
+ """Build the decimal pattern for the `'validation'` mode."""
2873
+
2874
+ number = r'(?:[0-9]+\.?[0-9]*|\.[0-9]+)' # e.g. 1, 1., .5
2875
+ exponent = r'[eE][+-]?[0-9]+' # e.g. e5, E5, e-7
2876
+ # e.g. Infinity, inf, NaN, sNaN, NaN123 (case-insensitive). Spelled out explicitly, as inline flags
2877
+ # aren't supported by all regular expression engines:
2878
+ non_finite = r'|[iI][nN][fF](?:[iI][nN][iI][tT][yY])?|[sS]?[nN][aA][nN][0-9]*' if allow_inf_nan else ''
2879
+ if max_digits is None and decimal_places is None:
2880
+ return rf'^[+-]?(?:{number}(?:{exponent})?{non_finite})$'
2881
+
2882
+ alts: list[str] = []
2883
+ if max_digits is not None and decimal_places is not None:
2884
+ # If `decimal_places > max_digits`, no whole digits are allowed and `max_digits` bounds the decimal places:
2885
+ whole = max(0, max_digits - decimal_places)
2886
+ places = min(max_digits, decimal_places)
2887
+ int_part = f'0*{_repeat("[0-9]", 1, whole)}' if whole else '0+'
2888
+ opt_int_part = f'0*{_repeat("[0-9]", 0, whole)}'
2889
+ opt_frac_part = rf'\.{_repeat("[0-9]", 0, places)}0*'
2890
+ frac_part = rf'\.{_repeat("[0-9]", 1, places)}0*' if places else r'\.0+'
2891
+ alts += [f'{int_part}(?:{opt_frac_part})?', f'{opt_int_part}{frac_part}']
2892
+ elif max_digits is not None:
2893
+ # The whole part and decimal part must have at most `max_digits` digits in total,
2894
+ # so we enumerate the possible widths of the whole part:
2895
+ int_part = f'0*{_repeat("[0-9]", 1, max_digits)}' if max_digits else '0+'
2896
+ alts.append(rf'{int_part}(?:\.0*)?')
2897
+ alts += [
2898
+ rf'0*{_repeat("[0-9]", whole, whole)}\.{_repeat("[0-9]", 1, max_digits - whole)}0*'
2899
+ for whole in range(max_digits)
2900
+ ] or [r'0*\.0+']
2901
+ else:
2902
+ assert decimal_places is not None
2903
+ opt_frac_part = rf'\.{_repeat("[0-9]", 0, decimal_places)}0*'
2904
+ frac_part = rf'\.{_repeat("[0-9]", 1, decimal_places)}0*' if decimal_places else r'\.0+'
2905
+ alts += [f'[0-9]+(?:{opt_frac_part})?', f'[0-9]*{frac_part}']
2906
+
2907
+ alts.append(f'{number}{exponent}')
2908
+ return rf'^[+-]?(?:{"|".join(alts)}{non_finite})$'
2909
+
2910
+
2911
+ def _decimal_serialization_pattern(max_digits: int | None, decimal_places: int | None, allow_inf_nan: bool) -> str:
2912
+ """Build the decimal pattern for the `'serialization'` mode.
2913
+
2914
+ Decimals are serialized using `str()`, producing either:
2915
+
2916
+ - The plain notation (`'123.45'`), when the exponent is lower than or equal to 0 and the adjusted
2917
+ exponent is greater than or equal to -6.
2918
+ - The scientific notation otherwise (`'1E+3'`, `'1.5E-7'`, `'0E-10'`), with a single digit before
2919
+ the optional decimal point and an always signed exponent.
2920
+
2921
+ Trailing zeros of the decimal part are preserved by `str()`, but aren't counted by the validation logic.
2922
+ """
2923
+
2924
+ def frac_part(places: int) -> str:
2925
+ return rf'\.{_repeat("[0-9]", 1, places)}0*' if places else r'\.0+'
2926
+
2927
+ alts: list[str] = []
2928
+
2929
+ # Plain notation:
2930
+ if max_digits is not None and decimal_places is not None:
2931
+ whole = max(0, max_digits - decimal_places)
2932
+ places = min(max_digits, decimal_places)
2933
+ int_part = f'(?:0|[1-9]{_repeat("[0-9]", 0, whole - 1)})' if whole else '0'
2934
+ alts.append(f'{int_part}(?:{frac_part(places)})?')
2935
+ elif max_digits is not None:
2936
+ # The whole part and decimal part must have at most `max_digits` digits in total,
2937
+ # so we enumerate the possible widths of the whole part:
2938
+ alts.append(rf'0(?:\.{_repeat("[0-9]", 1, max_digits)}0*)?')
2939
+ alts += [
2940
+ f'[1-9]{_repeat("[0-9]", whole - 1, whole - 1)}(?:{frac_part(max_digits - whole)})?'
2941
+ for whole in range(1, max_digits + 1)
2942
+ ]
2943
+ elif decimal_places is not None:
2944
+ alts.append(f'(?:0|[1-9][0-9]*)(?:{frac_part(decimal_places)})?')
2945
+ else:
2946
+ alts.append(r'(?:0|[1-9][0-9]*)(?:\.[0-9]+)?')
2947
+
2948
+ # Zero with an exponent (e.g. `'0E-10'`), which normalizes to zero and thus satisfies any constraint:
2949
+ alts.append(r'0E[+-][1-9][0-9]*')
2950
+
2951
+ # Scientific notation with a positive exponent `k` (e.g. `'1.5E+3'`): the value has `k + 1` whole digits
2952
+ # and no decimal places:
2953
+ if max_digits is None:
2954
+ alts.append(r'[1-9](?:\.[0-9]+)?E\+[1-9][0-9]*')
2955
+ else:
2956
+ max_exponent = max_digits - (decimal_places or 0) - 1
2957
+ if max_exponent >= 1:
2958
+ alts.append(rf'[1-9](?:\.[0-9]+)?E\+{_int_range_pattern(max_exponent)}')
2959
+
2960
+ # Scientific notation with a negative exponent `k` (`k >= 7`, e.g. `'1.5E-7'`): the value has no whole digits,
2961
+ # and `k` + (the number of significant decimal digits of the coefficient) decimal places:
2962
+ if max_digits is None and decimal_places is None:
2963
+ alts.append(r'[1-9](?:\.[0-9]+)?E-[1-9][0-9]*')
2964
+ else:
2965
+ max_places = min(c for c in (max_digits, decimal_places) if c is not None)
2966
+ alts += [f'[1-9](?:{frac_part(max_places - k)})?E-{k}' for k in range(7, max_places + 1)]
2967
+
2968
+ if allow_inf_nan:
2969
+ # `str()` produces `'Infinity'`, `'NaN'` and `'sNaN'` (with an optional payload):
2970
+ alts += ['Infinity', 's?NaN[0-9]*']
2971
+
2972
+ return rf'^-?(?:{"|".join(alts)})$'
2973
+
2974
+
2975
+ def _deduplicate_schemas(schemas: Iterable[JsonDict]) -> list[JsonDict]:
2976
+ return list({_make_json_hashable(schema): schema for schema in schemas}.values())
2977
+
2978
+
2979
+ _HashableJsonValue: TypeAlias = (
2980
+ int | float | str | bool | None | tuple['_HashableJsonValue', ...] | tuple[tuple[str, '_HashableJsonValue'], ...]
2981
+ )
2982
+
2983
+
2984
+ def _make_json_hashable(value: JsonValue) -> _HashableJsonValue:
2985
+ if isinstance(value, dict):
2986
+ return tuple(sorted((k, _make_json_hashable(v)) for k, v in value.items()))
2987
+ elif isinstance(value, list):
2988
+ return tuple(_make_json_hashable(v) for v in value)
2989
+ else:
2990
+ return value
2991
+
2992
+
2993
+ @dataclasses.dataclass(slots=True)
2994
+ class WithJsonSchema:
2995
+ """!!! abstract "Usage Documentation"
2996
+ [`WithJsonSchema` Annotation](../concepts/json_schema.md#withjsonschema-annotation)
2997
+
2998
+ An annotation used to override the JSON Schema for a type.
2999
+
3000
+ This is useful when you want to set a JSON Schema for a type that don't produce any JSON Schemas by default
3001
+ (e.g. [`Callable`][collections.abc.Callable]).
3002
+
3003
+ If `mode` is set this will only apply to that schema generation mode, allowing you to set different JSON Schemas for validation and serialization.
3004
+
3005
+ !!! note
3006
+ If the `WithJsonSchema` annotation is coupled with the [`Field()`][pydantic.Field] function, the behavior overriding will vary depending on the location:
3007
+
3008
+ * If the [`Annotated`][typing.Annotated] metadata is specified at the "top-level" field, `Field()` metadata arguments
3009
+ (excluding [constraints](../concepts/fields.md#field-constraints)) such as `title` and `description` will be applied on
3010
+ top of the `WithJsonSchema`, no matter the order:
3011
+
3012
+ ```python
3013
+ from typing import Annotated
3014
+
3015
+ from pydantic import BaseModel, Field, WithJsonSchema
3016
+
3017
+ class Model(BaseModel):
3018
+ field: Annotated[
3019
+ int,
3020
+ Field(title='My Field'),
3021
+ WithJsonSchema({'type': 'integer', 'extra': 'data'}),
3022
+ ]
3023
+
3024
+ Model.model_json_schema()['properties']['field']
3025
+ #> {'type': 'integer', 'extra': 'data', 'title': 'My Field'}
3026
+ ```
3027
+
3028
+ * If the [`Annotated`][typing.Annotated] metadata is specified on a specific inner type, `WithJsonSchema` will unconditionally
3029
+ override the JSON Schema:
3030
+
3031
+ ```python
3032
+ from typing import Annotated
3033
+
3034
+ from pydantic import BaseModel, Field, WithJsonSchema
3035
+
3036
+ class Model(BaseModel):
3037
+ field: list[
3038
+ Annotated[
3039
+ int,
3040
+ Field(title='My Field'),
3041
+ WithJsonSchema({'type': 'integer', 'extra': 'data'}),
3042
+ ]
3043
+ ]
3044
+
3045
+ Model.model_json_schema()['properties']['field']
3046
+ #> {'items': {'extra': 'data', 'type': 'integer'}, 'title': 'Field', 'type': 'array'}
3047
+ ```
3048
+
3049
+ See also the documentation about [the annotated pattern](../concepts/fields.md#the-annotated-pattern).
3050
+ """
3051
+
3052
+ json_schema: JsonSchemaValue | None
3053
+ mode: Literal['validation', 'serialization'] | None = None
3054
+
3055
+ def __get_pydantic_json_schema__(
3056
+ self, core_schema: core_schema.CoreSchema, handler: GetJsonSchemaHandler
3057
+ ) -> JsonSchemaValue:
3058
+ if self.mode is not None and self.mode != handler.mode:
3059
+ return handler(core_schema)
3060
+ if self.json_schema is None:
3061
+ # This exception is handled in pydantic.json_schema.GenerateJsonSchema._named_required_fields_schema
3062
+ raise PydanticOmit
3063
+ else:
3064
+ return self.json_schema.copy()
3065
+
3066
+ def __hash__(self) -> int:
3067
+ return hash(self.mode)
3068
+
3069
+
3070
+ class Examples:
3071
+ """Add examples to a JSON schema.
3072
+
3073
+ If the JSON Schema already contains examples, the provided examples
3074
+ will be appended.
3075
+
3076
+ If `mode` is set this will only apply to that schema generation mode,
3077
+ allowing you to add different examples for validation and serialization.
3078
+ """
3079
+
3080
+ @overload
3081
+ @deprecated('Using a dict for `examples` is deprecated since v2.9 and will be removed in v3.0. Use a list instead.')
3082
+ def __init__(
3083
+ self, examples: dict[str, Any], mode: Literal['validation', 'serialization'] | None = None
3084
+ ) -> None: ...
3085
+
3086
+ @overload
3087
+ def __init__(self, examples: list[Any], mode: Literal['validation', 'serialization'] | None = None) -> None: ...
3088
+
3089
+ def __init__(
3090
+ self, examples: dict[str, Any] | list[Any], mode: Literal['validation', 'serialization'] | None = None
3091
+ ) -> None:
3092
+ if isinstance(examples, dict):
3093
+ warnings.warn(
3094
+ 'Using a dict for `examples` is deprecated, use a list instead.',
3095
+ PydanticDeprecatedSince29,
3096
+ stacklevel=2,
3097
+ )
3098
+ self.examples = examples
3099
+ self.mode = mode
3100
+
3101
+ def __get_pydantic_json_schema__(
3102
+ self, core_schema: core_schema.CoreSchema, handler: GetJsonSchemaHandler
3103
+ ) -> JsonSchemaValue:
3104
+ mode = self.mode or handler.mode
3105
+ json_schema = handler(core_schema)
3106
+ if mode != handler.mode:
3107
+ return json_schema
3108
+ examples = json_schema.get('examples')
3109
+ if examples is None:
3110
+ json_schema['examples'] = to_jsonable_python(self.examples)
3111
+ if isinstance(examples, dict):
3112
+ if isinstance(self.examples, list):
3113
+ warnings.warn(
3114
+ 'Updating existing JSON Schema examples of type dict with examples of type list. '
3115
+ 'Only the existing examples values will be retained. Note that dict support for '
3116
+ 'examples is deprecated and will be removed in v3.0.',
3117
+ UserWarning,
3118
+ )
3119
+ json_schema['examples'] = to_jsonable_python(
3120
+ [ex for value in examples.values() for ex in value] + self.examples
3121
+ )
3122
+ else:
3123
+ json_schema['examples'] = to_jsonable_python({**examples, **self.examples})
3124
+ if isinstance(examples, list):
3125
+ if isinstance(self.examples, list):
3126
+ json_schema['examples'] = to_jsonable_python(examples + self.examples)
3127
+ elif isinstance(self.examples, dict):
3128
+ warnings.warn(
3129
+ 'Updating existing JSON Schema examples of type list with examples of type dict. '
3130
+ 'Only the examples values will be retained. Note that dict support for '
3131
+ 'examples is deprecated and will be removed in v3.0.',
3132
+ UserWarning,
3133
+ )
3134
+ json_schema['examples'] = to_jsonable_python(
3135
+ examples + [ex for value in self.examples.values() for ex in value]
3136
+ )
3137
+
3138
+ return json_schema
3139
+
3140
+ def __hash__(self) -> int:
3141
+ return hash(self.mode)
3142
+
3143
+
3144
+ def _get_all_json_refs(item: Any) -> set[JsonRef]:
3145
+ """Get all the definitions references from a JSON schema."""
3146
+ refs: set[JsonRef] = set()
3147
+ stack = [item]
3148
+
3149
+ while stack:
3150
+ current = stack.pop()
3151
+ if isinstance(current, dict):
3152
+ for key, value in current.items():
3153
+ if key == 'examples' and isinstance(value, list):
3154
+ # Skip examples that may contain arbitrary values and references
3155
+ # (e.g. `{"examples": [{"$ref": "..."}]}`). Note: checking for value
3156
+ # of type list is necessary to avoid skipping valid portions of the schema,
3157
+ # for instance when "examples" is used as a property key. A more robust solution
3158
+ # could be found, but would require more advanced JSON Schema parsing logic.
3159
+ continue
3160
+ if key == '$ref' and isinstance(value, str):
3161
+ refs.add(JsonRef(value))
3162
+ elif isinstance(value, dict):
3163
+ stack.append(value)
3164
+ elif isinstance(value, list):
3165
+ stack.extend(value)
3166
+ elif isinstance(current, list):
3167
+ stack.extend(current)
3168
+
3169
+ return refs
3170
+
3171
+
3172
+ AnyType = TypeVar('AnyType')
3173
+
3174
+ if TYPE_CHECKING:
3175
+ SkipJsonSchema = Annotated[AnyType, ...]
3176
+ else:
3177
+
3178
+ @dataclasses.dataclass(slots=True)
3179
+ class SkipJsonSchema:
3180
+ """!!! abstract "Usage Documentation"
3181
+ [`SkipJsonSchema` Annotation](../concepts/json_schema.md#skipjsonschema-annotation)
3182
+
3183
+ Add this as an annotation on a field to skip generating a JSON schema for that field.
3184
+
3185
+ Example:
3186
+ ```python
3187
+ from pprint import pprint
3188
+
3189
+ from pydantic import BaseModel
3190
+ from pydantic.json_schema import SkipJsonSchema
3191
+
3192
+ class Model(BaseModel):
3193
+ a: int | None = None # (1)!
3194
+ b: int | SkipJsonSchema[None] = None # (2)!
3195
+ c: SkipJsonSchema[int | None] = None # (3)!
3196
+
3197
+ pprint(Model.model_json_schema())
3198
+ '''
3199
+ {
3200
+ 'properties': {
3201
+ 'a': {
3202
+ 'anyOf': [
3203
+ {'type': 'integer'},
3204
+ {'type': 'null'}
3205
+ ],
3206
+ 'default': None,
3207
+ 'title': 'A'
3208
+ },
3209
+ 'b': {
3210
+ 'default': None,
3211
+ 'title': 'B',
3212
+ 'type': 'integer'
3213
+ }
3214
+ },
3215
+ 'title': 'Model',
3216
+ 'type': 'object'
3217
+ }
3218
+ '''
3219
+ ```
3220
+
3221
+ 1. The integer and null types are both included in the schema for `a`.
3222
+ 2. The integer type is the only type included in the schema for `b`.
3223
+ 3. The entirety of the `c` field is omitted from the schema.
3224
+ """
3225
+
3226
+ def __class_getitem__(cls, item: AnyType) -> AnyType:
3227
+ return Annotated[item, cls()]
3228
+
3229
+ def __get_pydantic_json_schema__(
3230
+ self, core_schema: CoreSchema, handler: GetJsonSchemaHandler
3231
+ ) -> JsonSchemaValue:
3232
+ raise PydanticOmit
3233
+
3234
+ def __hash__(self) -> int:
3235
+ return hash(type(self))
3236
+
3237
+
3238
+ def _get_typed_dict_config(cls: type[Any] | None) -> ConfigDict | None:
3239
+ # If typed dictionary doesn't have config, the parent's config is used (as during core schema generation),
3240
+ # hence a default of `None`:
3241
+ if cls is not None:
3242
+ try:
3243
+ return _decorators.get_attribute_from_bases(cls, '__pydantic_config__')
3244
+ except AttributeError:
3245
+ pass
3246
+ return None
3247
+
3248
+
3249
+ def _get_ser_schema_for_default_value(schema: CoreSchema) -> core_schema.PlainSerializerFunctionSerSchema | None:
3250
+ """Get a `'function-plain'` serialization schema that can be used to serialize a default value.
3251
+
3252
+ This takes into account having the serialization schema nested under validation schema(s).
3253
+ """
3254
+ if (
3255
+ (ser_schema := schema.get('serialization'))
3256
+ and ser_schema['type'] == 'function-plain'
3257
+ and not ser_schema.get('info_arg')
3258
+ ):
3259
+ return cast('core_schema.PlainSerializerFunctionSerSchema', ser_schema)
3260
+ if _core_utils.is_function_with_inner_schema(schema):
3261
+ return _get_ser_schema_for_default_value(schema['schema'])