26d721e parameters: relax type checks

Authored and Committed by stlaz 6 years ago
    parameters: relax type checks
    
    The type checks in ipalib.parameters were too strict. An object
    that inherits from a type should implement its public interface.
    This should allow us checking for types of objects whose class
    implementations are private to a module but they implement a certain
    public interface (which is typical for e.g. python-cryptography).
    
    https://pagure.io/freeipa/issue/7131
    
        
file modified
+8 -3