Write models for custom config validation #164
Labels
flag: good 1st issue
Good for newcomers
priority: medium
Medium priority
type: maintenance
Related to general repository maintenance
workload: hours
Likely takes hours to resolve
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 toFoca()
constructor inpro_wes/app.py
.Additional context
This functionality is currently already implemented in proWES, so that could be used as an example/template:
Foca()
instantiationThe text was updated successfully, but these errors were encountered: