Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Overriding type for api.github.com schema. #3463

@Andrej730

Description

@Andrej730

I naively wanted to fix missing WorkflowRun.status return type in #3443, but turned out it's an issue upstream in see api.github.com.2022-11-28.json (see github/rest-api-description#1634 (comment)).

Basically WorkflowRun.status in schema is defined as string | null instead of enum. Does it mean this issue should be fixed upstream or there is some workflow to pygithub to accept patches that override original schema a bit? What's usually done in cases like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions