aliyun / aliyun/aliyun-openapi-python-sdk
Cant set "Name" of Eip address via API
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 578
- PR merge metrics
- No merged PRs in 30d
Description
- Python Version: Python 3.7.7
- aliyunsdkcore Version: 2.13.28
- API: AllocateEipAddressRequest and ModifyEipAddressAttributeRequest
It seems its not possible to set a name for Eip.
It is ignored.
Additionally, although it is documented, the SDK does't support the "Name" field and i used add_query_params function as such:
request = AllocateEipAddressRequest()
request.set_Bandwidth('200')
request.set_InternetChargeType('PayByTraffic')
request.set_ISP('BGP')
request.add_query_param('Name', name)
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
Start with the AllocateEipAddressRequest and ModifyEipAddressAttributeRequest entry points named in the report, and inspect how their request parameters are defined and serialized. Verify the documented Name field is accepted and transmitted for the relevant API calls, then run the existing SDK tests or add focused coverage for both requests.
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
- Mostly clear
- Newbie friendliness
- 35/100