Skip to content

Commit

Permalink
- Removing unnused validator
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed Oct 10, 2023
1 parent 374ff3c commit c6aba84
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tdrs-backend/tdpservice/parsers/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,6 @@ def isBlank():
lambda value: f'{value} is not blank.'
)

def isNone():
"""Validate that a value is None/blank."""
return make_validator(
lambda value: value is None,
lambda value: f'{value} is not blank.'
)

def isInStringRange(lower, upper):
"""Validate that string value is in a specific range."""
return make_validator(
Expand Down

0 comments on commit c6aba84

Please sign in to comment.