Skip to content

Commit ad360da

Browse files
committed
Merge branch 'main' into NEXUS-752-add-vlm-strategy
2 parents 0a27e81 + c34ae91 commit ad360da

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<p>Python SDK for the Unstructured API</p>
1818
</h2>
1919

20-
This is a Python client for the [Unstructured API](https://docs.unstructured.io/api-reference/api-services/saas-api-development-guide) and you can sign up for your API key on https://app.unstructured.io.
20+
This is a HTTP client for the [Unstructured Platform API](https://docs.unstructured.io/platform-api/overview). You can sign up [here](https://unstructured.io/developers) and process 1000 free pages per day for 14 days.
2121

22-
Please refer to the [Unstructured docs](https://docs.unstructured.io/api-reference/api-services/sdk-python) for a full guide to using the client.
22+
Please refer to the our documentation for a full guide on integrating the [Workflow Endpoint](https://docs.unstructured.io/platform-api/api/overview) and [Partition Endpoint](https://docs.unstructured.io/platform-api/partition-api/sdk-python) into your Python code.
2323

2424
<!-- Start Summary [summary] -->
2525
## Summary

_test_unstructured_client/integration/test_integration_freemium.py renamed to _test_unstructured_client/integration/test_integration.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
from unstructured_client.utils.retries import BackoffStrategy, RetryConfig
1414

1515

16-
FREEMIUM_URL = "https://api.unstructured.io"
17-
18-
1916
@pytest.fixture(scope="module")
2017
def client() -> UnstructuredClient:
2118
_client = UnstructuredClient(api_key_auth=os.getenv("UNSTRUCTURED_API_KEY"))
@@ -47,7 +44,6 @@ def test_partition_strategies(split_pdf, strategy, client, doc_path):
4744
)
4845

4946
response = client.general.partition(
50-
server_url=FREEMIUM_URL,
5147
request=req
5248
)
5349
assert response.status_code == 200
@@ -109,7 +105,6 @@ def test_partition_handling_server_error(error, split_pdf, monkeypatch, doc_path
109105

110106
with pytest.raises(sdk_raises):
111107
response = client.general.partition(
112-
server_url=FREEMIUM_URL,
113108
request=req
114109
)
115110

@@ -220,7 +215,6 @@ async def call_api():
220215
)
221216

222217
resp = client.general.partition(
223-
server_url=FREEMIUM_URL,
224218
request=req
225219
)
226220

0 commit comments

Comments
 (0)