Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
This repository was archived by the owner on Jul 1, 2026. It is now read-only.

Typing #28

Description

@flying-sheep

Would you be interested in shipping an auto-generated module that can be used as type annotation?

That way people could just do the following:

@webhook.hook()
def on_push(data: webhook.events.Push):
    data['<tab>

and get autocompletion in e.g. PyCharm.

Octokit provides a versioned schema: https://github.com/octokit/webhooks/blob/v3.11.2/index.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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