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

Method isPrimaryRateLimitError

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

Source from the content-addressed store, hash-verified

969
970 @classmethod
971 def isPrimaryRateLimitError(cls, message: str) -> bool:
972 if not message:
973 return False
974
975 message = message.lower()
976 return message.startswith("api rate limit exceeded")
977
978 @classmethod
979 def isSecondaryRateLimitError(cls, message: str) -> bool:

Callers 3

isRateLimitErrorMethod · 0.80
incrementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected