Skip to content

Commit

Permalink
fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
erichesse committed Feb 6, 2024
1 parent 9164023 commit 2d72797
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mex/mapping/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
from pydantic import BaseModel

from mex.common.models.mapping import MAPPING_MODEL_BY_EXTRACTED_CLASS_NAME
from mex.common.types import AssetsPath


def get_mapping_model(path: str, model_type: type[BaseModel]) -> BaseModel:
def get_mapping_model(path: AssetsPath, model_type: type[BaseModel]) -> BaseModel:
"""Return a mapping model with default values.
Args:
Expand Down

0 comments on commit 2d72797

Please sign in to comment.