(self, instance, **kwargs)
| 461 | class ActionAliasResourceManager(ResourceManager): |
| 462 | @add_auth_token_to_kwargs_from_env |
| 463 | def match(self, instance, **kwargs): |
| 464 | url = "/%s/match" % self.resource.get_url_path_name() |
| 465 | response = self.client.post(url, instance.serialize(), **kwargs) |
| 466 | if response.status_code != http_client.OK: |
| 467 | self.handle_error(response) |
| 468 | match = parse_api_response(response) |
| 469 | return ( |
| 470 | self.resource.deserialize(match["actionalias"]), |
| 471 | match["representation"], |
| 472 | ) |
| 473 | |
| 474 | |
| 475 | class ActionAliasExecutionManager(ResourceManager): |
nothing calls this directly
no test coverage detected