We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DatasetCreateV2( name="x", zarr_dir="/x", attribute_filters={"key1": [1, True]}, )
should raise a ValidationError, since [1, True] should not be considered an homogeneous list, but
ValidationError
[1, True]
>>> isinstance(True, int) True
(see tests/v2/01_schemas/test_schemas_dataset.py::test_invalid_attribute_filters).
tests/v2/01_schemas/test_schemas_dataset.py::test_invalid_attribute_filters
The text was updated successfully, but these errors were encountered:
No branches or pull requests
should raise a
ValidationError
, since[1, True]
should not be considered an homogeneous list, but(see
tests/v2/01_schemas/test_schemas_dataset.py::test_invalid_attribute_filters
).The text was updated successfully, but these errors were encountered: