Skip to content

Commit

Permalink
[hf_api] Fix incorrect typing
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-c committed Dec 22, 2020
1 parent 1558d19 commit 5b5f7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/hf_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def model_list(self) -> List[ModelInfo]:
d = r.json()
return [ModelInfo(**x) for x in d]

def list_repos_objs(self, token: str, organization: Optional[str] = None) -> List[S3Obj]:
def list_repos_objs(self, token: str, organization: Optional[str] = None) -> List[RepoObj]:
"""
HuggingFace git-based system, used for models.
Expand Down

0 comments on commit 5b5f7dd

Please sign in to comment.