prefect-client 2.20.17__py3-none-any.whl → 2.20.18__py3-none-any.whl
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.
- prefect/utilities/callables.py +4 -3
- {prefect_client-2.20.17.dist-info → prefect_client-2.20.18.dist-info}/METADATA +1 -1
- {prefect_client-2.20.17.dist-info → prefect_client-2.20.18.dist-info}/RECORD +6 -6
- {prefect_client-2.20.17.dist-info → prefect_client-2.20.18.dist-info}/WHEEL +1 -1
- {prefect_client-2.20.17.dist-info → prefect_client-2.20.18.dist-info}/licenses/LICENSE +0 -0
- {prefect_client-2.20.17.dist-info → prefect_client-2.20.18.dist-info}/top_level.txt +0 -0
prefect/utilities/callables.py
CHANGED
@@ -379,16 +379,17 @@ def generate_parameter_schema(
|
|
379
379
|
model_fields = {}
|
380
380
|
aliases = {}
|
381
381
|
|
382
|
-
class ModelConfig:
|
383
|
-
arbitrary_types_allowed = True
|
384
|
-
|
385
382
|
if HAS_PYDANTIC_V2 and not has_v1_type_as_param(signature):
|
386
383
|
create_schema = create_v2_schema
|
387
384
|
process_params = process_v2_params
|
385
|
+
ModelConfig = pydantic.ConfigDict(arbitrary_types_allowed=True)
|
388
386
|
else:
|
389
387
|
create_schema = create_v1_schema
|
390
388
|
process_params = process_v1_params
|
391
389
|
|
390
|
+
class ModelConfig:
|
391
|
+
arbitrary_types_allowed = True
|
392
|
+
|
392
393
|
for position, param in enumerate(signature.parameters.values()):
|
393
394
|
name, type_, field = process_params(
|
394
395
|
param, position=position, docstrings=docstrings, aliases=aliases
|
@@ -258,7 +258,7 @@ prefect/types/__init__.py,sha256=aZvlQ2uXl949sJ_khmxSVkRH3o6edo-eJ_GBGMBN5Yg,313
|
|
258
258
|
prefect/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
259
259
|
prefect/utilities/annotations.py,sha256=bXB43j5Zsq5gaBcJe9qnszBlnNwCTwqSTgcu2OkkRLo,2776
|
260
260
|
prefect/utilities/asyncutils.py,sha256=ftu6MaV9qOZ3oCIErrneW07km2BydCezOMzvPUuCMUo,17246
|
261
|
-
prefect/utilities/callables.py,sha256=
|
261
|
+
prefect/utilities/callables.py,sha256=MBDCAAHDfxjsJUWJ-2ySGOMJuDWuUbV7CpcKVFrB3yk,21143
|
262
262
|
prefect/utilities/collections.py,sha256=0v-NNXxYYzkUTCCNDMNB44AnDv9yj35UYouNraCqlo8,15449
|
263
263
|
prefect/utilities/compat.py,sha256=mNQZDnzyKaOqy-OV-DnmH_dc7CNF5nQgW_EsA4xMr7g,906
|
264
264
|
prefect/utilities/context.py,sha256=BThuUW94-IYgFYTeMIM9KMo8ShT3oiI7w5ajZHzU1j0,1377
|
@@ -289,8 +289,8 @@ prefect/workers/block.py,sha256=aYY__uq3v1eq1kkbVukxyhQNbkknaKYo6-_3tcrfKKA,8067
|
|
289
289
|
prefect/workers/process.py,sha256=pPtCdA7fKQ4OsvoitT-cayZeh5HgLX4xBUYlb2Zad-Q,9475
|
290
290
|
prefect/workers/server.py,sha256=WVZJxR8nTMzK0ov0BD0xw5OyQpT26AxlXbsGQ1OrxeQ,1551
|
291
291
|
prefect/workers/utilities.py,sha256=VfPfAlGtTuDj0-Kb8WlMgAuOfgXCdrGAnKMapPSBrwc,2483
|
292
|
-
prefect_client-2.20.
|
293
|
-
prefect_client-2.20.
|
294
|
-
prefect_client-2.20.
|
295
|
-
prefect_client-2.20.
|
296
|
-
prefect_client-2.20.
|
292
|
+
prefect_client-2.20.18.dist-info/licenses/LICENSE,sha256=MCxsn8osAkzfxKC4CC_dLcUkU8DZLkyihZ8mGs3Ah3Q,11357
|
293
|
+
prefect_client-2.20.18.dist-info/METADATA,sha256=QUPxtf1ZBLu9xBAAmtGhXKNzi1X_sXDqJHm4qkjB6Ms,7656
|
294
|
+
prefect_client-2.20.18.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
|
295
|
+
prefect_client-2.20.18.dist-info/top_level.txt,sha256=MJZYJgFdbRc2woQCeB4vM6T33tr01TmkEhRcns6H_H4,8
|
296
|
+
prefect_client-2.20.18.dist-info/RECORD,,
|
File without changes
|
File without changes
|