Skip to content

Judge API Param 목록 Model로 관리  #5

@minkyu97

Description

@minkyu97

judge api 문서에 param 목록이 있는걸로 아는데
list[str]말고 pydantic model로 type safe하게 관리하는건 어떨까요
이런식으루

class JudgeQueryParams(BaseModel):
    base64_encoded: bool = False
    ...  # 그 외 나올 수 있는 params

Originally posted by @shp7724 in #4 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions