Metadata-Version: 2.5
Name: dataintuitive-viash-config
Version: 0.1.0a1
Summary: Shared Pydantic types for viash config
Author-email: Data Intuitive <dries.vaneechoutte@data-intuitive.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.13
Requires-Dist: pydantic>=2.0
Requires-Dist: pyyaml>=6.0
Description-Content-Type: text/markdown

## dataintuitive-viash-config

This package (importable as `dataintuitive.viash.config`) allows parsing of config.vsh.yaml into pydantic models.

Pydantic models are auto-generated from viash JSON schemas, with some modifications to support discriminated unions.

To generate new models, run:

```bash
# Build for latest viash version
mise run update-models
# Build for specific viash version
mise run update-models --version 0.9.7
```

To release a new version of the library:

- set the desired version in pyproject.toml
- put your [PyPI token](https://pypi.org/manage/account/token/) in the `UV_PUBLISH_TOKEN` env var

then run:

```bash
# Optionally dry-run first
mise run publish --dry-run
# Then publish
mise run publish
```
