Exemplo n.º 1
0
 def _post(self, path, *params):
     """Sends the command using http POST method."""
     return utils.return_value_if_exists(
         utils.get_root_parent(self).conn.post(
             ("element/%s/" % self.id) + path, *params))
Exemplo n.º 2
0
 def _post(self, path, *params):
     return utils.return_value_if_exists(
         self._get_root_parent()._conn.post(("element/%s/" % self.id) + path, *params))
Exemplo n.º 3
0
 def _post(self, path, *params):
     return utils.return_value_if_exists(
         self._conn.post(path, *params))