From d9a6db63d7a302ef2286174b762f310ec144e3dc Mon Sep 17 00:00:00 2001 From: Blallo Date: Sat, 29 Aug 2020 20:07:56 +0200 Subject: [PATCH] Add description --- src/phi/async_ldap/model.py | 4 ++++ 1 file changed, 4 insertions(+) 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__