You cannot 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
310 B
Python

from __future__ import annotations
from typing import Literal, NewType, Sequence, TypeAlias, TypedDict
ServiceName = NewType("ServiceName", str)
ContainerName = NewType("ContainerName", str)
class ServiceDef(TypedDict, total=False):
container_name: ContainerName
depends_on: Sequence[ServiceName]