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

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