generated from yanyongyu/python-poetry-template
-
-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
Description
Hello,
With version 0.11.12 it seems that creating a check run is no longer possible:
gh.rest.checks.create(
owner='owner',
repo='repo',
name='name',
head_sha='0000000000000000000000000000000000000000',
status='in_progress',
)⬇️
pydantic.errors.PydanticUserError: Model 'ReposOwnerRepoCheckRunsPostBodyOneof1' needs field 'status' to be of type `Literal`
It looks like it's related to the changes made to githubkit/versions/v2022_11_28/rest/checks.py but I'm not sure why it was modified.