A multipurpose python flask API server and administration SPA
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
234 B

"""Model definitions for the api module."""
from typing import Any, NamedTuple
class APIResponse(NamedTuple): # pylint: disable=too-few-public-methods
"""Custom class to wrap api responses."""
payload: Any
status: int