mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
migrate sanic → FastAPI
This commit is contained in:
@@ -44,7 +44,7 @@ class HyperglassError(Exception):
|
||||
"""
|
||||
return f"[{self.alert.upper()}] {self._message}"
|
||||
|
||||
def __dict__(self):
|
||||
def dict(self):
|
||||
"""Return the instance's attributes as a dictionary.
|
||||
|
||||
Returns:
|
||||
|
Reference in New Issue
Block a user