class_docstr: Validator which succeeds if the file passed to it is within the specified
  size range. If ``min`` is not specified, or is specified as `None`,
  no lower bound exists. If ``max`` is not specified, or is specified as `None`,
  no upper bound exists. The inclusivity of the bounds (if they exist) is configurable.
  If ``min_inclusive`` is not specified, or is specified as `True`, then
  the ``min`` bound is included in the range. If ``max_inclusive`` is not specified,
  or is specified as `True`, then the ``max`` bound is included in the range.
  
  Examples:
  ```python
  from apiflask import Schema
  from apiflask.fields import File
  from apiflask.validators import FileSize
  
  
  class Image(Schema):
      image = File(required=True, validate=FileSize(min='1 MiB', max='2 MiB'))
  ```
  
  Arguments:
      min: The minimum size (lower bound). If not provided, minimum
          size will not be checked.
      max: The maximum size (upper bound). If not provided, maximum
          size will not be checked.
      min_inclusive: Whether the `min` bound is included in the range.
      max_inclusive: Whether the `max` bound is included in the range.
      error: Error message to raise in case of a validation error.
          Can be interpolated with `{input}`, `{min}` and `{max}`.
  
  *Version added: 2.1.0*
code: def _repr_args(self) -> str:
      return "min={!r}, max={!r}, min_inclusive={!r}, max_inclusive={!r}".format(
          self.min, self.max, self.min_inclusive, self.max_inclusive
      )
  
imports: import os
  import typing
  from marshmallow.exceptions import ValidationError
  from marshmallow.validate import ContainsNoneOf
  from marshmallow.validate import ContainsOnly
  from marshmallow.validate import Email
  from marshmallow.validate import Equal
  from marshmallow.validate import Length
  from marshmallow.validate import NoneOf
  from marshmallow.validate import OneOf
  from marshmallow.validate import Predicate
  from marshmallow.validate import Range
  from marshmallow.validate import Regexp
  from marshmallow.validate import URL
  from marshmallow.validate import Validator
  from werkzeug.datastructures import FileStorage
  from .helpers import get_filestorage_size
  from .helpers import parse_size
label_desc: Use image node_id 2 for calling the FileSize obj's underlying member method code with example usage: obj._repr_args() and returns: str