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")
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")
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')
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')
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')