58 deprecation_warning=True, dry_run=False):
59 if deprecation_warning:
61 "The API to register run keyword variants and to disable variable "
62 "resolving in keyword arguments will change in the future. "
63 "For more information see "
64 "https://github.com/robotframework/robotframework/issues/2190. "
65 "Use with `deprecation_warning=False` to avoid this warning.",
68 if libname
not in self.
_libs_libs:
69 self.
_libs_libs[libname] = NormalizedDict(ignore=[
'_'])
70 self.
_libs_libs[libname][keyword] = (int(args_to_process), dry_run)
73 if libname
in self.
_libs_libs
and kwname
in self.
_libs_libs[libname]:
74 return self.
_libs_libs[libname][kwname][0]
78 if libname
in self.
_libs_libs
and kwname
in self.
_libs_libs[libname]:
79 return self.
_libs_libs[libname][kwname][1]
def get_dry_run(self, libname, kwname)
def register_run_keyword(self, libname, keyword, args_to_process, deprecation_warning=True, dry_run=False)
Deprecated API for registering "run keyword variants".
def get_args_to_process(self, libname, kwname)
def is_run_keyword(self, libname, kwname)