Florian Braun
829ca19963
feat(python): support validation of dict subclasses
...
Currently, attemping to validate an instance of a dict subclass will raise a `ValueError`. This should not be happening, since the instance is still dict.
Achieve compatibility by checking the subclasses' inheritance tree, and treat the instance like a dict if that check passes.
2024-03-22 18:44:42 +01:00
Dmitry Dygalo
4f99c8f8be
feat: Support Python 3.12
...
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-03 19:48:40 +01:00
Dmitry Dygalo
e15d4dd342
chore: Update dependencies
...
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-03 01:18:27 +01:00
Dmitry Dygalo
f57357d021
perf(python): Avoid extra allocation when validating a dictionary with non-string keys
2022-10-18 22:52:16 +02:00
o.ermakov
cc07bb2526
fix(python): Deleted unnecessary Debug derive attr
2022-10-18 22:13:10 +02:00
o.ermakov
e40a35a983
fix(python): Review fixes
2022-10-18 22:13:10 +02:00
o.ermakov
bbd0153de8
fix(python): Fix SystemError when non-str dict key provided #386
2022-10-18 22:13:10 +02:00
Dmitry Dygalo
872bd7617e
chore(python): Fix clippy warnings
2022-01-28 12:23:10 +01:00
Blayne Chard
0515c955a4
feat: convert python enum into raw values before validating ( #317 )
...
* feat: convert python enum into raw values before validating
* refactor: apply pull request comments
2021-11-09 20:49:04 +01:00
Blayne Chard
9867b383a6
refactor: split list and tuple serialization
2021-11-04 12:29:45 +01:00
Blayne Chard
045d4aaab5
refactor: avoid serialization logic duplication
2021-11-04 12:29:45 +01:00
Blayne Chard
734445856b
fix: convert tuples into lists
2021-11-04 12:29:45 +01:00
Dmitry Dygalo
a0a5be814b
chore: Fix various clippy lints
2021-06-17 19:27:14 +02:00
Dmitry Dygalo
e3f1e62df1
chore: Resolve clippy lints
2021-05-03 11:02:12 +02:00
Dmitry Dygalo
f5be9508d0
fix: Sdist Python packaging
...
* chore: Move Python bindings to `bindings`
* chore: Move `jsonschema` into a separate directory
* chore: Move submodule
* ci: Fix the `coverage` job
* chore: Move submodule
* test: Disable some failing optional tests
* ci: Add tests for installing Python sdist
* fix: Sdist Python packaging
* chore: Remove coverage job
It doesn't support such project structure
Ref: https://github.com/actions-rs/grcov/issues/50
2021-01-29 09:52:12 +01:00