37 func.robot_not_keyword =
True
41 not_keyword.robot_not_keyword =
True
86 def keyword(name=None, tags=(), types=()):
87 if inspect.isroutine(name):
91 func.robot_name = name
92 func.robot_tags = tags
93 func.robot_types = types
136 def library(scope=None, version=None, converters=None, doc_format=None, listener=None,
137 auto_keywords=False):
138 if inspect.isclass(scope):
142 if scope
is not None:
143 cls.ROBOT_LIBRARY_SCOPE = scope
144 if version
is not None:
145 cls.ROBOT_LIBRARY_VERSION = version
146 if converters
is not None:
147 cls.ROBOT_LIBRARY_CONVERTERS = converters
148 if doc_format
is not None:
149 cls.ROBOT_LIBRARY_DOC_FORMAT = doc_format
150 if listener
is not None:
151 cls.ROBOT_LIBRARY_LISTENER = listener
152 cls.ROBOT_AUTO_KEYWORDS = auto_keywords
def library(scope=None, version=None, converters=None, doc_format=None, listener=None, auto_keywords=False)
Class decorator to control keyword discovery and other library settings.
def keyword(name=None, tags=(), types=())
Decorator to set custom name, tags and argument types to keywords.
def not_keyword(func)
Decorator to disable exposing functions or methods as keywords.