cherryext/orun/session.py

8 lines
133 B
Python

class Session(dict):
def add_object(self, obj):
self['js_' + id(obj)] = obj
def create_session():
return Session()