Skip to content

Tests for FlyteFile, FlyteDirectory, StructuredDataset in Pydantic#3395

Merged
AdilFayyaz merged 2 commits intomasterfrom
adil/test-flyte-types-v1
Feb 19, 2026
Merged

Tests for FlyteFile, FlyteDirectory, StructuredDataset in Pydantic#3395
AdilFayyaz merged 2 commits intomasterfrom
adil/test-flyte-types-v1

Conversation

@AdilFayyaz
Copy link
Collaborator

Tracking issue

Duplicated from: flyteorg/flyte-sdk#651

Why are the changes needed?

Ensure flytekit is up to date with flytesdk

What changes were proposed in this pull request?

Tests for FlyteFile, FlyteDirectory, and StructuredDataset inside nested Pydantic models verifying that these special types roundtrip correctly through the TypeEngine.

How was this patch tested?

uv run python -m pytest tests/flytekit/unit/core/test_io_types_in_pydantic.py

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Signed-off-by: M. Adil Fayyaz <62440954+AdilFayyaz@users.noreply.github.com>
Signed-off-by: M. Adil Fayyaz <62440954+AdilFayyaz@users.noreply.github.com>
@AdilFayyaz AdilFayyaz merged commit 10ecd80 into master Feb 19, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments