Commit Graph

14 Commits

Author SHA1 Message Date
4878d550fe
♻️ Move the schema-wide many warning to __setattr__ instead 2023-03-13 15:48:05 +01:00
2a5e35b334
🏷️ Change the many type back to bool in the __init__ method 2023-03-13 15:20:33 +01:00
fe5decad4f
🔧 Show more function signature details in documentation 2023-03-13 00:10:37 +01:00
712f7fca7b
Overload dump/dumps methods to increase type safety;
issue a warning, when using the `many` parameter in `__init__`
2023-03-13 00:08:57 +01:00
84fa2d2cd9
🚧 Expand generic utility mixin to handle up to 5 type arguments 2023-03-12 18:04:28 +01:00
21c201b681
📝 Write and configure documentation 2023-03-11 16:33:06 +01:00
72218fd2cb
Add loads method overloads to GenericSchema class 2023-03-11 16:23:25 +01:00
bff3c7ef52
Add main GenericSchema class 2023-03-11 16:23:25 +01:00
127ba69d3b
🚨 Fix linter errors/warnings; adjust ruff configuration 2023-03-11 16:23:25 +01:00
25cbe8de4b
Add isort and ruff as dev dependencies;
 remove `flake8` dependency (replaced by `ruff`);
change `lint.sh` script to use `isort`, `ruff`, and `black`
2023-03-11 16:23:25 +01:00
601fee0bfc
🏷️ Add py.typed marker 2023-03-11 16:23:25 +01:00
39e1ac3390
Overload @post_load decorator to retain the function type 2023-03-11 16:23:25 +01:00
8fedd9d326
Implement simple generic mixin for saving a single type argument 2023-03-11 16:23:25 +01:00
2dc46dc532
🎉 Initial commit 2023-03-11 16:23:21 +01:00