Yanis Guenane
fd554e9d75
vultr.py: query_resource_by_key Handle list and dict ( #43301 )
...
The Vultr API is inconsistent in the type of the value it returns
based on the resources. While most of the time it will be a dict, for
some resources it will be a list (/v1/user/list, /v1/block/list).
query_resource_by_key() fails if the return value isn't a dict (.items()
does not exist on list). This patch aims to support both list and dict.
2018-08-13 16:59:27 +02:00
..
2018-08-03 08:31:10 +10:00
2018-08-08 06:52:11 -07:00
2018-07-17 11:37:23 -07:00
2018-08-10 15:16:33 -04:00
2018-07-31 12:06:56 -07:00
2018-08-01 10:33:58 +05:30
2018-08-10 13:50:02 -07:00
2018-02-12 13:05:38 -05:00
2018-07-30 18:33:49 -04:00
2017-12-14 19:38:35 +01:00
2018-07-31 12:06:56 -07:00
2018-08-09 10:38:26 -07:00
2018-08-12 19:12:01 +02:00
2018-05-17 11:41:14 -04:00
2018-08-02 11:17:39 -04:00
2018-05-23 16:55:57 -07:00
2018-08-07 15:53:15 -07:00
2018-08-10 11:13:29 -05:00
2018-05-21 17:16:44 +02:00
2018-08-10 09:26:58 -04:00
2018-07-31 12:06:56 -07:00
2018-03-01 09:56:53 +05:30
2018-02-07 00:44:42 +01:00
2018-07-20 11:32:04 -04:00
2018-05-17 11:41:14 -04:00
2018-02-05 22:40:02 +01:00
2018-04-30 15:33:28 -05:00
2018-08-13 10:50:04 -04:00
2018-05-22 14:25:36 -07:00
2018-05-22 11:50:53 +02:00
2018-04-15 22:05:51 -04:00
2018-08-10 11:13:29 -05:00
2018-08-10 11:13:29 -05:00
2018-01-31 13:12:53 +00:00
2018-04-27 15:54:05 +05:30
2018-08-10 11:13:29 -05:00
2018-05-22 14:25:36 -07:00
2018-05-25 00:30:25 +02:00
2018-08-10 09:33:08 -07:00
2018-08-10 09:33:08 -07:00
2018-08-10 09:33:08 -07:00
2018-02-07 12:15:27 -06:00
2018-05-25 07:42:14 +02:00
2018-06-04 10:18:15 +02:00
2018-05-23 09:29:37 -07:00
2018-02-22 15:33:48 -05:00
2018-07-31 12:06:56 -07:00
2018-07-27 12:21:25 -04:00
2018-05-14 09:55:47 -05:00
2018-07-31 13:23:05 -04:00
2018-01-10 14:08:11 -08:00
2018-07-31 12:06:56 -07:00
2018-05-07 16:30:16 +05:30
2018-07-27 12:17:10 +05:30
2018-08-13 16:59:27 +02:00