From c3228befc69398343bef41c4e9fb797e98c2a11e Mon Sep 17 00:00:00 2001 From: christinestraub Date: Mon, 18 Dec 2023 14:37:05 -0800 Subject: [PATCH] refactor: remove unused `TYPE_CHECKING` --- unstructured_inference/utils.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/unstructured_inference/utils.py b/unstructured_inference/utils.py index 879dfa5b..86285954 100644 --- a/unstructured_inference/utils.py +++ b/unstructured_inference/utils.py @@ -1,15 +1,12 @@ from collections.abc import Mapping from html.parser import HTMLParser from io import StringIO -from typing import TYPE_CHECKING, Any, Callable, Hashable, Iterable, Iterator, Union +from typing import Any, Callable, Hashable, Iterable, Iterator, Union from PIL import Image from unstructured_inference.inference.layoutelement import LayoutElement -if TYPE_CHECKING: - pass - class LazyEvaluateInfo: """Class that stores the information needed to lazily evaluate a function with given arguments.