MCPcopy Create free account
hub / github.com/THUDM/AutoWebGLM / set_args

Method set_args

miniwob++/html_tools/html_parser.py:88–101  ·  view source on GitHub ↗
(self, use_position: bool=False, window_size: tuple=(), rect_dict: dict[str]={}, label_attr: str='', 
                 id_attr: str='', keep_attrs: list[str]=[], keep_elem: list[str]=[], obs_elem: list[str]=[], 
                 parent_chain: bool=False, get_new_label: bool=False)

Source from the content-addressed store, hash-verified

86 self.identifier = IdentifierTool(label_method, self.used_labels)
87
88 def set_args(self, use_position: bool=False, window_size: tuple=(), rect_dict: dict[str]={}, label_attr: str='',
89 id_attr: str='', keep_attrs: list[str]=[], keep_elem: list[str]=[], obs_elem: list[str]=[],
90 parent_chain: bool=False, get_new_label: bool=False) -> None:
91
92 self.use_position = use_position
93 self.window_size = window_size
94 self.rect = rect_dict
95 self.label_attr = label_attr
96 self.id_attr = id_attr
97 self.keep_attrs = keep_attrs
98 self.keep = keep_elem
99 self.obs = obs_elem
100 self.parent_chain = parent_chain
101 self.get_new_label = get_new_label
102
103 def get_config(self):
104 config = {

Callers 1

parse_argsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected