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

migrate sanic → FastAPI

This commit is contained in:
checktheroads
2020-01-20 00:32:42 -07:00
parent 93ce589ae1
commit c469e6576c
4 changed files with 86 additions and 274 deletions

View File

@@ -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: