marshmallow 3.21.0__py3-none-any.whl → 3.21.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
marshmallow/schema.py CHANGED
@@ -1047,9 +1047,9 @@ class Schema(base.SchemaABC, metaclass=SchemaMeta):
1047
1047
  # the type checker's perspective.
1048
1048
  if isinstance(field_obj, type) and issubclass(field_obj, base.FieldABC):
1049
1049
  msg = (
1050
- 'Field for "{field_name}" must be declared as a '
1050
+ f'Field for "{field_name}" must be declared as a '
1051
1051
  "Field instance, not a class. "
1052
- 'Did you mean "fields.{field_obj.__name__}()"?'
1052
+ f'Did you mean "fields.{field_obj.__name__}()"?' # type: ignore
1053
1053
  )
1054
1054
  raise TypeError(msg) from error
1055
1055
  raise error
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: marshmallow
3
- Version: 3.21.0
3
+ Version: 3.21.1
4
4
  Summary: A lightweight library for converting complex datatypes to and from native Python datatypes.
5
5
  Author-email: Steven Loria <sloria1@gmail.com>
6
6
  Maintainer-email: Steven Loria <sloria1@gmail.com>, Jérôme Lafréchoux <jerome@jolimont.fr>, Jared Deckard <jared@shademaps.com>
@@ -7,12 +7,12 @@ marshmallow/exceptions.py,sha256=OIFlC_xY6c_4A6-1fYX-pIsgQegoLPiF5Ccur01MbPU,232
7
7
  marshmallow/fields.py,sha256=G97qL6WjmX2H0Qn9RF78X-bQkw50uUaxMSqRfdmCFe4,73145
8
8
  marshmallow/orderedset.py,sha256=C2aAG6w1faIL1phinbAltbe3AUAnF5MN6n7fzESNDhI,2922
9
9
  marshmallow/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- marshmallow/schema.py,sha256=L6Cb39l6zE57qmLM2UZxty8g76PCr9MvY-saxzIwo3k,49038
10
+ marshmallow/schema.py,sha256=3pW0X5sVKzjn-JI4sWA7I2xRfMquwytesR3L7ktOPXI,49056
11
11
  marshmallow/types.py,sha256=m1IhBT7dWHrYjTm7BQigHGX8UoYyt32WHwDK5Jppxf0,331
12
12
  marshmallow/utils.py,sha256=nUZBXDeXxSv6kc1njj_PvmyFRCun2bgZBYZ7mS5gLh8,11789
13
13
  marshmallow/validate.py,sha256=fZU2ftt9c-wlBgGmdnB0iZGrHpDLYgY7J7kHp0bAS9U,23914
14
14
  marshmallow/warnings.py,sha256=vHQu7AluuWqLhvlw5noXtWWbya13zDXY6JMaVSUzmDs,65
15
- marshmallow-3.21.0.dist-info/LICENSE,sha256=kGtdkFHkJhRMsXOtkRZnuOvQWpxYTCwmwTWzKj7RIAE,1064
16
- marshmallow-3.21.0.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
17
- marshmallow-3.21.0.dist-info/METADATA,sha256=y4u7H1p6Hvj8y66QQrXIYjjLpr8QQiQIYMnHSK0E4tw,7240
18
- marshmallow-3.21.0.dist-info/RECORD,,
15
+ marshmallow-3.21.1.dist-info/LICENSE,sha256=kGtdkFHkJhRMsXOtkRZnuOvQWpxYTCwmwTWzKj7RIAE,1064
16
+ marshmallow-3.21.1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
17
+ marshmallow-3.21.1.dist-info/METADATA,sha256=s0YvGglPEV0lpSgQUFGR2U7dG6jvQvrh8UaX5qCMbBw,7240
18
+ marshmallow-3.21.1.dist-info/RECORD,,