(self, hosts=None, groups=None, loaded=False)
Create the inventory class with a list of hosts and groups common to all inventories
Create the inventory class with a list of hosts and groups common to all inventories
Create the inventory class with a list of hosts and groups common to all inventories
def __init__(self, hosts=None, groups=None, loaded=False):

        """
        Create the inventory class with a list of hosts and groups common to all inventories
        """

        if hosts is None:
            hosts = dict()
        if groups is None:
            groups = dict()

        self._hosts = hosts
        self._groups = groups

        self._loaded = loaded
def __init__ ( self , hosts = None , groups = None , loaded = False ) : if hosts is None : hosts = dict ( ) if groups is None : groups = dict ( ) self . _hosts = hosts self . _groups = groups self . _loaded = loaded