yanyongyu / githubkit

The modern, all-batteries-included GitHub SDK for Python, including rest api, graphql, webhooks, like octokit!
MIT License
158 stars 21 forks source link

Some timeline events are missing #110

Closed pvcnt closed 3 weeks ago

pvcnt commented 3 weeks ago

Some timeline events are missing. For example, I was looking for head_ref_force_pushed and I do not see it in https://github.com/yanyongyu/githubkit/blob/master/githubkit/versions/v2022_11_28/rest/issues.py#L2871-L2895

It looks like other events may be missing as well.

yanyongyu commented 3 weeks ago

This event is a StateChangeIssueEvent. githubkit generates the models from the github's openapi schema. It's impossible to miss an event type unless github miss the event. In fact, many timeline events on GitHub use this type and has no extra detailed info.

pvcnt commented 3 weeks ago

Ah... I was expecting something more typed, like there is in the GraphQL API. Thank you for clarifying this!