def get_method_function(func):
    return getattr(func, method_function_attr, func)

#=============================================================================
# input/output
#=============================================================================
Define a relationship between `subj` and `obj` of type `rel_type`.
dataset/ETHPy150Open twisted/ldaptor/ldaptor/compat.py/get_method_function--crossover with--dataset/ETHPy150Open nigelsmall/py2neo/py2neo/ext/ogm/store.py/Store.relate