ConnectorConfigInput and ConnectorType classes are deprecated
Applies to: The Unstructured Python SDK only. Issue: Referencing classes that end inConnectorConfigInput
such as S3SourceConnectorConfigInput
and S3DestinationConnectorConfigInput
, and referencing classes that end in ConnectorType
such as
S3SourceConnectorType
and S3DestinationConnectorType
, produce warnings at design time and errors at run time.
Cause: The preceding classes have been deprecated and are no longer supported.
Solution:
- Remove references to classes that end in
ConnectorConfigInput
from your code. Replace these references with a dictionary. This dictionary must contain the same fields as the class that you removed, with dictionary key/value pairs instead of object parameter/argument pairs. - Remove references to classes that end in
ConnectorType
from your code. Replace these references with a string reference instead. This string corresponds to Unstructured’s programmatic identifier for the connector type, for examples3
for Amazon S3.
Python SDK
SourceConnectorType
and S3SourceConnectorConfigInput
class references and replaces them
with the correct substitutions.
Python SDK