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
I think it would be good to tell the user which type was received from the API and which types are supported here. If I would have known that I provided a <enum 'ParticipantNames'> instead of a <class 'str'> this would have helped me a lot debugging.
The text was updated successfully, but these errors were encountered:
Another point where this problem shows up: If you provide the path to the configuration file not as a string, but as a pathlib.Path (which I think is actually the preferrable way of doing things). I now have to convert a pathlib.Path to a str before handing it over to the python API.
The error return by the
convert
function is not helpful at the moment. I stumbled over this when I organized my participant names in anEnum
One has to pass, for example,
ParticipantNames.MASS_LEFT.value
to the API. But I forgot the.values
part, which led to an errors similar toI think it would be good to tell the user which type was received from the API and which types are supported here. If I would have known that I provided a
<enum 'ParticipantNames'>
instead of a<class 'str'>
this would have helped me a lot debugging.The text was updated successfully, but these errors were encountered: