ExternalProcess: args.0 Input should be a valid string even with flat list or single-string args #293
-
|
Thank you for the very interesting work, i was just trying to score via ExternalProcess (calling a Python script in another conda env). REINVENT fails schema validation as follows pydantic_core._pydantic_core.ValidationError: 1 validation error for Parameters This happens when params.args is a flat list of strings. I parsed the TOML with tomllib it is a flat list of two strings when using the list form. Also tried a single-string args as shown in ExternalProcess examples. I don't know how to fix it could there be an inline-merge quirk that wraps args into an extra list during validation? A tiny working inline MWE for ExternalProcess would help. Many Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi, have a look into the Many thanks, |
Beta Was this translation helpful? Give feedback.
Hi,
have a look into the
support/directory of the repository. There are 3 examplesrun-*.py.Many thanks,
Hannes.