marshmallow 3.24.0__tar.gz → 3.24.1__tar.gz

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.
Files changed (74) hide show
  1. {marshmallow-3.24.0 → marshmallow-3.24.1}/CHANGELOG.rst +7 -0
  2. {marshmallow-3.24.0 → marshmallow-3.24.1}/PKG-INFO +1 -1
  3. {marshmallow-3.24.0 → marshmallow-3.24.1}/pyproject.toml +1 -1
  4. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/class_registry.py +2 -2
  5. marshmallow-3.24.1/tests/mypy_test_cases/test_class_registry.py +4 -0
  6. {marshmallow-3.24.0 → marshmallow-3.24.1}/CONTRIBUTING.rst +0 -0
  7. {marshmallow-3.24.0 → marshmallow-3.24.1}/LICENSE +0 -0
  8. {marshmallow-3.24.0 → marshmallow-3.24.1}/NOTICE +0 -0
  9. {marshmallow-3.24.0 → marshmallow-3.24.1}/README.rst +0 -0
  10. {marshmallow-3.24.0 → marshmallow-3.24.1}/SECURITY.md +0 -0
  11. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/.gitignore +0 -0
  12. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/_static/marshmallow-logo.png +0 -0
  13. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/_templates/donate.html +0 -0
  14. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/_templates/useful-links.html +0 -0
  15. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/about.rst.inc +0 -0
  16. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/api_reference.rst +0 -0
  17. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/authors.rst +0 -0
  18. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/changelog.rst +0 -0
  19. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/code_of_conduct.rst +0 -0
  20. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/conf.py +0 -0
  21. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/contributing.rst +0 -0
  22. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/custom_fields.rst +0 -0
  23. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/dashing.json +0 -0
  24. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/ecosystem.rst +0 -0
  25. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/examples.rst +0 -0
  26. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/extending.rst +0 -0
  27. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/index.rst +0 -0
  28. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/install.rst +0 -0
  29. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/kudos.rst +0 -0
  30. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/license.rst +0 -0
  31. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/marshmallow.class_registry.rst +0 -0
  32. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/marshmallow.decorators.rst +0 -0
  33. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/marshmallow.error_store.rst +0 -0
  34. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/marshmallow.exceptions.rst +0 -0
  35. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/marshmallow.fields.rst +0 -0
  36. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/marshmallow.schema.rst +0 -0
  37. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/marshmallow.utils.rst +0 -0
  38. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/marshmallow.validate.rst +0 -0
  39. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/nesting.rst +0 -0
  40. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/quickstart.rst +0 -0
  41. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/upgrading.rst +0 -0
  42. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/whos_using.rst +0 -0
  43. {marshmallow-3.24.0 → marshmallow-3.24.1}/docs/why.rst +0 -0
  44. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/__init__.py +0 -0
  45. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/base.py +0 -0
  46. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/decorators.py +0 -0
  47. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/error_store.py +0 -0
  48. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/exceptions.py +0 -0
  49. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/fields.py +0 -0
  50. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/orderedset.py +0 -0
  51. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/py.typed +0 -0
  52. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/schema.py +0 -0
  53. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/types.py +0 -0
  54. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/utils.py +0 -0
  55. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/validate.py +0 -0
  56. {marshmallow-3.24.0 → marshmallow-3.24.1}/src/marshmallow/warnings.py +0 -0
  57. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/__init__.py +0 -0
  58. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/base.py +0 -0
  59. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/conftest.py +0 -0
  60. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/foo_serializer.py +0 -0
  61. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/mypy_test_cases/test_validation_error.py +0 -0
  62. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/test_decorators.py +0 -0
  63. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/test_deserialization.py +0 -0
  64. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/test_error_store.py +0 -0
  65. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/test_exceptions.py +0 -0
  66. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/test_fields.py +0 -0
  67. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/test_options.py +0 -0
  68. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/test_registry.py +0 -0
  69. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/test_schema.py +0 -0
  70. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/test_serialization.py +0 -0
  71. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/test_utils.py +0 -0
  72. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/test_validate.py +0 -0
  73. {marshmallow-3.24.0 → marshmallow-3.24.1}/tests/test_version_attributes.py +0 -0
  74. {marshmallow-3.24.0 → marshmallow-3.24.1}/tox.ini +0 -0
@@ -1,6 +1,13 @@
1
1
  Changelog
2
2
  ---------
3
3
 
4
+ 3.24.1 (2025-01-06)
5
+ *******************
6
+
7
+ Bug fixes:
8
+
9
+ - Typing: Fix typing for `class_registry.get_class <marshmallow.class_registry.get_class>` (:pr:`2735`).
10
+
4
11
  3.24.0 (2025-01-06)
5
12
  *******************
6
13
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: marshmallow
3
- Version: 3.24.0
3
+ Version: 3.24.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>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "marshmallow"
3
- version = "3.24.0"
3
+ version = "3.24.1"
4
4
  description = "A lightweight library for converting complex datatypes to and from native Python datatypes."
5
5
  readme = "README.rst"
6
6
  license = { file = "LICENSE" }
@@ -70,12 +70,12 @@ def register(classname: str, cls: SchemaType) -> None:
70
70
 
71
71
 
72
72
  @typing.overload
73
- def get_class(classname: str, all: typing.Literal[False]) -> SchemaType: ...
73
+ def get_class(classname: str, all: typing.Literal[False] = ...) -> SchemaType: ...
74
74
 
75
75
 
76
76
  @typing.overload
77
77
  def get_class(
78
- classname: str, all: typing.Literal[True]
78
+ classname: str, all: typing.Literal[True] = ...
79
79
  ) -> list[SchemaType] | SchemaType: ...
80
80
 
81
81
 
@@ -0,0 +1,4 @@
1
+ from marshmallow import class_registry
2
+
3
+ # Works without passing `all`
4
+ class_registry.get_class("MySchema")
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes