Skip to content

AttributeError: module 'unstructured_client.models.shared' has no attribute 'PartitionParametersFiles' #11

@ron-unstructured

Description

@ron-unstructured

version:

unstructured-client==0.14.0

To replicate:

req = shared.PartitionParameters(
    # Note that this currently only supports a single file
    files=shared.PartitionParametersFiles(
        content=file.read(),
        files=filename,
    ),
    # Other partition params
    strategy="fast",
)

try:
    res = s.general.partition(req)
    print(res.elements[0])
except SDKError as e:
    print(e)

Error message:

AttributeError: module 'unstructured_client.models.shared' has no attribute 'PartitionParametersFiles'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions