Closed EGalahad closed 3 months ago
Yep, this is intentional. Since the Hydra config system automatically instantiate dictionaries with a _target_
field into an object of that type, this partial function type filtering removes all of the constraints that were disabled by removing the _target_
field.
I see, cool!
As shown in the sceenshot, the
constraints
specifies more entries than the ones accepted byself.constraint
, this likely is caused by the type of someconstraint.values()
is not a class, but a dict of arguments.I wonder if this is these constraints are missed out intentionally or is this a bug?