exoscale / python-exoscale

Python bindings for the Exoscale APIs
https://exoscale.github.io/python-exoscale/
ISC License
14 stars 7 forks source link

Require zone for zonal resources list/get calls #5

Closed falzm closed 4 years ago

falzm commented 4 years ago

This change now requires a mandatory zone parameter for (get|list)_ calls to zone-local resources (i.e. Elastic IPs, Compute instances, Compute instance templates and Private Networks).

Due to a limitation in the API, the AntiAffinityGroup.instances property had to be removed.

falzm commented 4 years ago

Could a native English speaker (@alexanderjamesking @aarongroom) please proof-read the docstrings? I'm not sure about the following sentences:

zone (Zone): the zone to retrieve from
...
zone (Zone): the zone to list in
falzm commented 4 years ago

Thanks @brutasse and @alexanderjamesking!

falzm commented 4 years ago

[ch6028]