# coding: utf-8

from typing import Dict, List  # noqa: F401

from fastapi import (  # noqa: F401
    APIRouter,
    Body,
    Cookie,
    Depends,
    Form,
    Header,
    Path,
    Query,
    Response,
    Security,
    status,
)

from ecp4_api_fast.models.extra_models import TokenModel  # noqa: F401
from ecp4_api_fast.models.power_unit_list import PowerUnitList


router = APIRouter(prefix="/v1")


@router.get(
    "/powerunits",
    responses={
        200: {"model": PowerUnitList, "description": "Power units"},
    },
    tags=["powerunits"],
    response_model_by_alias=True,
)
async def powerunits_get(
) -> PowerUnitList:
    """An overview of all configured powerunits. """
    ...
