{"id":21745,"library":"pydantic-tes","title":"Pydantic TES","description":"Pydantic models for the GA4GH Task Execution Service (TES) API. Version 0.4.0. Release cadence is irregular.","status":"active","version":"0.4.0","language":"python","source_language":"en","source_url":"https://github.com/ohsu-comp-bio/pydantic-tes","tags":["pydantic","tes","ga4gh","task-execution"],"install":[{"cmd":"pip install pydantic-tes","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Core dependency for model definitions","package":"pydantic","optional":false}],"imports":[{"wrong":"from pydantic_tes.models import Task","symbol":"Task","correct":"from pydantictes import Task"}],"quickstart":{"code":"from pydantic_tes.models import Task, TesResources, TesExecutor\nfrom pydantic import BaseModel\n\n# Create a minimal task\ntask = Task(\n    id=None,\n    executors=[TesExecutor(command=[\"echo\", \"hello\"])],\n    resources=TesResources(cpu_cores=1, ram_gb=1, disk_gb=10)\n)\nprint(task.json(indent=2))","lang":"python","description":"Create a simple TES Task model instance."},"warnings":[{"fix":"Use `from pydantic_tes.models import ...` instead of `from pydantic_tes import ...`.","message":"In 0.4.0, model subpackage structure changed; direct imports from top-level may break.","severity":"breaking","affected_versions":">=0.4.0"},{"fix":"Prefer the shorter names (Task, Input, etc.) from pydantic_tes.models.","message":"Some model aliases (e.g., TesTask, TesInput) may be deprecated in favor of simpler names (Task, Input).","severity":"deprecated","affected_versions":">=0.4.0"},{"fix":"Ensure only fields defined by the model are used, or use model_config for extra fields handling.","message":"Field validation is strict; providing extra fields not defined in the model will raise ValidationError.","severity":"gotcha","affected_versions":">=0.3.0"}],"env_vars":null,"search_vec":"'0.4.0':14 'api':12 'cadenc':16 'execut':9,24 'ga4gh':7,21 'irregular':18 'model':4 'pydant':1,3,19 'releas':15 'servic':10 'task':8,23 'task-execut':22 'tes':2,11,20 'version':13","created_at":"2026-04-27T17:01:31.594148+00:00","updated_at":"2026-04-27T17:01:31.594148+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'Task' from 'pydantictes' (/tmp/tmpe0atpeoa/venv/lib/python3.12/site-packages/pydantictes/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.4.0","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/jmchilton/pydantic-tes","docs":null,"changelog":null,"pypi":"https://pypi.org/project/pydantic-tes/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization","data"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}