Registry / serialization / pydantic-tes

pydantic-tes

JSON →
library0.4.0pypypiunverified

Pydantic models for the GA4GH Task Execution Service (TES) API. Version 0.4.0. Release cadence is irregular.

pip install pydantic-tes
INSTALL
IMPORT
SIG · PYDANTIC-TES
P
pydantic-tes
serializationpythonv0.4.0
Install
3.8s avg
Import
Disk
29MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.4.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 31.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.8s · import 0.000s · 31MB
29MB installed
● package 29MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Task
from pydantictes import Task
from pydantic_tes.models import Task

Create a simple TES Task model instance.

from pydantic_tes.models import Task, TesResources, TesExecutor from pydantic import BaseModel # Create a minimal task task = Task( id=None, executors=[TesExecutor(command=["echo", "hello"])], resources=TesResources(cpu_cores=1, ram_gb=1, disk_gb=10) ) print(task.json(indent=2))
Debug
Known issues
breakingIn 0.4.0, model subpackage structure changed; direct imports from top-level may break.
fix
Use `from pydantic_tes.models import ...` instead of `from pydantic_tes import ...`.
affects: >=0.4.0
deprecatedSome model aliases (e.g., TesTask, TesInput) may be deprecated in favor of simpler names (Task, Input).
fix
Prefer the shorter names (Task, Input, etc.) from pydantic_tes.models.
affects: >=0.4.0
gotchaField validation is strict; providing extra fields not defined in the model will raise ValidationError.
fix
Ensure only fields defined by the model are used, or use model_config for extra fields handling.
affects: >=0.3.0
Upgrade
Version history
0.4.0latest on PyPI · released Apr 13, 2026
Audit
Dependencies
pydanticrequiredCore dependency for model definitions
Agent activity
2 hits · last 30 days
node
2
Resources
pydantic-tes — pip install pydantic-tes · libregistry