prefect-client 2.20.4__tar.gz → 2.20.6__tar.gz
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_client-2.20.4/src/prefect_client.egg-info → prefect-client-2.20.6}/PKG-INFO +2 -40
- prefect-client-2.20.6/src/prefect/_internal/integrations.py +7 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/blocks/core.py +3 -4
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deployments/steps/core.py +6 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/tasks.py +10 -1
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/callables.py +1 -3
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/variables.py +16 -8
- {prefect_client-2.20.4 → prefect-client-2.20.6/src/prefect_client.egg-info}/PKG-INFO +2 -40
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect_client.egg-info/SOURCES.txt +2 -29
- prefect_client-2.20.4/src/prefect/_vendor/starlette/py.typed +0 -0
- prefect_client-2.20.4/src/prefect/py.typed +0 -0
- prefect_client-2.20.4/tests/test_artifacts.py +0 -484
- prefect_client-2.20.4/tests/test_automations.py +0 -186
- prefect_client-2.20.4/tests/test_background_tasks.py +0 -401
- prefect_client-2.20.4/tests/test_context.py +0 -396
- prefect_client-2.20.4/tests/test_deployments.py +0 -1632
- prefect_client-2.20.4/tests/test_engine.py +0 -3417
- prefect_client-2.20.4/tests/test_exceptions.py +0 -139
- prefect_client-2.20.4/tests/test_filesystems.py +0 -782
- prefect_client-2.20.4/tests/test_flow_runs.py +0 -40
- prefect_client-2.20.4/tests/test_flows.py +0 -4430
- prefect_client-2.20.4/tests/test_flows_compat.py +0 -30
- prefect_client-2.20.4/tests/test_futures.py +0 -215
- prefect_client-2.20.4/tests/test_highlighters.py +0 -69
- prefect_client-2.20.4/tests/test_import_interceptor.py +0 -7
- prefect_client-2.20.4/tests/test_log_prints.py +0 -240
- prefect_client-2.20.4/tests/test_logging.py +0 -1586
- prefect_client-2.20.4/tests/test_new_flow_engine.py +0 -866
- prefect_client-2.20.4/tests/test_new_task_engine.py +0 -868
- prefect_client-2.20.4/tests/test_plugins.py +0 -259
- prefect_client-2.20.4/tests/test_serializers.py +0 -368
- prefect_client-2.20.4/tests/test_settings.py +0 -1062
- prefect_client-2.20.4/tests/test_states.py +0 -374
- prefect_client-2.20.4/tests/test_task_runners.py +0 -34
- prefect_client-2.20.4/tests/test_task_server.py +0 -551
- prefect_client-2.20.4/tests/test_tasks.py +0 -4304
- prefect_client-2.20.4/tests/test_variables.py +0 -94
- {prefect_client-2.20.4 → prefect-client-2.20.6}/LICENSE +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/MANIFEST.in +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/README.md +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/requirements-client.txt +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/requirements-dev.txt +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/requirements.txt +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/setup.cfg +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/setup.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/.prefectignore +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/_logging.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/compatibility/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/compatibility/deprecated.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/compatibility/experimental.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/concurrency/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/concurrency/api.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/concurrency/calls.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/concurrency/cancellation.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/concurrency/event_loop.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/concurrency/inspection.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/concurrency/primitives.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/concurrency/services.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/concurrency/threads.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/concurrency/waiters.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/_base_model.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/_compat.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/_flags.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/_types.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/annotations/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/annotations/pendulum.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/schemas.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/config_dict.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/field_validator.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/model_construct.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/model_copy.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/model_dump.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/model_dump_json.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/model_fields.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/model_fields_set.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/model_json_schema.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/model_rebuild.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/model_validate.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/model_validate_json.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/model_validator.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/utilities/type_adapter.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/v1_schema.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/v2_schema.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pydantic/v2_validated_func.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/pytz.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/schemas/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/schemas/bases.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/schemas/fields.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/schemas/serializers.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_internal/schemas/validators.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/applications.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/background.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/concurrency.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/datastructures.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/dependencies/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/dependencies/models.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/dependencies/utils.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/encoders.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/exception_handlers.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/exceptions.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/logger.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/middleware/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/middleware/asyncexitstack.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/middleware/cors.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/middleware/gzip.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/middleware/httpsredirect.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/middleware/trustedhost.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/middleware/wsgi.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/openapi/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/openapi/constants.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/openapi/docs.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/openapi/models.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/openapi/utils.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/param_functions.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/params.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/requests.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/responses.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/routing.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/security/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/security/api_key.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/security/base.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/security/http.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/security/oauth2.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/security/open_id_connect_url.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/security/utils.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/staticfiles.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/templating.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/testclient.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/types.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/utils.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/fastapi/websockets.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/_compat.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/_exception_handler.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/_utils.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/applications.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/authentication.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/background.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/concurrency.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/config.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/convertors.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/datastructures.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/endpoints.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/exceptions.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/formparsers.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/middleware/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/middleware/authentication.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/middleware/base.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/middleware/cors.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/middleware/errors.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/middleware/exceptions.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/middleware/gzip.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/middleware/httpsredirect.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/middleware/sessions.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/middleware/trustedhost.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/middleware/wsgi.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/requests.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/responses.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/routing.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/schemas.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/staticfiles.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/status.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/templating.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/testclient.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/types.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_vendor/starlette/websockets.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/_version.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/agent.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/artifacts.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/automations.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/blocks/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/blocks/abstract.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/blocks/fields.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/blocks/kubernetes.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/blocks/notifications.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/blocks/system.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/blocks/webhook.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/base.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/cloud.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/collections.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/constants.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/orchestration.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/schemas/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/schemas/actions.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/schemas/filters.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/schemas/objects.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/schemas/responses.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/schemas/schedules.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/schemas/sorting.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/subscriptions.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/client/utilities.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/concurrency/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/concurrency/asyncio.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/concurrency/events.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/concurrency/services.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/concurrency/sync.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/context.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deployments/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deployments/base.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deployments/deployments.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deployments/runner.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deployments/schedules.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deployments/steps/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deployments/steps/pull.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deployments/steps/utility.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deprecated/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deprecated/data_documents.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deprecated/packaging/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deprecated/packaging/base.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deprecated/packaging/docker.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deprecated/packaging/file.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deprecated/packaging/orion.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/deprecated/packaging/serializers.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/engine.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/actions.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/cli/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/cli/automations.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/clients.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/filters.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/instrument.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/related.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/schemas/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/schemas/automations.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/schemas/deployment_triggers.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/schemas/events.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/schemas/labelling.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/utilities.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/events/worker.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/exceptions.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/filesystems.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/flow_runs.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/flows.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/futures.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/infrastructure/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/infrastructure/base.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/infrastructure/container.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/infrastructure/kubernetes.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/infrastructure/process.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/infrastructure/provisioners/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/infrastructure/provisioners/cloud_run.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/infrastructure/provisioners/container_instance.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/infrastructure/provisioners/ecs.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/infrastructure/provisioners/modal.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/input/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/input/actions.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/input/run_input.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/logging/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/logging/configuration.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/logging/filters.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/logging/formatters.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/logging/handlers.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/logging/highlighters.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/logging/loggers.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/logging/logging.yml +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/manifests.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/new_flow_engine.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/new_task_engine.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/plugins.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/profiles.toml +0 -0
- {prefect_client-2.20.4/src/prefect/_vendor/fastapi → prefect-client-2.20.6/src/prefect}/py.typed +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/pydantic/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/pydantic/main.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/results.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/runner/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/runner/runner.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/runner/server.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/runner/storage.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/runner/submit.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/runner/utils.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/runtime/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/runtime/deployment.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/runtime/flow_run.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/runtime/task_run.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/serializers.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/server/api/collections_data/views/aggregate-worker-metadata.json +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/server/api/static/prefect-logo-mark-gradient.png +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/settings.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/software/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/software/base.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/software/conda.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/software/pip.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/software/python.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/states.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/task_engine.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/task_runners.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/task_server.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/types/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/annotations.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/asyncutils.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/collections.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/compat.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/context.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/dispatch.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/dockerutils.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/engine.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/filesystem.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/hashing.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/importtools.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/math.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/names.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/processutils.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/pydantic.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/render_swagger.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/schema_tools/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/schema_tools/hydration.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/schema_tools/validation.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/services.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/slugify.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/templating.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/text.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/timeout.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/utilities/visualization.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/workers/__init__.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/workers/base.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/workers/block.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/workers/process.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/workers/server.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect/workers/utilities.py +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect_client.egg-info/dependency_links.txt +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect_client.egg-info/requires.txt +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/src/prefect_client.egg-info/top_level.txt +0 -0
- {prefect_client-2.20.4 → prefect-client-2.20.6}/versioneer.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: prefect-client
|
3
|
-
Version: 2.20.
|
3
|
+
Version: 2.20.6
|
4
4
|
Summary: Workflow orchestration and management.
|
5
5
|
Home-page: https://www.prefect.io
|
6
6
|
Author: Prefect Technologies, Inc.
|
@@ -21,46 +21,8 @@ Classifier: Programming Language :: Python :: 3.11
|
|
21
21
|
Classifier: Topic :: Software Development :: Libraries
|
22
22
|
Requires-Python: >=3.8
|
23
23
|
Description-Content-Type: text/markdown
|
24
|
-
License-File: LICENSE
|
25
|
-
Requires-Dist: anyio<5.0.0,>=4.4.0
|
26
|
-
Requires-Dist: asgi-lifespan<3.0,>=1.0
|
27
|
-
Requires-Dist: cachetools<6.0,>=5.3
|
28
|
-
Requires-Dist: cloudpickle<4.0,>=2.0
|
29
|
-
Requires-Dist: coolname<3.0.0,>=1.0.4
|
30
|
-
Requires-Dist: croniter<3.0.0,>=1.0.12
|
31
|
-
Requires-Dist: fsspec>=2022.5.0
|
32
|
-
Requires-Dist: exceptiongroup>=1.2.1
|
33
|
-
Requires-Dist: graphviz>=0.20.1
|
34
|
-
Requires-Dist: griffe<2.0.0,>=0.49.0
|
35
|
-
Requires-Dist: httpcore<2.0.0,>=1.0.5
|
36
|
-
Requires-Dist: httpx[http2]!=0.23.2,>=0.23
|
37
|
-
Requires-Dist: importlib_metadata>=4.4; python_version < "3.10"
|
38
|
-
Requires-Dist: importlib-resources<6.5.0,>=6.1.3
|
39
|
-
Requires-Dist: jsonpatch<2.0,>=1.32
|
40
|
-
Requires-Dist: jsonschema<5.0.0,>=4.0.0
|
41
|
-
Requires-Dist: orjson<4.0,>=3.7
|
42
|
-
Requires-Dist: packaging<24.3,>=21.3
|
43
|
-
Requires-Dist: pathspec>=0.8.0
|
44
|
-
Requires-Dist: pendulum<3.0; python_version < "3.12"
|
45
|
-
Requires-Dist: pendulum<4,>=3.0.0; python_version >= "3.12"
|
46
|
-
Requires-Dist: pydantic[email]!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.10.0
|
47
|
-
Requires-Dist: pydantic_core<3.0.0,>=2.12.0
|
48
|
-
Requires-Dist: python_dateutil<3.0.0,>=2.8.2
|
49
|
-
Requires-Dist: python-slugify<9.0,>=5.0
|
50
|
-
Requires-Dist: pyyaml<7.0.0,>=5.4.1
|
51
|
-
Requires-Dist: rfc3339-validator<0.2.0,>=0.1.4
|
52
|
-
Requires-Dist: rich<14.0,>=11.0
|
53
|
-
Requires-Dist: ruamel.yaml>=0.17.0
|
54
|
-
Requires-Dist: sniffio<2.0.0,>=1.3.0
|
55
|
-
Requires-Dist: toml>=0.10.0
|
56
|
-
Requires-Dist: typing_extensions<5.0.0,>=4.5.0
|
57
|
-
Requires-Dist: ujson<6.0.0,>=5.8.0
|
58
|
-
Requires-Dist: uvicorn!=0.29.0,>=0.14.0
|
59
|
-
Requires-Dist: websockets<14.0,>=10.4
|
60
|
-
Requires-Dist: itsdangerous
|
61
|
-
Requires-Dist: python-multipart>=0.0.7
|
62
24
|
Provides-Extra: notifications
|
63
|
-
|
25
|
+
License-File: LICENSE
|
64
26
|
|
65
27
|
<p align="center"><img src="https://github.com/PrefectHQ/prefect/assets/3407835/c654cbc6-63e8-4ada-a92a-efd2f8f24b85" width=1000></p>
|
66
28
|
|
@@ -507,10 +507,9 @@ class Block(BaseModel, ABC):
|
|
507
507
|
`<module>:11: No type or annotation for parameter 'write_json'`
|
508
508
|
because griffe is unable to parse the types from pydantic.BaseModel.
|
509
509
|
"""
|
510
|
-
with disable_logger("griffe
|
511
|
-
|
512
|
-
|
513
|
-
parsed = parse(docstring, Parser.google)
|
510
|
+
with disable_logger("griffe"):
|
511
|
+
docstring = Docstring(cls.__doc__)
|
512
|
+
parsed = parse(docstring, Parser.google)
|
514
513
|
return parsed
|
515
514
|
|
516
515
|
@classmethod
|
@@ -21,6 +21,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
21
21
|
|
22
22
|
from prefect._internal.compatibility.deprecated import PrefectDeprecationWarning
|
23
23
|
from prefect._internal.concurrency.api import Call, from_async
|
24
|
+
from prefect._internal.integrations import KNOWN_EXTRAS_FOR_PACKAGES
|
24
25
|
from prefect.logging.loggers import get_logger
|
25
26
|
from prefect.settings import PREFECT_DEBUG_MODE
|
26
27
|
from prefect.utilities.importtools import import_object
|
@@ -83,6 +84,11 @@ def _get_function_for_step(
|
|
83
84
|
raise
|
84
85
|
|
85
86
|
try:
|
87
|
+
packages = [
|
88
|
+
KNOWN_EXTRAS_FOR_PACKAGES.get(package, package)
|
89
|
+
for package in packages
|
90
|
+
if package
|
91
|
+
]
|
86
92
|
subprocess.check_call([sys.executable, "-m", "pip", "install", *packages])
|
87
93
|
except subprocess.CalledProcessError:
|
88
94
|
get_logger("deployments.steps.core").warning(
|
@@ -141,8 +141,17 @@ def _generate_task_key(fn: Callable[..., Any]) -> str:
|
|
141
141
|
|
142
142
|
qualname = fn.__qualname__.split(".")[-1]
|
143
143
|
|
144
|
+
try:
|
145
|
+
code_obj = getattr(fn, "__code__", None)
|
146
|
+
if code_obj is None:
|
147
|
+
code_obj = fn.__call__.__code__
|
148
|
+
except AttributeError:
|
149
|
+
raise AttributeError(
|
150
|
+
f"{fn} is not a standard Python function object and could not be converted to a task."
|
151
|
+
) from None
|
152
|
+
|
144
153
|
code_hash = (
|
145
|
-
h[:NUM_CHARS_DYNAMIC_KEY] if (h := hash_objects(
|
154
|
+
h[:NUM_CHARS_DYNAMIC_KEY] if (h := hash_objects(code_obj)) else "unknown"
|
146
155
|
)
|
147
156
|
|
148
157
|
return f"{qualname}-{code_hash}"
|
@@ -255,9 +255,7 @@ def parameter_docstrings(docstring: Optional[str]) -> Dict[str, str]:
|
|
255
255
|
if not docstring:
|
256
256
|
return param_docstrings
|
257
257
|
|
258
|
-
with disable_logger("griffe
|
259
|
-
"griffe.agents.nodes"
|
260
|
-
):
|
258
|
+
with disable_logger("griffe"):
|
261
259
|
parsed = parse(Docstring(docstring), Parser.google)
|
262
260
|
for section in parsed:
|
263
261
|
if section.kind != DocstringSectionKind.parameters:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from typing import List, Optional
|
1
|
+
from typing import List, Optional, Union
|
2
2
|
|
3
3
|
from prefect._internal.compatibility.deprecated import deprecated_callable
|
4
4
|
from prefect.client.schemas.actions import VariableCreate as VariableRequest
|
@@ -26,7 +26,7 @@ class Variable(VariableRequest):
|
|
26
26
|
value: str,
|
27
27
|
tags: Optional[List[str]] = None,
|
28
28
|
overwrite: bool = False,
|
29
|
-
) -> Optional[
|
29
|
+
) -> Optional["Variable"]:
|
30
30
|
"""
|
31
31
|
Sets a new variable. If one exists with the same name, user must pass `overwrite=True`
|
32
32
|
```
|
@@ -47,8 +47,7 @@ class Variable(VariableRequest):
|
|
47
47
|
"""
|
48
48
|
client, _ = get_or_create_client()
|
49
49
|
variable = await client.read_variable_by_name(name)
|
50
|
-
var_dict = {"name": name, "value": value}
|
51
|
-
var_dict["tags"] = tags or []
|
50
|
+
var_dict = {"name": name, "value": value, "tags": tags or []}
|
52
51
|
if variable:
|
53
52
|
if not overwrite:
|
54
53
|
raise ValueError(
|
@@ -65,7 +64,9 @@ class Variable(VariableRequest):
|
|
65
64
|
|
66
65
|
@classmethod
|
67
66
|
@sync_compatible
|
68
|
-
async def get(
|
67
|
+
async def get(
|
68
|
+
cls, name: str, default: Optional[str] = None
|
69
|
+
) -> Optional[Union["Variable", str]]:
|
69
70
|
"""
|
70
71
|
Get a variable by name. If doesn't exist return the default.
|
71
72
|
```
|
@@ -86,7 +87,12 @@ class Variable(VariableRequest):
|
|
86
87
|
"""
|
87
88
|
client, _ = get_or_create_client()
|
88
89
|
variable = await client.read_variable_by_name(name)
|
89
|
-
|
90
|
+
|
91
|
+
return (
|
92
|
+
Variable(name=variable.name, value=variable.value, tags=variable.tags)
|
93
|
+
if variable
|
94
|
+
else default
|
95
|
+
)
|
90
96
|
|
91
97
|
|
92
98
|
@deprecated_callable(start_date="Apr 2024")
|
@@ -110,5 +116,7 @@ async def get(name: str, default: Optional[str] = None) -> Optional[str]:
|
|
110
116
|
var = await variables.get("my_var")
|
111
117
|
```
|
112
118
|
"""
|
113
|
-
variable = await Variable.get(name)
|
114
|
-
|
119
|
+
variable = await Variable.get(name, default=default)
|
120
|
+
if isinstance(variable, Variable):
|
121
|
+
variable = variable.value
|
122
|
+
return variable
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: prefect-client
|
3
|
-
Version: 2.20.
|
3
|
+
Version: 2.20.6
|
4
4
|
Summary: Workflow orchestration and management.
|
5
5
|
Home-page: https://www.prefect.io
|
6
6
|
Author: Prefect Technologies, Inc.
|
@@ -21,46 +21,8 @@ Classifier: Programming Language :: Python :: 3.11
|
|
21
21
|
Classifier: Topic :: Software Development :: Libraries
|
22
22
|
Requires-Python: >=3.8
|
23
23
|
Description-Content-Type: text/markdown
|
24
|
-
License-File: LICENSE
|
25
|
-
Requires-Dist: anyio<5.0.0,>=4.4.0
|
26
|
-
Requires-Dist: asgi-lifespan<3.0,>=1.0
|
27
|
-
Requires-Dist: cachetools<6.0,>=5.3
|
28
|
-
Requires-Dist: cloudpickle<4.0,>=2.0
|
29
|
-
Requires-Dist: coolname<3.0.0,>=1.0.4
|
30
|
-
Requires-Dist: croniter<3.0.0,>=1.0.12
|
31
|
-
Requires-Dist: fsspec>=2022.5.0
|
32
|
-
Requires-Dist: exceptiongroup>=1.2.1
|
33
|
-
Requires-Dist: graphviz>=0.20.1
|
34
|
-
Requires-Dist: griffe<2.0.0,>=0.49.0
|
35
|
-
Requires-Dist: httpcore<2.0.0,>=1.0.5
|
36
|
-
Requires-Dist: httpx[http2]!=0.23.2,>=0.23
|
37
|
-
Requires-Dist: importlib_metadata>=4.4; python_version < "3.10"
|
38
|
-
Requires-Dist: importlib-resources<6.5.0,>=6.1.3
|
39
|
-
Requires-Dist: jsonpatch<2.0,>=1.32
|
40
|
-
Requires-Dist: jsonschema<5.0.0,>=4.0.0
|
41
|
-
Requires-Dist: orjson<4.0,>=3.7
|
42
|
-
Requires-Dist: packaging<24.3,>=21.3
|
43
|
-
Requires-Dist: pathspec>=0.8.0
|
44
|
-
Requires-Dist: pendulum<3.0; python_version < "3.12"
|
45
|
-
Requires-Dist: pendulum<4,>=3.0.0; python_version >= "3.12"
|
46
|
-
Requires-Dist: pydantic[email]!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.10.0
|
47
|
-
Requires-Dist: pydantic_core<3.0.0,>=2.12.0
|
48
|
-
Requires-Dist: python_dateutil<3.0.0,>=2.8.2
|
49
|
-
Requires-Dist: python-slugify<9.0,>=5.0
|
50
|
-
Requires-Dist: pyyaml<7.0.0,>=5.4.1
|
51
|
-
Requires-Dist: rfc3339-validator<0.2.0,>=0.1.4
|
52
|
-
Requires-Dist: rich<14.0,>=11.0
|
53
|
-
Requires-Dist: ruamel.yaml>=0.17.0
|
54
|
-
Requires-Dist: sniffio<2.0.0,>=1.3.0
|
55
|
-
Requires-Dist: toml>=0.10.0
|
56
|
-
Requires-Dist: typing_extensions<5.0.0,>=4.5.0
|
57
|
-
Requires-Dist: ujson<6.0.0,>=5.8.0
|
58
|
-
Requires-Dist: uvicorn!=0.29.0,>=0.14.0
|
59
|
-
Requires-Dist: websockets<14.0,>=10.4
|
60
|
-
Requires-Dist: itsdangerous
|
61
|
-
Requires-Dist: python-multipart>=0.0.7
|
62
24
|
Provides-Extra: notifications
|
63
|
-
|
25
|
+
License-File: LICENSE
|
64
26
|
|
65
27
|
<p align="center"><img src="https://github.com/PrefectHQ/prefect/assets/3407835/c654cbc6-63e8-4ada-a92a-efd2f8f24b85" width=1000></p>
|
66
28
|
|
@@ -37,6 +37,7 @@ src/prefect/tasks.py
|
|
37
37
|
src/prefect/variables.py
|
38
38
|
src/prefect/_internal/__init__.py
|
39
39
|
src/prefect/_internal/_logging.py
|
40
|
+
src/prefect/_internal/integrations.py
|
40
41
|
src/prefect/_internal/pytz.py
|
41
42
|
src/prefect/_internal/compatibility/__init__.py
|
42
43
|
src/prefect/_internal/compatibility/deprecated.py
|
@@ -94,7 +95,6 @@ src/prefect/_vendor/fastapi/exceptions.py
|
|
94
95
|
src/prefect/_vendor/fastapi/logger.py
|
95
96
|
src/prefect/_vendor/fastapi/param_functions.py
|
96
97
|
src/prefect/_vendor/fastapi/params.py
|
97
|
-
src/prefect/_vendor/fastapi/py.typed
|
98
98
|
src/prefect/_vendor/fastapi/requests.py
|
99
99
|
src/prefect/_vendor/fastapi/responses.py
|
100
100
|
src/prefect/_vendor/fastapi/routing.py
|
@@ -140,7 +140,6 @@ src/prefect/_vendor/starlette/datastructures.py
|
|
140
140
|
src/prefect/_vendor/starlette/endpoints.py
|
141
141
|
src/prefect/_vendor/starlette/exceptions.py
|
142
142
|
src/prefect/_vendor/starlette/formparsers.py
|
143
|
-
src/prefect/_vendor/starlette/py.typed
|
144
143
|
src/prefect/_vendor/starlette/requests.py
|
145
144
|
src/prefect/_vendor/starlette/responses.py
|
146
145
|
src/prefect/_vendor/starlette/routing.py
|
@@ -300,30 +299,4 @@ src/prefect_client.egg-info/PKG-INFO
|
|
300
299
|
src/prefect_client.egg-info/SOURCES.txt
|
301
300
|
src/prefect_client.egg-info/dependency_links.txt
|
302
301
|
src/prefect_client.egg-info/requires.txt
|
303
|
-
src/prefect_client.egg-info/top_level.txt
|
304
|
-
tests/test_artifacts.py
|
305
|
-
tests/test_automations.py
|
306
|
-
tests/test_background_tasks.py
|
307
|
-
tests/test_context.py
|
308
|
-
tests/test_deployments.py
|
309
|
-
tests/test_engine.py
|
310
|
-
tests/test_exceptions.py
|
311
|
-
tests/test_filesystems.py
|
312
|
-
tests/test_flow_runs.py
|
313
|
-
tests/test_flows.py
|
314
|
-
tests/test_flows_compat.py
|
315
|
-
tests/test_futures.py
|
316
|
-
tests/test_highlighters.py
|
317
|
-
tests/test_import_interceptor.py
|
318
|
-
tests/test_log_prints.py
|
319
|
-
tests/test_logging.py
|
320
|
-
tests/test_new_flow_engine.py
|
321
|
-
tests/test_new_task_engine.py
|
322
|
-
tests/test_plugins.py
|
323
|
-
tests/test_serializers.py
|
324
|
-
tests/test_settings.py
|
325
|
-
tests/test_states.py
|
326
|
-
tests/test_task_runners.py
|
327
|
-
tests/test_task_server.py
|
328
|
-
tests/test_tasks.py
|
329
|
-
tests/test_variables.py
|
302
|
+
src/prefect_client.egg-info/top_level.txt
|
File without changes
|
File without changes
|