Skip to content

Commit ebaf496

Browse files
committed
Merge branch '7.3' into 7.4
* 7.3: [Validator] Image Constraint - minPixels and maxPixels should be float
2 parents f8b45fe + 763c475 commit ebaf496

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/constraints/Image.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Parameter Description
338338
``maxPixels``
339339
~~~~~~~~~~~~~
340340

341-
**type**: ``integer``
341+
**type**: ``integer`` | ``float``
342342

343343
If set, the amount of pixels of the image file must be less than or equal to this
344344
value.
@@ -365,7 +365,7 @@ Parameter Description
365365
``maxRatio``
366366
~~~~~~~~~~~~
367367

368-
**type**: ``float``
368+
**type**: ``integer`` | ``float``
369369

370370
If set, the aspect ratio (``width / height``) of the image file must be less
371371
than or equal to this value.
@@ -461,7 +461,7 @@ Parameter Description
461461
``minPixels``
462462
~~~~~~~~~~~~~
463463

464-
**type**: ``integer``
464+
**type**: ``integer`` | ``float``
465465

466466
If set, the amount of pixels of the image file must be greater than or equal to this
467467
value.
@@ -488,7 +488,7 @@ Parameter Description
488488
``minRatio``
489489
~~~~~~~~~~~~
490490

491-
**type**: ``float``
491+
**type**: ``integer`` | ``float``
492492

493493
If set, the aspect ratio (``width / height``) of the image file must be greater
494494
than or equal to this value.

0 commit comments

Comments
 (0)