prefect-client 3.3.8.dev3__py3-none-any.whl → 3.3.8.dev4__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/_build_info.py +3 -3
- prefect/blocks/core.py +5 -5
- prefect/client/schemas/objects.py +0 -2
- prefect/futures.py +1 -14
- {prefect_client-3.3.8.dev3.dist-info → prefect_client-3.3.8.dev4.dist-info}/METADATA +1 -1
- {prefect_client-3.3.8.dev3.dist-info → prefect_client-3.3.8.dev4.dist-info}/RECORD +8 -8
- {prefect_client-3.3.8.dev3.dist-info → prefect_client-3.3.8.dev4.dist-info}/WHEEL +0 -0
- {prefect_client-3.3.8.dev3.dist-info → prefect_client-3.3.8.dev4.dist-info}/licenses/LICENSE +0 -0
prefect/_build_info.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Generated by versioningit
|
2
|
-
__version__ = "3.3.8.
|
3
|
-
__build_date__ = "2025-05-
|
4
|
-
__git_commit__ = "
|
2
|
+
__version__ = "3.3.8.dev4"
|
3
|
+
__build_date__ = "2025-05-02 08:08:48.097027+00:00"
|
4
|
+
__git_commit__ = "5d6e0c61baba4513aa9744c942297d645fc4db2c"
|
5
5
|
__dirty__ = False
|
prefect/blocks/core.py
CHANGED
@@ -374,15 +374,15 @@ class Block(BaseModel, ABC):
|
|
374
374
|
for field_name in type(self).model_fields
|
375
375
|
}
|
376
376
|
)
|
377
|
-
|
377
|
+
extra_fields = {
|
378
378
|
"block_type_slug": self.get_block_type_slug(),
|
379
379
|
"_block_document_id": self._block_document_id,
|
380
380
|
"_block_document_name": self._block_document_name,
|
381
381
|
"_is_anonymous": self._is_anonymous,
|
382
|
-
}
|
383
|
-
|
384
|
-
|
385
|
-
|
382
|
+
}
|
383
|
+
jsonable_self |= {
|
384
|
+
key: value for key, value in extra_fields.items() if value is not None
|
385
|
+
}
|
386
386
|
return jsonable_self
|
387
387
|
|
388
388
|
@classmethod
|
@@ -1453,8 +1453,6 @@ class Agent(ObjectBaseModel):
|
|
1453
1453
|
class WorkPoolStorageConfiguration(PrefectBaseModel):
|
1454
1454
|
"""A work pool storage configuration"""
|
1455
1455
|
|
1456
|
-
model_config: ClassVar[ConfigDict] = ConfigDict(extra="forbid")
|
1457
|
-
|
1458
1456
|
bundle_upload_step: Optional[dict[str, Any]] = Field(
|
1459
1457
|
default=None, description="The bundle upload step for the work pool."
|
1460
1458
|
)
|
prefect/futures.py
CHANGED
@@ -14,7 +14,7 @@ from typing_extensions import NamedTuple, Self, TypeVar
|
|
14
14
|
from prefect._waiters import FlowRunWaiter
|
15
15
|
from prefect.client.orchestration import get_client
|
16
16
|
from prefect.exceptions import ObjectNotFound
|
17
|
-
from prefect.logging.loggers import get_logger
|
17
|
+
from prefect.logging.loggers import get_logger
|
18
18
|
from prefect.states import Pending, State
|
19
19
|
from prefect.task_runs import TaskRunWaiter
|
20
20
|
from prefect.utilities.annotations import quote
|
@@ -224,19 +224,6 @@ class PrefectConcurrentFuture(PrefectWrappedFuture[R, concurrent.futures.Future[
|
|
224
224
|
)
|
225
225
|
return _result
|
226
226
|
|
227
|
-
def __del__(self) -> None:
|
228
|
-
if self._final_state or self._wrapped_future.done():
|
229
|
-
return
|
230
|
-
try:
|
231
|
-
local_logger = get_run_logger()
|
232
|
-
except Exception:
|
233
|
-
local_logger = logger
|
234
|
-
local_logger.warning(
|
235
|
-
"A future was garbage collected before it resolved."
|
236
|
-
" Please call `.wait()` or `.result()` on futures to ensure they resolve."
|
237
|
-
"\nSee https://docs.prefect.io/latest/develop/task-runners for more details.",
|
238
|
-
)
|
239
|
-
|
240
227
|
|
241
228
|
class PrefectDistributedFuture(PrefectTaskRunFuture[R]):
|
242
229
|
"""
|
@@ -1,7 +1,7 @@
|
|
1
1
|
prefect/.prefectignore,sha256=awSprvKT0vI8a64mEOLrMxhxqcO-b0ERQeYpA2rNKVQ,390
|
2
2
|
prefect/__init__.py,sha256=iCdcC5ZmeewikCdnPEP6YBAjPNV5dvfxpYCTpw30Hkw,3685
|
3
3
|
prefect/__main__.py,sha256=WFjw3kaYJY6pOTA7WDOgqjsz8zUEUZHCcj3P5wyVa-g,66
|
4
|
-
prefect/_build_info.py,sha256=
|
4
|
+
prefect/_build_info.py,sha256=fPIQpc-QDiKnHO_7x3zhljsGJda7vTLJ-4VzvCenG_U,185
|
5
5
|
prefect/_result_records.py,sha256=S6QmsODkehGVSzbMm6ig022PYbI6gNKz671p_8kBYx4,7789
|
6
6
|
prefect/_versioning.py,sha256=nRawjhBY2XpAzS5dHm4ajj8GlSNCr_YOjg2Zbez69j0,14069
|
7
7
|
prefect/_waiters.py,sha256=Ia2ITaXdHzevtyWIgJoOg95lrEXQqNEOquHvw3T33UQ,9026
|
@@ -16,7 +16,7 @@ prefect/filesystems.py,sha256=v5YqGB4uXf9Ew2VuB9VCSkawvYMMVvEtZf7w1VmAmr8,18036
|
|
16
16
|
prefect/flow_engine.py,sha256=hZpTYEtwTPMtwVoTCrfD93igN7rlKeG_0kyCvdU4aYE,58876
|
17
17
|
prefect/flow_runs.py,sha256=d3jfmrIPP3C19IJREvpkuN6fxksX3Lzo-LlHOB-_E2I,17419
|
18
18
|
prefect/flows.py,sha256=UCBwsb99wtPTGPu2PneKCfAMlMBA2GhXJb5rzMBxw1s,118041
|
19
|
-
prefect/futures.py,sha256=
|
19
|
+
prefect/futures.py,sha256=5wVHLtniwG2au0zuxM-ucqo08x0B5l6e8Z1Swbe8R9s,23720
|
20
20
|
prefect/main.py,sha256=8V-qLB4GjEVCkGRgGXeaIk-JIXY8Z9FozcNluj4Sm9E,2589
|
21
21
|
prefect/plugins.py,sha256=FPRLR2mWVBMuOnlzeiTD9krlHONZH2rtYLD753JQDNQ,2516
|
22
22
|
prefect/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -71,7 +71,7 @@ prefect/_vendor/croniter/__init__.py,sha256=NUFzdbyPcTQhIOFtzmFM0nbClAvBbKh2mlnT
|
|
71
71
|
prefect/_vendor/croniter/croniter.py,sha256=eJ2HzStNAYV-vNiLOgDXl4sYWWHOsSA0dgwbkQoguhY,53009
|
72
72
|
prefect/blocks/__init__.py,sha256=D0hB72qMfgqnBB2EMZRxUxlX9yLfkab5zDChOwJZmkY,220
|
73
73
|
prefect/blocks/abstract.py,sha256=mpOAWopSR_RrzdxeurBTXVSKisP8ne-k8LYos-tp7go,17021
|
74
|
-
prefect/blocks/core.py,sha256=
|
74
|
+
prefect/blocks/core.py,sha256=ZUMmbBiw2O9_k_wOzR1itXJp8rj-E10tr4RPEoSfA4s,62028
|
75
75
|
prefect/blocks/fields.py,sha256=1m507VVmkpOnMF_7N-qboRjtw4_ceIuDneX3jZ3Jm54,63
|
76
76
|
prefect/blocks/notifications.py,sha256=UpNNxc4Bwx0nSlDj-vZQOv2XyUCUB2PaO4uBPO1Y6XM,34162
|
77
77
|
prefect/blocks/redis.py,sha256=lt_f1SIcS5OVvthCY6KRWiy5DyUZNRlHqkKhKF25P8c,5770
|
@@ -114,7 +114,7 @@ prefect/client/orchestration/_work_pools/client.py,sha256=s1DfUQQBgB2sLiVVPhLNTl
|
|
114
114
|
prefect/client/schemas/__init__.py,sha256=InZcDzdeWA2oaV0TlyvoMcyLcbi_aaqU1U9D6Gx-eoU,2747
|
115
115
|
prefect/client/schemas/actions.py,sha256=EigGRTOwa_aWBMfqiTvNaUO8e78M1kIxorEzp1bigcI,33148
|
116
116
|
prefect/client/schemas/filters.py,sha256=qa--NNZduuSOcL1xw-YMd4FVIKMrDnBwPPY4m5Di0GA,35963
|
117
|
-
prefect/client/schemas/objects.py,sha256=
|
117
|
+
prefect/client/schemas/objects.py,sha256=uhmwZDw1kZQ8pZNjpoFtyMJIHFc_02s3HI0elgbGEOE,57679
|
118
118
|
prefect/client/schemas/responses.py,sha256=Zdcx7jlIaluEa2uYIOE5mK1HsJvWPErRAcaWM20oY_I,17336
|
119
119
|
prefect/client/schemas/schedules.py,sha256=sxLFk0SmFY7X1Y9R9HyGDqOS3U5NINBWTciUU7vTTic,14836
|
120
120
|
prefect/client/schemas/sorting.py,sha256=L-2Mx-igZPtsUoRUguTcG3nIEstMEMPD97NwPM2Ox5s,2579
|
@@ -318,7 +318,7 @@ prefect/workers/cloud.py,sha256=dPvG1jDGD5HSH7aM2utwtk6RaJ9qg13XjkA0lAIgQmY,287
|
|
318
318
|
prefect/workers/process.py,sha256=Yi5D0U5AQ51wHT86GdwtImXSefe0gJf3LGq4r4z9zwM,11090
|
319
319
|
prefect/workers/server.py,sha256=2pmVeJZiVbEK02SO6BEZaBIvHMsn6G8LzjW8BXyiTtk,1952
|
320
320
|
prefect/workers/utilities.py,sha256=VfPfAlGtTuDj0-Kb8WlMgAuOfgXCdrGAnKMapPSBrwc,2483
|
321
|
-
prefect_client-3.3.8.
|
322
|
-
prefect_client-3.3.8.
|
323
|
-
prefect_client-3.3.8.
|
324
|
-
prefect_client-3.3.8.
|
321
|
+
prefect_client-3.3.8.dev4.dist-info/METADATA,sha256=RnRvdjpOPN4o--OI4fqJHfRiPVRabPGWr4leEn2kHUw,7471
|
322
|
+
prefect_client-3.3.8.dev4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
323
|
+
prefect_client-3.3.8.dev4.dist-info/licenses/LICENSE,sha256=MCxsn8osAkzfxKC4CC_dLcUkU8DZLkyihZ8mGs3Ah3Q,11357
|
324
|
+
prefect_client-3.3.8.dev4.dist-info/RECORD,,
|
File without changes
|
{prefect_client-3.3.8.dev3.dist-info → prefect_client-3.3.8.dev4.dist-info}/licenses/LICENSE
RENAMED
File without changes
|