Skip to content

Commit 2b92481

Browse files
removed composite validator
1 parent 2002b6e commit 2b92481

File tree

7 files changed

+99
-236
lines changed

7 files changed

+99
-236
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- removed decorator `@timer_class`
1010
- removed decorator `@uminplemented`
1111
- removed decorator `@trace_if_returns`
12+
- removed validator `Composite`. Just pass multiple validators directly instead.
1213
- removed `enable_pedantic, disable_pedantic, is_enabled`
1314
- removed `GenericMixin.type_var`. Use `GenericMixin.type_vars` instead.
1415
- removed `GenericMixin.class_name`. Use `type(self).__name__` instead.

docs/pedantic.html

Lines changed: 97 additions & 189 deletions
Large diffs are not rendered by default.

docs/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pedantic/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
Parameter,
3434
)
3535
from pedantic.decorators.fn_deco_validate.validators import (
36-
Composite,
3736
DatetimeIsoFormat,
3837
DateTimeUnixTimestamp,
3938
Email,
@@ -61,7 +60,6 @@
6160
)
6261

6362
__all__ = [
64-
'Composite',
6563
'ConversionError',
6664
'DateTimeUnixTimestamp',
6765
'DatetimeIsoFormat',

pedantic/decorators/fn_deco_validate/validators/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from .abstract_validator import Validator
2-
from .composite_validator import Composite
32
from .datetime_isoformat import DatetimeIsoFormat
43
from .datetime_unix_timestamp import DateTimeUnixTimestamp
54
from .email import Email
@@ -14,7 +13,6 @@
1413
from .not_empty import NotEmpty
1514

1615
__all__ = [
17-
'Composite',
1816
'DateTimeUnixTimestamp',
1917
'DatetimeIsoFormat',
2018
'Email',

pedantic/decorators/fn_deco_validate/validators/composite_validator.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

tests/decorators/validate/test_validator_composite.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)