equinor / everest

GNU General Public License v3.0
4 stars 5 forks source link

Pydantic warnings when starting everest 1.0.0 #10

Closed berland closed 3 weeks ago

berland commented 1 month ago

Issue This warning is printed four times to the terminal when everest is started:

/prog/res/komodo/2024.06.rc0-py38-rhel7/root/lib64/python3.8/site-packages/pydantic/_internal/_generate_schema.py:382: UserWarning: 
numpy.ndarray[typing.Any, numpy.dtype[numpy.float64]] is not a Python type 
(it may be an instance of an object), Pydantic will allow any object with no validation
since we cannot even enforce that the input is an instance of the given type. 
To get rid of this error wrap the type with pydantic.SkipValidation.

Definition of done No warning printed

Context Komodo testing (2024.06.rc0)

berland commented 1 month ago

Similar to https://github.com/equinor/ecalc/issues/482