Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Flytekit Pydantic Plugin

Pydantic is a data validation and settings management library that uses Python type annotations to enforce type hints at runtime and provide user-friendly errors when data is invalid. Pydantic models are classes that inherit from pydantic.BaseModel and are used to define the structure and validation of data using Python type annotations.

The plugin adds type support for pydantic models.

To install the plugin, run the following command:

pip install flytekitplugins-pydantic

Type Example

from pydantic import BaseModel


class TrainConfig(BaseModel):
    lr: float = 1e-3
    batch_size: int = 32
    files: List[FlyteFile]
    directories: List[FlyteDirectory]

@task
def train(cfg: TrainConfig):
    ...

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flytekitplugins-pydantic-1.9.0a0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flytekitplugins_pydantic-1.9.0a0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file flytekitplugins-pydantic-1.9.0a0.tar.gz.

File metadata

File hashes

Hashes for flytekitplugins-pydantic-1.9.0a0.tar.gz
Algorithm Hash digest
SHA256 dde62c3bb1ba74b4fe4beb07314f76ff851c2f9026bcc97a0a5bffd7d6f6be40
MD5 afb123d1213dff89ec446f164f8e02de
BLAKE2b-256 adf34bfbd6a13db5884156ffbbc5d8b0e9bd6a47b0d956da11aceb40ce1c8736

See more details on using hashes here.

File details

Details for the file flytekitplugins_pydantic-1.9.0a0-py3-none-any.whl.

File metadata

File hashes

Hashes for flytekitplugins_pydantic-1.9.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 23c9fe41fe0bf8c054e62862cd0fa474aaa284da4a7eb240c2aa2ef6eca1e30c
MD5 1a100803b1b8ee9710b855c02f73cc9a
BLAKE2b-256 1b4296af14d18c6e767946ca548c9311073704b6cc235fdda3d0bab2811bbec9

See more details on using hashes here.

Release history Release notifications | RSS feed

1.14.9

2 files

1.14.8

2 files

1.14.7

2 files

1.14.6

2 files

1.14.5

2 files

1.14.4

2 files

1.14.3

2 files

1.14.2

2 files

1.14.1

2 files

1.14.0

2 files

1.13.15

2 files

1.13.14

2 files

1.13.13

2 files

1.13.12

2 files

1.13.11

2 files

1.13.9

2 files

1.13.8

2 files

1.13.7

2 files

1.13.6

2 files

1.13.5

2 files

1.13.4

2 files

1.13.3

2 files

1.13.2

2 files

1.13.1

2 files

1.13.0

2 files

1.12.3

2 files

1.12.2

2 files

1.12.0

2 files

1.11.0

2 files

1.10.7

2 files

1.10.3

2 files

1.10.2

2 files

1.10.1

2 files

1.10.0

2 files

This release

1.9.0a0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page