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
Is there any way to specify that some field is required (see, e.g., click's required option)?
Also, by default one cannot use field from dataclasses with no default value (with every other parameter left also by default) while with pyrallis it is replaced with None value instead. Although, personally I am not having any problem with that (even more, with that behaviour, I can somewhat manually check for required fields via assert some_value is not None for example) but it would be much cleaner if such required options are available.
The text was updated successfully, but these errors were encountered:
Hi!
Is there any way to specify that some field is required (see, e.g., click's required option)?
Also, by default one cannot use field from
dataclasses
with no default value (with every other parameter left also by default) while with pyrallis it is replaced withNone
value instead. Although, personally I am not having any problem with that (even more, with that behaviour, I can somewhat manually check for required fields viaassert some_value is not None
for example) but it would be much cleaner if such required options are available.The text was updated successfully, but these errors were encountered: