1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

Remove query_group from query fields

This commit is contained in:
thatmattlove
2021-09-25 21:50:51 -07:00
parent 27b6ba09d8
commit c2240d92c6
5 changed files with 3 additions and 58 deletions

View File

@@ -97,14 +97,6 @@ class QueryTypeNotFound(NotFound):
super().__init__(type=TEXT.query_type, name=str(query_type), **kwargs)
class QueryGroupNotFound(NotFound):
"""Raised when a query group is not found."""
def __init__(self, group: Any, **kwargs: Dict[str, Any]) -> None:
"""Initialize a NotFound error for a query group."""
super().__init__(type=TEXT.query_group, name=str(group), **kwargs)
class InputInvalid(PublicHyperglassError, template=MESSAGES.invalid_input):
"""Raised when input validation fails."""