Skip to content

Commit

Permalink
fix: typing import
Browse files Browse the repository at this point in the history
  • Loading branch information
jstzwj committed Oct 19, 2024
1 parent b8834cb commit c927ffc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion olah/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.

from typing import List, Literal, Optional, Union
from typing import Any, Dict, List, Literal, Optional, Union
import toml
import re
import fnmatch
Expand Down
3 changes: 3 additions & 0 deletions olah/mirror/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# https://opensource.org/licenses/MIT.


from typing import Any, Dict


class RepoMeta(object):
def __init__(self) -> None:
self._id = None
Expand Down
2 changes: 1 addition & 1 deletion olah/proxy/pathsinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import json
import os
from typing import Dict, List, Literal, Optional, Tuple
from typing import AsyncGenerator, Dict, List, Literal, Optional, Tuple, Union
from urllib.parse import quote, urljoin
from fastapi import FastAPI, Request

Expand Down

0 comments on commit c927ffc

Please sign in to comment.