コード例 #1
0
 def set_options(self, **opt_dict):
     """  Pass a dictionary with options """
     if self.options is None:
         self.options = options_from_dictionary(**opt_dict)
     else:
         self.options.update(options_from_dictionary(**opt_dict))
コード例 #2
0
ファイル: validator.py プロジェクト: cherishing99/pysiral
 def set_options(self, **opt_dict):
     self._options = options_from_dictionary(**opt_dict)