in chz/factories.py [0:0]
def unspecified_factory(self) -> Callable[..., Any] | None:
if (
self.computed_unspecified is not None
and typing.get_origin(self.computed_unspecified) is type
and typing.get_args(self.computed_unspecified)
):
base_type = typing.get_args(self.computed_unspecified)[0]
# TODO: remove special handling here and elsewhere by moving logic to collect_params
return lambda: base_type
return self.computed_unspecified