Skip to content

AttributeError: 'coroutine' object has no attribute 'extracted_properties' ​ #7

Description

@recursive-duck

I'm trying to replicate the tutorial but got this error on Extract Properties section:

AttributeError                            Traceback (most recent call last)
Cell In[37], line 34
      4 properties = [ExtractProperty(
      5             name="contact_info", 
      6             description="A list of each person mentioned and their contact information",
   (...)
     30             required=True
     31         )]
     33 transformed_document = document.extract(properties=properties).execute()
---> 34 print(json.dumps(transformed_document.extracted_properties, indent=2))

AttributeError: 'coroutine' object has no attribute 'extracted_properties'```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions