import os
from unstructured import UnstructuredClient
client = UnstructuredClient(
username=os.environ.get("UNSTRUCTURED_USERNAME"), # This is the default and can be omitted
password=os.environ.get("UNSTRUCTURED_PASSWORD"), # This is the default and can be omitted
)
response = client.metadata.get_standardization_db(
data_connector_name="data_connector_name",
standard_mapping={
"foo": [{}]
},
tag_name="tag_name",
)
print(response.success)