Example #1
0
 def __getitem__(self, key):
     """First check for key in my configuration; then check in Session configuration"""
     try:
         return Configuration.__getitem__(self, key)
     except KeyError:
         return SessionConfiguration().get_dataset_from_pool(key)
Example #2
0
 def __getitem__(self, key):
     """First check for key in my configuration; then check in Session configuration"""
     try:
         return Configuration.__getitem__(self, key)
     except KeyError:
         return SessionConfiguration().get_dataset_from_pool(key)