mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Add reset to the repr for Rate (#1389)
Add the reset attribute to the repr for Rate, and add a test for good measure. Co-Authored-By: Jonathan Leitschuh <jonathan.leitschuh@gmail.com>
This commit is contained in:
co-authored by
Jonathan Leitschuh
parent
e5ce4912f5
commit
0829af815f
+5
-1
@@ -37,7 +37,11 @@ class Rate(github.GithubObject.NonCompletableGithubObject):
|
||||
|
||||
def __repr__(self):
|
||||
return self.get__repr__(
|
||||
{"limit": self._limit.value, "remaining": self._remaining.value}
|
||||
{
|
||||
"limit": self._limit.value,
|
||||
"remaining": self._remaining.value,
|
||||
"reset": self._reset.value,
|
||||
}
|
||||
)
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user