diff options
author | a666 <19142162+a666@users.noreply.github.com> | 2023-08-25 07:58:19 +0000 |
---|---|---|
committer | a666 <19142162+a666@users.noreply.github.com> | 2023-08-29 06:54:57 +0000 |
commit | b6c1a1bbbf29a3041025aa336f6f843ffd7c7d46 (patch) | |
tree | 40015e451e0e578440bfaaed93a6b4f7a63851c4 /modules/gitpython_hack.py | |
parent | 84d41e49b3674699155ba2b7d80fd6f7f8957b7a (diff) | |
download | stable-diffusion-webui-gfx803-b6c1a1bbbf29a3041025aa336f6f843ffd7c7d46.tar.gz stable-diffusion-webui-gfx803-b6c1a1bbbf29a3041025aa336f6f843ffd7c7d46.tar.bz2 stable-diffusion-webui-gfx803-b6c1a1bbbf29a3041025aa336f6f843ffd7c7d46.zip |
Fix some deprecated types
Diffstat (limited to 'modules/gitpython_hack.py')
-rw-r--r-- | modules/gitpython_hack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gitpython_hack.py b/modules/gitpython_hack.py index e537c1df..b55f0640 100644 --- a/modules/gitpython_hack.py +++ b/modules/gitpython_hack.py @@ -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). |