kopia lustrzana https://github.com/Langenfeld/py-gitea
Actually just unwrap the topics
rodzic
4cbdbf51fa
commit
2716eef153
|
@ -469,7 +469,7 @@ class Repository(ApiObject):
|
||||||
results = self.gitea.requests_get(
|
results = self.gitea.requests_get(
|
||||||
Repository.REPO_TOPICS % (self.owner.username, self.name)
|
Repository.REPO_TOPICS % (self.owner.username, self.name)
|
||||||
)
|
)
|
||||||
return results
|
return results["topics"]
|
||||||
|
|
||||||
def get_user_time(self, username) -> float:
|
def get_user_time(self, username) -> float:
|
||||||
if isinstance(username, User):
|
if isinstance(username, User):
|
||||||
|
|
Ładowanie…
Reference in New Issue