示例#1
0
文件: sessions.py 项目: esho/spire
    def __init__(self, prefix='HTTP_X_SPIRE_'):
        self.prefix = prefix
        self.prefix_length = len(prefix)

        store = self.configuration['store']
        self.store = store['implementation'](session_class=Session,
            **pruned(store, 'implementation'))
示例#2
0
    def __init__(self, prefix='HTTP_X_SPIRE_'):
        self.prefix = prefix
        self.prefix_length = len(prefix)

        store = self.configuration['store']
        self.store = store['implementation'](session_class=Session,
                                             **pruned(store, 'implementation'))
示例#3
0
文件: sessions.py 项目: esho/spire
 def __init__(self):
     store = self.configuration['store']
     self.store = store['implementation'](session_class=Session,
         **pruned(store, 'implementation'))
示例#4
0
 def __init__(self, store):
     self.store = store['implementation'](session_class=Session,
         **pruned(store, 'implementation'))
示例#5
0
文件: sessions.py 项目: siq/spire
    def __init__(self, prefix="HTTP_X_SPIRE_"):
        self.prefix = prefix
        self.prefix_length = len(prefix)

        store = self.configuration["store"]
        self.store = store["implementation"](session_class=Session, **pruned(store, "implementation"))
示例#6
0
文件: sessions.py 项目: siq/spire
 def __init__(self):
     store = self.configuration["store"]
     self.store = store["implementation"](session_class=Session, **pruned(store, "implementation"))
示例#7
0
 def __init__(self):
     store = self.configuration['store']
     self.store = store['implementation'](session_class=Session,
                                          **pruned(store, 'implementation'))
示例#8
0
 def __init__(self, store):
     self.store = store['implementation'](session_class=Session,
                                          **pruned(store, 'implementation'))