コード例 #1
0
ファイル: mongo_store.py プロジェクト: rohe/pysaml2-3
 def __init__(self, onts, attrc, database="", collection=""):
     MetaData.__init__(self, onts, attrc)
     self.mdb = MDB(database, collection)
     self.mdb.primary_key = "entity_id"
コード例 #2
0
 def __init__(self, onts, attrc, database="", collection=""):
     MetaData.__init__(self, onts, attrc)
     self.mdb = MDB(database, collection)
     self.mdb.primary_key = "entity_id"
コード例 #3
0
 def __init__(self, onts, attrc, collection="", sub_collection=""):
     MetaData.__init__(self, onts, attrc)
     self.mdb = MDB(collection, sub_collection)
     self.mdb.primary_key = "entity_id"
コード例 #4
0
 def __init__(self, onts, attrc, collection="", sub_collection=""):
     MetaData.__init__(self, onts, attrc)
     self.mdb = MDB(collection, sub_collection)
     self.mdb.primary_key = "entity_id"