Skip to content

Commit d41d0d5

Browse files
committed
version lint?
1 parent 8470421 commit d41d0d5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_test_unstructured_client/unit/test_server_urls.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pytest
22
from dataclasses import dataclass
33
from unstructured_client import UnstructuredClient, utils
4-
4+
from typing import Optional
55

66
# Raise one of these from our mock to return to the test code
77
class BaseUrlCorrect(Exception):
@@ -55,12 +55,12 @@ def mock_build_request(*args, base_url, **kwargs):
5555
class URLTestCase:
5656
description: str
5757
sdk_endpoint_name: str
58-
# url when you init the client (global for all endpoints)
59-
client_url: str | None = None
60-
# url when you init the SDK endpoint (vary per endpoint)
61-
endpoint_url: str | None = None
6258
# expected url when actually making the HTTP request in build_request
6359
expected_url: str
60+
# url when you init the client (global for all endpoints)
61+
client_url: Optional[str] = None
62+
# url when you init the SDK endpoint (vary per endpoint)
63+
endpoint_url: Optional[str] = None
6464

6565
@pytest.mark.asyncio
6666
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)