Files
stand/annotations.py
T

10 lines
111 B
Python

from typing import Annotated
from fastapi import Path
PGroup = Annotated[str, Path(pattern=r"^p\d{5}$")]