From 2fa15717f4bc017445d236f1704cc000dc8a3e5d Mon Sep 17 00:00:00 2001 From: Adarsh dubey Date: Tue, 11 Jul 2023 15:52:31 +0530 Subject: [PATCH] Adding entity mixins classes (#954) Signed-off-by: Adarsh Dubey (cherry picked from commit fd48ffefb8a34da28150cc43d2486b7bc38cebc4) --- nailgun/entities.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nailgun/entities.py b/nailgun/entities.py index 04443a98..761e53da 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -8361,7 +8361,14 @@ def sync(self, synchronous=True, timeout=None, **kwargs): return _handle_response(response, self._server_config, synchronous, timeout) -class AnsibleRoles(Entity): +class AnsibleRoles( + Entity, + EntityCreateMixin, + EntityDeleteMixin, + EntityReadMixin, + EntitySearchMixin, + EntityUpdateMixin, +): """A representation of Ansible Roles entity.""" def __init__(self, server_config=None, **kwargs):