Files
kittycad.py/kittycad/models/device_access_token_request_form.py
Jess Frazelle 8d476bbec6 pydantic cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2024-01-06 18:32:34 -08:00

17 lines
335 B
Python

from pydantic import BaseModel, ConfigDict
from ..models.o_auth2_grant_type import OAuth2GrantType
class DeviceAccessTokenRequestForm(BaseModel):
"""The form for a device access token request."""
client_id: str
device_code: str
grant_type: OAuth2GrantType
model_config = ConfigDict(protected_namespaces=())