Skip to content

Write models for custom config validation #164

Open
@uniqueg

Description

@uniqueg

Is your feature request related to a problem? Please describe.

Since v0.9.0, FOCA supports the validation of custom config params when provided with a Pydantic model class: https://github.com/elixir-cloud-aai/foca#custom-configuration

Describe the solution you'd like

Implement the models in file pro_wes/config_models.py and pass to Foca() constructor in pro_wes/app.py.

Additional context

This functionality is currently already implemented in proWES, so that could be used as an example/template:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions