update_workspace_details needs 2 attributes instead of 1
Olygo opened this issue · 4 comments
Olygo commented
Hi,
issue in :
- oci.data_integration.DataIntegrationClient
- update_workspace(workspace_id, update_workspace_details)
- oci.data_integration.models.UpdateWorkspaceDetails(update_workspace_details)
Using the following should work:
- details = oci.data_integration.models.UpdateWorkspaceDetails(defined_tags=my_defined_tags_dict)
- error:
- 'data_integration', 'status': 500, 'code': 'InternalError', 'opc-request-id': '....', 'message': 'Internal error occurred', 'operation_name': 'update_workspace', 'timestamp': '...', 'client_version': 'Oracle-PythonSDK/2.104.1',
in order to update a single attribute (e.g. defined_tags) we must update 2 attributes, such as :
- details = oci.data_integration.models.UpdateWorkspaceDetails(defined_tags=my_defined_tags_dict, freeform_tags=my_freeform_tags_dict)
could you please fix sdk accordingly ?
Regards
Florian
KartikShrikantHegde commented
Hi @Olygo , Can you please confirm the version of the data integration service you are using?