(self, packs, force=False, skip_dependencies=False, **kwargs)
| 639 | class PackResourceManager(ResourceManager): |
| 640 | @add_auth_token_to_kwargs_from_env |
| 641 | def install(self, packs, force=False, skip_dependencies=False, **kwargs): |
| 642 | url = "/%s/install" % (self.resource.get_url_path_name()) |
| 643 | payload = { |
| 644 | "packs": packs, |
| 645 | "force": force, |
| 646 | "skip_dependencies": skip_dependencies, |
| 647 | } |
| 648 | response = self.client.post(url, payload, **kwargs) |
| 649 | if response.status_code != http_client.OK: |
| 650 | self.handle_error(response) |
| 651 | instance = AsyncRequest.deserialize(parse_api_response(response)) |
| 652 | return instance |
| 653 | |
| 654 | @add_auth_token_to_kwargs_from_env |
| 655 | def remove(self, packs, **kwargs): |
no test coverage detected