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.
13 lines
244 B
13 lines
244 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
|