@classmethod
    def object_session(cls, instance):

        return object_session(instance)
Return the :class:`.Session` to which an object belongs.
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/sqlalchemy/orm/session.py/_SessionClassMethods.object_session