oracle / oracle/oci-python-sdk
API Gateway clients don't implement "get_work_request"
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 474
- Forks
- 321
- Avg merge
- 23m
- Merged PRs (30d)
- 4
Description
I need to oci.apigateway.DeploymentClientCompositeOperations.delete_deployment_and_wait_for_state and oci.apigateway.GatewayClientCompositeOperations.delete_gateway_and_wait_for_state to delete deployments from API Gateway and the API Gateway itself.
Unfortunately in both classes error occurs in when querying for work request status, since within underlying clients the method get_work_request is not implemented.
You can find the instruction self.client.get_work_request(wait_for_resource_id) multiple times within oci.apigateway.DeploymentClientCompositeOperations and oci.apigateway.GatewayClientCompositeOperations classes.
Please implement method get_work_request in all API Gateway clients.
The SDK version I'm using is 2.137.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate oci.apigateway.DeploymentClientCompositeOperations and oci.apigateway.GatewayClientCompositeOperations, then inspect the underlying API Gateway client classes for the existing get_work_request calls. Verify how comparable clients expose work-request lookup and implement the method across all API Gateway clients. Done means both delete-and-wait operations can query work request status without raising a missing-method error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100