ansible_dynamic_inventory/dynamic_inv_class.py
def chk_vars(self, my_vars: dict):
        """ checks vasrs and returns shallow copy """
        if my_vars:
            if isinstance(my_vars, dict):
                return my_vars.copy()
            else:
                raise TypeError(f"my_vars, not dict type, {type(my_vars)}")
        return {"ansible_connection": "network_cli"}
 checks vasrs and returns shallow copy 
checks vasrs and returns shallow copy
checks vasrs and returns shallow copy
def chk_vars(self, my_vars: dict):
        if my_vars:
            if isinstance(my_vars, dict):
                return my_vars.copy()
            else:
                raise TypeError(f"my_vars, not dict type, {type(my_vars)}")
        return {"ansible_connection": "network_cli"}
def chk_vars ( self , my_vars : dict ) : if my_vars : if isinstance ( my_vars , dict ) : return my_vars . copy ( ) else : raise TypeError ( f"my_vars, not dict type, {type(my_vars)}" ) return { "ansible_connection" : "network_cli" }
checks vasrs and returns shallow copy
checks vasrs and returns shallow copy
""" checks vasrs and returns shallow copy """
self
my_vars
dict