You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MARCO the type is potentially confused with MARCO the field name on the COSINE class one of the ways to resolve this is
to define a new variable to hold the type/class with a different name and use that like
MARCO_AS_TYPE = MARCO
...
MARCO: MARCO_AS_TYPE = Field(..., description="MARCO parameters")
The text was updated successfully, but these errors were encountered:
Ok, noted. These namelists are not currently used, so let me now if this is causing any issues with the current CSIRO implementation, if so, I'll just remove the imports, otherwise, I will wait for the full namelist implementation to fix
https://docs.pydantic.dev/2.6/errors/usage_errors/#unevaluable-type-annotation
This happens for example in
rompy/rompy/schism/namelists/cosine.py
Line 253 in f3b4af9
because
MARCO the type is potentially confused with MARCO the field name on the COSINE class one of the ways to resolve this is
to define a new variable to hold the type/class with a different name and use that like
MARCO_AS_TYPE = MARCO
...
MARCO: MARCO_AS_TYPE = Field(..., description="MARCO parameters")
The text was updated successfully, but these errors were encountered: