oracle/oci-python-sdk

Missing method "get_work_request" in oci.tenant_manager_control_plane.OrganizationClient

shengjun-zh opened this issue · 2 comments

I used OrganizationClientCompositeOperations.create_child_tenancy_and_wait_for_state() to create child tenancy, and the error occurred in line "self.client.get_work_request(wait_for_resource_id),". Here is the error message.

      +   File "/opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages/oci/tenant_manager_control_plane/organization_client_composite_operations.py", line 54, in create_child_tenancy_and_wait_for_state
      +     self.client.get_work_request(wait_for_resource_id),
      + AttributeError: 'OrganizationClient' object has no attribute 'get_work_request'