예제 #1
0
파일: repository.py 프로젝트: pkediyal/pyon
 def __init__(self, pools, representation=None):
     self._pool = pools
     if representation:
         self._representation = representation
     else:
         self._id_factory = SaltedTimeIDFactory()
         self._representation = IonSerializerDictionaryRepresentation(id_factory=self._id_factory)
예제 #2
0
 def setUp(self):
     self.subject = IonSerializerDictionaryRepresentation(id_factory=SaltedTimeIDFactory())