Skip to content

Commit

Permalink
use future annotation style
Browse files Browse the repository at this point in the history
  • Loading branch information
badGarnet committed Apr 4, 2024
1 parent 397613a commit 0d47f93
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions unstructured_inference/models/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from __future__ import annotations

import json
import os
from typing import Dict, Optional, Tuple, Type, Union
from typing import Dict, Optional, Tuple, Type

from unstructured_inference.models.chipper import MODEL_TYPES as CHIPPER_MODEL_TYPES
from unstructured_inference.models.chipper import UnstructuredChipperModel
Expand All @@ -25,7 +27,7 @@
def get_default_model_mappings() -> (
Tuple[
Dict[str, Type[UnstructuredModel]],
Dict[str, Union[dict, LazyDict]],
Dict[str, dict | LazyDict],
]
):
"""default model mappings for models that are in `unstructured_inference` repo"""
Expand Down

0 comments on commit 0d47f93

Please sign in to comment.