/openbmc/openbmc-test-automation/lib/ |
H A D | gen_robot_valid.py | 55 kwargs = fa.args_to_objects(kwargs) 132 var_value, args, kwargs = valid_init(var_name, *args, **kwargs) 140 var_value, args, kwargs = valid_init(var_name, *args, **kwargs) 148 var_value, args, kwargs = valid_init(var_name, *args, **kwargs) 156 var_value, args, kwargs = valid_init(var_name, *args, **kwargs) 164 var_value, args, kwargs = valid_init(var_name, *args, **kwargs) 172 var_value, args, kwargs = valid_init(var_name, *args, **kwargs) 180 var_value, args, kwargs = valid_init(var_name, *args, **kwargs) 188 var_value, args, kwargs = valid_init(var_name, *args, **kwargs) 196 var_value, args, kwargs = valid_init(var_name, *args, **kwargs) [all …]
|
H A D | redfish_plus.py | 117 kwargs = fa.args_to_objects(kwargs) 128 def get(self, *args, **kwargs): argument 136 def head(self, *args, **kwargs): argument 144 def post(self, *args, **kwargs): argument 152 def put(self, *args, **kwargs): argument 160 def patch(self, *args, **kwargs): argument 168 def delete(self, *args, **kwargs): argument 196 body = kwargs.pop("body", {}) 211 body = kwargs.pop("body", {}) 239 body = kwargs.pop("body", {}) [all …]
|
H A D | rest_client.robot | 40 # set kwargs as follows: 49 ... base_uri=${base_uri} args=&{kwargs} 67 # set kwargs as follows: 92 # set kwargs as follows: 116 # set kwargs as follows: 224 [Arguments] &{kwargs} 226 ... , method: ${kwargs["method"]} , args: ${kwargs["args"]} 298 ... timeout=${timeout} &{kwargs} 389 # set kwargs as follows: 418 # set kwargs as follows: [all …]
|
H A D | bmc_redfish.py | 29 def __init__(self, *args, **kwargs): argument 62 def login(self, *args, **kwargs): argument 82 username, args, kwargs = fa.pop_arg(openbmc_username, *args, **kwargs) 83 password, args, kwargs = fa.pop_arg(openbmc_password, *args, **kwargs) 84 auth, args, kwargs = fa.pop_arg("session", *args, **kwargs) 88 username, password, auth, *args, **kwargs 100 username, password, auth, *args, **kwargs 111 username, password, auth, *args, **kwargs 126 def get_properties(self, *args, **kwargs): argument 153 resp = self.get(*args, **kwargs) [all …]
|
H A D | gen_robot_print.py | 17 def sprint_vars(*args, **kwargs): argument 30 if "fmt" in kwargs: 37 kwargs["fmt"] = re.sub(regex, "gp.\\1()", kwargs["fmt"]) 38 kwargs = fa.args_to_objects(kwargs) 42 buffer += gp.sprint_varx(var_name, var_value, **kwargs)
|
H A D | gen_plug_in_utils.py | 180 def sprint_plug_vars(headers=1, **kwargs): argument 196 plug_var_dict = return_plug_vars(**kwargs) 225 def get_plug_vars(mod_name="__main__", **kwargs): argument 244 plug_var_dict = return_plug_vars(**kwargs) 470 var_name = next(iter(kwargs)) 471 var_value = kwargs[var_name] 482 def restore_plug_in_value(*args, **kwargs): argument 519 var_name, args, kwargs = fa.pop_arg("", *args, **kwargs) 520 default, args, kwargs = fa.pop_arg("", *args, **kwargs) 521 plug_in_package_name, args, kwargs = fa.pop_arg(None, *args, **kwargs) [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | tables.py | 34 def __init__(self, *args, **kwargs): argument 39 def get_context_data(self, **kwargs): argument 47 def setup_filters(self, *args, **kwargs): argument 189 def __init__(self, *args, **kwargs): argument 195 def get_context_data(self, **kwargs): argument 277 def __init__(self, *args, **kwargs): argument 316 def __init__(self, *args, **kwargs): argument 435 def __init__(self, *args, **kwargs): argument 564 project=kwargs['pid']) 799 kwargs['recipe_id'] = kwargs['custrecipeid'] [all …]
|
H A D | buildtables.py | 19 def get_context_data(self, **kwargs): argument 29 def __init__(self, *args, **kwargs): argument 34 def setup_queryset(self, *args, **kwargs): argument 41 def setup_columns(self, *args, **kwargs): argument 134 def __init__(self, *args, **kwargs): argument 164 def __init__(self, *args, **kwargs): argument 176 def get_context_data(self, **kwargs): argument 234 def __init__(self, *args, **kwargs): argument 376 def __init__(self, *args, **kwargs): argument 553 def __init__(self, *args, **kwargs): argument [all …]
|
H A D | widgets.py | 51 def __init__(self, *args, **kwargs): argument 53 if 'template_name' in kwargs: 70 def dispatch(self, *args, **kwargs): argument 73 def get_context_data(self, **kwargs): argument 89 def get(self, request, *args, **kwargs): argument 94 if 'pid' in kwargs: 109 self.setup_filters(**kwargs) 218 self.setup_filters(**kwargs) 293 for key, val in kwargs.items(): 308 self.setup_columns(**kwargs) [all …]
|
H A D | api.py | 51 def get(self, request, *args, **kwargs): argument 76 def post(self, request, *args, **kwargs): argument 142 def get(self, request, *args, **kwargs): argument 145 def post(self, request, *args, **kwargs): argument 185 def get(self, request, *args, **kwargs): argument 271 def get(self, request, *args, **kwargs): argument 340 project=kwargs['pid'], 491 project=kwargs['pid'], 826 kwargs['recipe_id']) 831 if not kwargs['package_id']: [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | __init__.py | 46 def __init__(self, *args, **kwargs): argument 54 def _debug_helper(self, *args, **kwargs): argument 57 def debug2(self, *args, **kwargs): argument 60 def debug3(self, *args, **kwargs): argument 76 def plain(self, msg, *args, **kwargs): argument 79 def verbose(self, msg, *args, **kwargs): argument 139 def process(self, msg, kwargs): argument 181 def error(*args, **kwargs): argument 187 def fatal(*args, **kwargs): argument 202 def newFunc(*args, **kwargs): argument [all …]
|
/openbmc/sdbusplus/tools/sdbusplus/ |
H A D | event.py | 12 def __init__(self, **kwargs): argument 13 self.primary = kwargs.pop("primary", False) 14 super(EventMetadata, self).__init__(**kwargs) 18 def __init__(self, **kwargs): argument 21 self.message = kwargs.pop("message") 26 def __init__(self, **kwargs): argument 27 self.is_error = kwargs.pop("is_error", False) 29 self.errno = kwargs.pop("errno", "EIO") 115 def __init__(self, **kwargs): argument 116 self.version = kwargs.pop("version") [all …]
|
H A D | path.py | 10 def __init__(self, segment=False, **kwargs): argument 11 if "namespace" in kwargs: 12 kwargs["name"] = "NamespacePath" 13 self.value = kwargs.pop("namespace") 14 elif "instance" in kwargs: 15 kwargs["name"] = "InstancePath" 16 self.value = kwargs.pop("instance") 18 self.value = kwargs.pop("value", "") 23 self.value = NamedElement(name=kwargs["name"]).snake_case 44 Path(segment=True, **s) for s in kwargs.pop("segments", []) [all …]
|
H A D | servicename.py | 11 def __init__(self, **kwargs): argument 12 if "default" in kwargs: 13 kwargs["name"] = "DefaultService" 14 self.value = kwargs.pop("default") 16 self.value = kwargs.pop("value", False) 37 super(ServiceName, self).__init__(**kwargs)
|
H A D | error.py | 10 def __init__(self, **kwargs): argument 11 super(ErrorElement, self).__init__(**kwargs) 12 self.errno = kwargs.pop("errno", False) 28 def __init__(self, **kwargs): argument 29 self.errors = [ErrorElement(**n) for n in kwargs.pop("errors", [])] 31 super(Error, self).__init__(**kwargs)
|
H A D | interface.py | 28 def __init__(self, **kwargs): argument 29 self.properties = [Property(**p) for p in kwargs.pop("properties", [])] 30 self.methods = [Method(**m) for m in kwargs.pop("methods", [])] 31 self.signals = [Signal(**s) for s in kwargs.pop("signals", [])] 32 self.enums = [Enum(**e) for e in kwargs.pop("enumerations", [])] 33 self.paths = [Path(**p) for p in kwargs.pop("paths", [])] 35 ServiceName(**s) for s in kwargs.pop("service_names", []) 38 super(Interface, self).__init__(**kwargs)
|
H A D | renderer.py | 2 def __init__(self, **kwargs): argument 5 def render(self, loader, template, **kwargs): argument 7 post = kwargs.pop("post", lambda result: result) 8 r = t.render(loader=loader, **kwargs)
|
/openbmc/u-boot/tools/patman/ |
H A D | command.py | 74 kwargs['stdout'] = None 75 kwargs['stderr'] = None 79 kwargs['stdin'] = last_pipe.stdout 81 kwargs['stdin'] = open(infile, 'rb') 83 kwargs['stdout'] = cros_subprocess.PIPE 85 kwargs['stdout'] = open(outfile, 'wb') 110 def Output(*cmd, **kwargs): argument 114 def OutputOneLine(*cmd, **kwargs): argument 118 **kwargs).stdout.strip()) 120 def Run(*cmd, **kwargs): argument [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/utils/ |
H A D | concurrencytest.py | 93 return method(test, *args, **kwargs) 103 def addSuccess(self, test, **kwargs): argument 120 if "details" in kwargs and "extraresults" in kwargs["details"]: 122 kwargs = kwargs.copy() 123 kwargs["details"] = kwargs["details"].copy() 130 return method(test, *args, **kwargs) 136 kwargs = kwargs.copy() 137 if "details" not in kwargs: 138 kwargs["details"] = {} 140 kwargs["details"] = kwargs["details"].copy() [all …]
|
/openbmc/openbmc/poky/scripts/lib/ |
H A D | argparse_oe.py | 19 def __init__(self, *args, **kwargs): argument 20 kwargs.setdefault('formatter_class', OeHelpFormatter) 22 super(ArgumentParser, self).__init__(*args, **kwargs) 48 def add_subparsers(self, *args, **kwargs): argument 49 if 'dest' not in kwargs: 50 kwargs['dest'] = '_subparser_name' 98 def __init__(self, *args, **kwargs): argument 99 if 'group' in kwargs: 100 self._group = kwargs.pop('group') 101 if 'order' in kwargs: [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bs4/ |
H A D | __init__.py | 84 **kwargs): argument 89 if 'convertEntities' in kwargs: 95 if 'markupMassage' in kwargs: 96 del kwargs['markupMassage'] 102 if 'smartQuotesTo' in kwargs: 116 if 'isHTML' in kwargs: 117 del kwargs['isHTML'] 125 if old_name in kwargs: 130 del kwargs[old_name] 140 if len(kwargs) > 0: [all …]
|
H A D | element.py | 412 **kwargs): argument 443 **kwargs): argument 447 **kwargs) 509 text = kwargs['string'] 510 del kwargs['string'] 1233 **kwargs): argument 1542 if 'class_' in kwargs: 1545 kwargs['class'] = kwargs['class_'] 1546 del kwargs['class_'] 1548 if kwargs: [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/decorator/ |
H A D | __init__.py | 20 def __init__(self, *args, **kwargs): argument 25 if attr in kwargs: 26 value = kwargs[attr] 33 def wrapped_f(*args, **kwargs): argument 35 return func(*args, **kwargs)
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastermain/ |
H A D | logs.py | 29 def log_view_request(*args, **kwargs): argument 38 request = kwargs.get('request') 40 response = view(*args, **kwargs) 70 def finalize_response(self, request, response, *args, **kwargs): argument 72 return super().finalize_response(request, response, *args, **kwargs)
|
/openbmc/openbmc/poky/bitbake/lib/bb/compress/ |
H A D | zstd.py | 11 def open(*args, **kwargs): argument 12 return bb.compress._pipecompress.open_wrap(ZstdFile, *args, **kwargs) 16 def __init__(self, *args, num_threads=1, compresslevel=3, **kwargs): argument 19 super().__init__(*args, **kwargs)
|