Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call mysql_client_composite_ops.copy_backup_and_wait_for_state display AttributeError: 'DbBackupsClient' object has no attribute 'get_work_request' #664

Open
jansonkwo opened this issue Jun 27, 2024 · 1 comment

Comments

@jansonkwo
Copy link
Member

call DbBackupsClientCompositeOperations copy_backup_and_wait_for_state, return:
Traceback (most recent call last):
File "E:\Python\Python38\lib\site-packages\oci\mysql\db_backups_client_composite_operations.py", line 99, in copy_backup_and_wait_for_state
self.client.get_work_request(wait_for_resource_id),
AttributeError: 'DbBackupsClient' object has no attribute 'get_work_request'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "MDS-Cross-Region-BackupCopy.py", line 36, in
copy_backup_response = mysql_client_composite_ops.copy_backup_and_wait_for_state(
File "E:\Python\Python38\lib\site-packages\oci\mysql\db_backups_client_composite_operations.py", line 107, in copy_backup_and_wait_for_state
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
oci.exceptions.CompositeOperationError

the copy backup request is submitted, creating, and SUCCEEDED.

@richachugh11
Copy link

richachugh11 commented Sep 25, 2024

Hi @jansonkwo , what version of the OCI Python SDK are you currently using? Have you tried updating it to the latest version?
And are you still facing this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants