[Bug]: Error with subclassing behavior in pw.Schema #9
Labels
bug
Something isn't working
confirmed
Problem or bug confirmed
priority:low
Triaged: low priority issue
Steps to reproduce
If you have a schema that has an optional parameter, and you create a subclass of that schema, the optional parameter becomes non-optional.
Example:
In this case,
model
that was optional becomes non-optional in the second schema.Relevant log output
What did you expect to happen?
It should keep the initial behavior after inheriting.
Version
0.8.2
Docker Versions (if used)
No response
OS
Linux
On which CPU architecture did you run Pathway?
x86-64
The text was updated successfully, but these errors were encountered: