blob: cb462c2ae878bca6aca920f8969287c4ed2aeaa9 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from __future__ import annotations
import dataclasses
import requests as requests_http
from ...models.shared import partition_parameters as shared_partition_parameters
from typing import Any, Dict, List, Optional
@dataclasses.dataclass
class PartitionRequest:
UNSET='__SPEAKEASY_UNSET__'
partition_parameters: shared_partition_parameters.PartitionParameters = dataclasses.field(metadata={'request': { 'media_type': 'multipart/form-data' }})
unstructured_api_key: Optional[str] = dataclasses.field(default=UNSET, metadata={'header': { 'field_name': 'unstructured-api-key', 'style': 'simple', 'explode': False }})
@dataclasses.dataclass
class PartitionResponse:
content_type: str = dataclasses.field()
r"""HTTP response content type for this operation"""
status_code: int = dataclasses.field()
r"""HTTP response status code for this operation"""
raw_response: requests_http.Response = dataclasses.field()
r"""Raw HTTP response; suitable for custom response parsing"""
elements: Optional[List[Dict[str, Any]]] = dataclasses.field(default=None)
r"""Successful Response"""
|