本文整理汇总了Python中pyasm.common.Container.get_full_dict方法的典型用法代码示例。如果您正苦于以下问题:Python Container.get_full_dict方法的具体用法?Python Container.get_full_dict怎么用?Python Container.get_full_dict使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pyasm.common.Container
的用法示例。
在下文中一共展示了Container.get_full_dict方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: init
# 需要导入模块: from pyasm.common import Container [as 别名]
# 或者: from pyasm.common.Container import get_full_dict [as 别名]
def init(my):
my.view = my.kwargs.get('view')
my.search_type = my.kwargs.get('search_type')
my.load_options_class = my.kwargs.get('load_options_class')
my.load_script = my.kwargs.get('load_script')
my.load_script_path = my.kwargs.get('load_script_path')
my.state = Container.get_full_dict("global_state")
示例2: init
# 需要导入模块: from pyasm.common import Container [as 别名]
# 或者: from pyasm.common.Container import get_full_dict [as 别名]
def init(self):
self.view = self.kwargs.get('view')
self.search_type = self.kwargs.get('search_type')
self.load_options_class = self.kwargs.get('load_options_class')
self.load_script = self.kwargs.get('load_script')
self.load_script_path = self.kwargs.get('load_script_path')
self.state = Container.get_full_dict("global_state")
示例3: init
# 需要导入模块: from pyasm.common import Container [as 别名]
# 或者: from pyasm.common.Container import get_full_dict [as 别名]
def init(my):
my.view = my.kwargs.get('view')
my.simple_search_view = my.kwargs.get('simple_search_view')
my.search_type = my.kwargs.get('search_type')
my.asset_search_type = my.kwargs.get('asset_search_type')
if not my.asset_search_type:
my.asset_search_type = 'prod/asset'
my.instance_search_type = my.kwargs.get('instance_search_type')
if not my.instance_search_type:
my.instance_search_type = 'prod/shot_instance'
#my.load_script = my.kwargs.get('load_script')
#my.load_script_path = my.kwargs.get('load_script_path')
my.is_refresh = my.kwargs.get('is_refresh')=='true'
my.state = Container.get_full_dict("global_state")
my.process = my.state.get("process")
values = FilterData.get().get_values_by_index('shot_filter', 0)
my.shot_code = values.get('shot_code')
示例4: init
# 需要导入模块: from pyasm.common import Container [as 别名]
# 或者: from pyasm.common.Container import get_full_dict [as 别名]
def init(self):
self.view = self.kwargs.get('view')
self.simple_search_view = self.kwargs.get('simple_search_view')
self.search_type = self.kwargs.get('search_type')
self.asset_search_type = self.kwargs.get('asset_search_type')
if not self.asset_search_type:
self.asset_search_type = 'prod/asset'
self.instance_search_type = self.kwargs.get('instance_search_type')
if not self.instance_search_type:
self.instance_search_type = 'prod/shot_instance'
#self.load_script = self.kwargs.get('load_script')
#self.load_script_path = self.kwargs.get('load_script_path')
self.is_refresh = self.kwargs.get('is_refresh')=='true'
self.state = Container.get_full_dict("global_state")
self.process = self.state.get("process")
values = FilterData.get().get_values_by_index('shot_filter', 0)
self.shot_code = values.get('shot_code')