def _inherit_docstrings(cls):
 for (name, method) in cls.__dict__.items():
  if (name.startswith('_') or (not callable(method))):
   continue
  upstream_method = getattr(Authenticator, name, None)
  if (not method.__doc__):
   method.__doc__ = upstream_method.__doc__
 return cls

def _inherit_docstrings ( cls ) : for ( name , method ) in cls . __dict__ . items ( ) : if ( name . startswith ( '_' ) or ( not callable ( method ) ) ) : continue upstream_method = getattr ( Authenticator , name , None ) if ( not method . __doc__ ) : method . __doc__ = upstream_method . __doc__ return cls
inherit docstrings from authenticator .