Daniil Fajnberg
|
862a517018
|
🚨 Set explicit `stacklevel` when warning about schema-wide `many` setting depending on initialization state.
This should help users see the exact line they wrote that triggered the warning.
|
2023-04-21 15:52:33 +02:00 |
Daniil Fajnberg
|
da244e15ba
|
👷 Add Github CI workflow for unit testing and linting
|
2023-03-13 20:59:42 +01:00 |
Daniil Fajnberg
|
485aea005e
|
🔖 v1.0.0
|
2023-03-13 20:27:09 +01:00 |
Daniil Fajnberg
|
d272864e44
|
👨💻 Explicitly (re-)export in the package `__init__.py` (including `marshmallow` exports)
|
2023-03-13 18:54:18 +01:00 |
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
|
21c201b681
|
📝 Write and configure documentation
|
2023-03-11 16:33:06 +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
|
127ba69d3b
|
🚨 Fix linter errors/warnings; adjust `ruff` configuration
|
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
|
601fee0bfc
|
🏷️ Add `py.typed` marker
|
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 |