Ju4tCode

Results 108 comments of Ju4tCode

paginator func has overload types: https://github.com/yanyongyu/githubkit/blob/42de20d2012e95f0040909e61bcee3c1f1c72551/githubkit/github.py#L153-L176 the type annotations in the implement should be ignored by checker > The @overload-decorated definitions are for the benefit of the type checker only,...

Can you test the checker with following change? ```diff @staticmethod def paginate( - request: R[CP, CT], + request: Union[R[CP, List[RT]], R[CP, CT]], page: int = 1, per_page: int = 100,...

Everything is OK in my VSCode with Pylance/Pyright :) ![image](https://user-images.githubusercontent.com/42488585/229514812-3c8f0127-7f83-4198-b1fe-72f843c6b143.png) or with `map_func` ![image](https://user-images.githubusercontent.com/42488585/229516123-c5448557-77a0-4d79-a1a8-0ebb8f8d6abf.png)

Thanks to @RF-Tar-Railt, this issue has been confirmed and tracked by Jetbrains in [PY-61022](https://youtrack.jetbrains.com/issue/PY-61022) & [PY-61023](https://youtrack.jetbrains.com/issue/PY-61023). This issue maybe fixed in pycharm feature release.

Currently, githubkit is focusing on data validation, auth flows, and maybe api versioning and module lazy loading in the next major version. Rate limit will increase the complexity and may...

I think this could be a configuration option and handle retries within the `request` method

> If #86 is merged, should this still be open? Maybe it's already done? #86 only deal with the rate limit error from the github server. This issue also requests...

For the second solution, the code is one-time-use ticket. The application may not use the code twice to get the user session. Instead, we may need to expose a new...

插件元数据缺少config

预期结果和实际内容并不一定是可json序列化的,需要使用其他方法来进行diff,可以看看pytest有无相关方法