Rename cache variable; update clone type

This commit is contained in:
Zanie
2023-10-27 12:29:00 -05:00
parent a16c04c6db
commit 05ab316609
3 changed files with 7 additions and 9 deletions

View File

@@ -55,9 +55,7 @@ class Repository(Serializable):
def url(self: Self) -> str:
return f"https://github.com/{self.owner}/{self.name}"
async def clone(
self: Self, checkout_dir: Path
) -> AsyncGenerator[ClonedRepository, None]:
async def clone(self: Self, checkout_dir: Path) -> ClonedRepository:
"""
Shallow clone this repository
"""