db19ecc parameters: relax type checks

Authored and Committed by stlaz 2 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
    
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
    
        
file modified
+8 -3