Daniil Fajnberg
|
4878d550fe
|
♻️ Move the schema-wide `many` warning to `__setattr__` instead
|
2023-03-13 15:48:05 +01:00 |
Daniil Fajnberg
|
2a5e35b334
|
🏷️ Change the `many` type back to `bool` in the `__init__` method
|
2023-03-13 15:20:33 +01:00 |
Daniil Fajnberg
|
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 |
Daniil Fajnberg
|
84fa2d2cd9
|
🚧 Expand generic utility mixin to handle up to 5 type arguments
|
2023-03-12 18:04:28 +01:00 |
Daniil Fajnberg
|
72218fd2cb
|
✨ Add `loads` method overloads to `GenericSchema` class
|
2023-03-11 16:23:25 +01:00 |
Daniil Fajnberg
|
bff3c7ef52
|
✨ Add main `GenericSchema` class
|
2023-03-11 16:23:25 +01:00 |
Daniil Fajnberg
|
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 |
Daniil Fajnberg
|
39e1ac3390
|
✨ Overload `@post_load` decorator to retain the function type
|
2023-03-11 16:23:25 +01:00 |
Daniil Fajnberg
|
8fedd9d326
|
✨ Implement simple generic mixin for saving a single type argument
|
2023-03-11 16:23:25 +01:00 |
Daniil Fajnberg
|
2dc46dc532
|
🎉 Initial commit
|
2023-03-11 16:23:21 +01:00 |