Problem
Disabling automatic validation in the server configuration does not stop simdb simulation push from rejecting simulations against the server's schema:
[validation]
path = ./validation/iter_scenarios_validation.yaml
auto_validate = False
error_on_fail = False
Reproduction
- Configure the server as above, retaining a nonempty validation schema.
- Load the configuration on the server.
- Push a local simulation that does not satisfy that schema:
simdb -d simulation push <Server> <simulation-uuid>
Observed error in my case:
Simulation does not validate: {'global_quantities': [{'b0': [{'value': ['Values are not less than 0']}], 'ip': [{'value': ['Values are not less than or equal to 0']}], 'r0': ['required field']}]}
The client stops before uploading the simulation.
To overcome this I need to put empty schema in this file ./validation/iter_scenarios_validation.yaml
Problem
Disabling automatic validation in the server configuration does not stop
simdb simulation pushfrom rejecting simulations against the server's schema:Reproduction
Observed error in my case:
The client stops before uploading the simulation.
To overcome this I need to put empty schema in this file
./validation/iter_scenarios_validation.yaml