mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 10:31:17 -08:00
Fix some deprecated types
This commit is contained in:
parent
84d41e49b3
commit
b6c1a1bbbf
7 changed files with 34 additions and 38 deletions
|
|
@ -23,7 +23,7 @@ class Git(git.Git):
|
|||
)
|
||||
return self._parse_object_header(ret)
|
||||
|
||||
def stream_object_data(self, ref: str) -> tuple[str, str, int, "Git.CatFileContentStream"]:
|
||||
def stream_object_data(self, ref: str) -> tuple[str, str, int, Git.CatFileContentStream]:
|
||||
# Not really streaming, per se; this buffers the entire object in memory.
|
||||
# Shouldn't be a problem for our use case, since we're only using this for
|
||||
# object headers (commit objects).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue