Esempio n. 1
0
 def get_locks(self, access_token):
     return _process_locks_json(
         self._dict_to_api(
             self._build_get_locks_request(access_token)).json())
Esempio n. 2
0
 async def async_get_locks(self, access_token):
     response = await self._async_dict_to_api(
         self._build_get_locks_request(access_token))
     return _process_locks_json(await response.json())