コード例 #1
0
ファイル: meta.py プロジェクト: bhargavkumar-65/arjuna
 def __init__(self, mdict=None):
     from arjuna import log_debug
     log_debug("Input Meta Dict for Meta creation: {}".format(
         repr_dict(mdict)))
     temp_dict = not mdict and CIStringDict() or CIStringDict(mdict)
     self.__mdict = CIStringDict()
     self.__process_type(temp_dict)
     self.__process_relations(temp_dict)
     self.__process_filters(temp_dict)
     self.__process_settings(temp_dict)
     self.__mdict.update({
         k: v
         for k, v in temp_dict.items()
         if k.lower() not in {"type", "relations", "settings", "filters"}
     })
     log_debug("Meta dictionary is: {}".format(repr_dict(self.__mdict)))
コード例 #2
0
ファイル: meta.py プロジェクト: StefanIGit/arjuna
 def __init__(self, mdict=None):
     from arjuna import log_debug
     temp_dict = not mdict and CIStringDict() or CIStringDict(mdict)
     self.__mdict = CIStringDict()
     self.__process_type(temp_dict)
     self.__process_relations(temp_dict)
     self.__process_filters(temp_dict)
     self.__process_settings(temp_dict)
     log_debug("Meta dictionary is: {}".format(repr_dict(self.__mdict)))
コード例 #3
0
ファイル: meta.py プロジェクト: rahul-verma/arjuna
 def __str__(self):
     return repr_dict(self.__settings)
コード例 #4
0
ファイル: meta.py プロジェクト: rahul-verma/arjuna
 def __str__(self):
     return repr_dict(self.__mdict)
コード例 #5
0
ファイル: _with.py プロジェクト: rbandaru/arjuna
 def __str__(self):
     return repr_dict(vars(self), replace_value_enum=True)
コード例 #6
0
ファイル: wmd.py プロジェクト: rbandaru/arjuna
 def __str__(self):
     return repr_dict({
         "locators": [str(l) for l in self.__locators],
         "meta": str(self.__meta)
     })