Remove the natural key lookup dict and make each Page responsible instead

This commit is contained in:
Jeff Bradberry
2020-03-30 16:07:12 -04:00
parent 07ba521b8b
commit e92c8cfdcc
16 changed files with 61 additions and 51 deletions

View File

@@ -32,6 +32,7 @@ log = logging.getLogger(__name__)
class Inventory(HasCopy, HasCreate, HasInstanceGroups, HasVariables, base.Base):
dependencies = [Organization]
NATURAL_KEY = ('organization', 'name')
def print_ini(self):
"""Print an ini version of the inventory"""