@@ -80,73 +80,12 @@ s.general.sdk_configuration.server_url = "https://your-server"
8080
8181
8282
83- ## SDK Example Usage
84- <!-- Start SDK Example Usage -->
8583
84+ <!-- No SDK Example Usage -->
8685
87- ``` python
88- import unstructured_client
89- from unstructured_client.models import shared
90-
91- s = unstructured_client.UnstructuredClient(
92- security = shared.Security(
93- api_key_auth = " YOUR_API_KEY" ,
94- ),
95- )
96-
97- req = shared.PartitionParameters(
98- coordinates = False ,
99- encoding = ' utf-8' ,
100- files = shared.PartitionParametersFiles(
101- content = ' distinctio' .encode(),
102- files = ' quibusdam' ,
103- ),
104- gz_uncompressed_content_type = ' application/pdf' ,
105- hi_res_model_name = ' yolox' ,
106- include_page_breaks = False ,
107- ocr_languages = [
108- ' eng' ,
109- ],
110- output_format = ' application/json' ,
111- pdf_infer_table_structure = False ,
112- skip_infer_table_types = [
113- ' pdf' ,
114- ],
115- strategy = ' hi_res' ,
116- xml_keep_tags = False ,
117- )
118-
119- res = s.general.partition(req)
120-
121- if res.elements is not None :
122- # handle response
123- ```
124- <!-- End SDK Example Usage -->
125-
126-
127-
128- <!-- Start SDK Available Operations -->
129- ## Available Resources and Operations
130-
131-
132- ### [ general] ( docs/sdks/general/README.md )
133-
134- * [ partition] ( docs/sdks/general/README.md#partition ) - Pipeline 1
135- <!-- End SDK Available Operations -->
136-
137-
138-
139- <!-- Start Pagination -->
140- # Pagination
141-
142- Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the
143- returned response object will have a ` Next ` method that can be called to pull down the next group of results. If the
144- return value of ` Next ` is ` None ` , then there are no more pages to be fetched.
145-
146- Here's an example of one such pagination call:
147-
86+ <!-- No SDK Available Operations -->
14887
149- <!-- End Pagination -->
88+ <!-- No Pagination -->
15089
15190<!-- Placeholder for Future Speakeasy SDK Sections -->
15291
0 commit comments