1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00
2020-04-16 09:29:57 -07:00

17 lines
342 B
Python

"""hyperglass-agent certificate import models."""
# Standard Library
from typing import Union
# Third Party
from pydantic import BaseModel, StrictStr
# Project
from hyperglass.models import StrictBytes
class EncodedRequest(BaseModel):
"""Certificate request model."""
device: StrictStr
encoded: Union[StrictStr, StrictBytes]