Files
freeipa/ipalib
Stanislav Laznicka 5ff1de8490 parameters: relax type checks
Previously, the type check of the Param class did only allow
the parameters to only have a value that's of a direct type.
However, that's nonsensically restrictive. For example, if
there's an interface implemented as an `ABCMeta` class then
the check for type fails since the interface's type is
`ABCMeta` instead of directly a `type`. Among others,
this is the case for cryptography.x509.Certificate.

Being a type is a transitive property of a Python object and we
should respect that in our framework.

https://pagure.io/freeipa/issue/4985

Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2017-07-27 10:28:58 +02:00
..
2016-09-27 13:35:58 +02:00
2015-09-01 11:42:01 +02:00
2016-11-24 15:46:40 +01:00
2017-02-17 10:22:07 +01:00
2017-07-27 10:28:58 +02:00
2016-10-20 18:43:37 +02:00
2016-11-25 16:18:22 +01:00