diff --git a/src/phi/async_ldap/model.py b/src/phi/async_ldap/model.py index 259cf53..428d2e9 100644 --- a/src/phi/async_ldap/model.py +++ b/src/phi/async_ldap/model.py @@ -22,6 +22,10 @@ alog.setLevel(logging.DEBUG) def get_class(obj): + """ + Return the input if input is a class, else tryes to get the class from the + `__class__` method. + """ if type(obj) is type: return obj return obj.__class__