Skip to content

Commit cdfd67d

Browse files
committed
add annotations import to human-written code
1 parent 0c95c76 commit cdfd67d

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

_test_unstructured_client/integration/test_decorators.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import httpx
24
import json
35
import pytest

_test_unstructured_client/unit/test_split_pdf_hook.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import asyncio
24
import io
35
import logging

src/unstructured_client/_hooks/custom/clean_server_url_hook.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from typing import Tuple
24
from urllib.parse import ParseResult, urlparse, urlunparse
35

src/unstructured_client/_hooks/custom/logger_hook.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import logging
24
from typing import Optional, Tuple, Union, DefaultDict
35

src/unstructured_client/_hooks/custom/pdf_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import io
24
import logging
35
from typing import cast, Generator, Tuple, Optional

src/unstructured_client/_hooks/custom/suggest_defining_url.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from typing import Optional, Tuple, Union
24

35
import httpx

0 commit comments

Comments
 (0)