MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / isSecondaryRateLimitError

Method isSecondaryRateLimitError

github/Requester.py:979–988  ·  view source on GitHub ↗
(cls, message: str)

Source from the content-addressed store, hash-verified

977
978 @classmethod
979 def isSecondaryRateLimitError(cls, message: str) -> bool:
980 if not message:
981 return False
982
983 message = message.lower()
984 return (
985 message.startswith("you have exceeded a secondary rate limit")
986 or message.endswith("please retry your request again later.")
987 or message.endswith("please wait a few minutes before you try again.")
988 )
989
990 def __structuredFromJson(self, data: str) -> Any:
991 if len(data) == 0:

Callers 2

isRateLimitErrorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected