Skip to content

Commit

Permalink
Adding entity mixins classes (#954) (#955)
Browse files Browse the repository at this point in the history
Signed-off-by: Adarsh Dubey <[email protected]>
(cherry picked from commit fd48ffe)

Co-authored-by: Adarsh dubey <[email protected]>
  • Loading branch information
Satellite-QE and adarshdubey-star authored Jul 18, 2023
1 parent 4f0eedf commit 3280f3d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nailgun/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 3280f3d

Please sign in to comment.