From 33b6da445605bd644f7c50a966f991a9b55a1ffc Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Mon, 12 Apr 2021 16:06:40 -0400 Subject: [PATCH] Remove filter_by_class where it was not working --- awxkit/awxkit/api/pages/inventory.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/awxkit/awxkit/api/pages/inventory.py b/awxkit/awxkit/api/pages/inventory.py index 7fcc4b4255..b47be84372 100644 --- a/awxkit/awxkit/api/pages/inventory.py +++ b/awxkit/awxkit/api/pages/inventory.py @@ -158,9 +158,6 @@ class Group(HasCreate, HasVariables, base.Base): return payload def create_payload(self, name='', description='', inventory=Inventory, credential=None, **kwargs): - credential = filter_by_class( - (credential, Credential), - ) self.create_and_update_dependencies(inventory, credential) credential = self.ds.credential if credential else None payload = self.payload(inventory=self.ds.inventory, credential=credential, name=name, description=description, **kwargs)