当前位置: 首页>>代码示例>>Python>>正文


Python Container.get_full_dict方法代码示例

本文整理汇总了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")
开发者ID:0-T-0,项目名称:TACTIC,代码行数:10,代码来源:loader_wdg.py

示例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")
开发者ID:mincau,项目名称:TACTIC,代码行数:10,代码来源:loader_wdg.py

示例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')
开发者ID:0-T-0,项目名称:TACTIC,代码行数:21,代码来源:app_panel_wdg.py

示例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')
开发者ID:mincau,项目名称:TACTIC,代码行数:21,代码来源:app_panel_wdg.py


注:本文中的pyasm.common.Container.get_full_dict方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。