robot.running.arguments package¶
Submodules¶
robot.running.arguments.argumentconverter module¶
robot.running.arguments.argumentmapper module¶
robot.running.arguments.argumentparser module¶
-
class
robot.running.arguments.argumentparser.PythonArgumentParser(type='Keyword', error_reporter=None)[source]¶ Bases:
robot.running.arguments.argumentparser._ArgumentParser
robot.running.arguments.argumentresolver module¶
-
class
robot.running.arguments.argumentresolver.ArgumentResolver(argspec, resolve_named=True, resolve_variables_until=None, dict_to_kwargs=False)[source]¶ Bases:
object
-
class
robot.running.arguments.argumentresolver.NamedArgumentResolver(argspec)[source]¶ Bases:
object
robot.running.arguments.argumentspec module¶
-
class
robot.running.arguments.argumentspec.ArgumentSpec(name=None, type='Keyword', positional_only=None, positional_or_named=None, var_positional=None, named_only=None, var_named=None, defaults=None, types=None)[source]¶ Bases:
object-
types¶
-
positional¶
-
minargs¶
-
maxargs¶
-
argument_names¶
-
-
class
robot.running.arguments.argumentspec.ArgInfo(kind, name='', types=<object object>, default=<object object>)[source]¶ Bases:
object-
NOTSET= <object object>¶
-
POSITIONAL_ONLY= 'POSITIONAL_ONLY'¶
-
POSITIONAL_ONLY_MARKER= 'POSITIONAL_ONLY_MARKER'¶
-
POSITIONAL_OR_NAMED= 'POSITIONAL_OR_NAMED'¶
-
VAR_POSITIONAL= 'VAR_POSITIONAL'¶
-
NAMED_ONLY_MARKER= 'NAMED_ONLY_MARKER'¶
-
NAMED_ONLY= 'NAMED_ONLY'¶
-
VAR_NAMED= 'VAR_NAMED'¶
-
types¶
-
required¶
-
types_reprs¶
-
default_repr¶
-
robot.running.arguments.argumentvalidator module¶
robot.running.arguments.customconverters module¶
robot.running.arguments.embedded module¶
robot.running.arguments.typeconverters module¶
-
class
robot.running.arguments.typeconverters.TypeConverter(used_type, custom_converters=None)[source]¶ Bases:
object-
type= None¶
-
type_name= None¶
-
abc= None¶
-
aliases= ()¶
-
value_types= (<class 'str'>,)¶
-
doc= None¶
-
-
class
robot.running.arguments.typeconverters.EnumConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
enum.Enum
-
type_name¶
-
value_types¶ Built-in immutable sequence.
If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable’s items.
If the argument is a tuple, the return value is the same object.
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.StringConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
builtins.str
-
type_name= 'string'¶
-
aliases= ('string', 'str', 'unicode')¶
-
value_types= (typing.Any,)¶
-
abc= None¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.BooleanConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
builtins.bool
-
type_name= 'boolean'¶
-
aliases= ('bool',)¶
-
value_types= (<class 'str'>, <class 'int'>, <class 'float'>, <class 'NoneType'>)¶
-
abc= None¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.IntegerConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
builtins.int
-
abc¶ alias of
numbers.Integral
-
type_name= 'integer'¶
-
aliases= ('int', 'long')¶
-
value_types= (<class 'str'>, <class 'float'>)¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.FloatConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
builtins.float
-
abc¶ alias of
numbers.Real
-
type_name= 'float'¶
-
aliases= ('double',)¶
-
value_types= (<class 'str'>, <class 'numbers.Real'>)¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.DecimalConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
decimal.Decimal
-
type_name= 'decimal'¶
-
value_types= (<class 'str'>, <class 'int'>, <class 'float'>)¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.BytesConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
builtins.bytes
-
abc¶ alias of
collections.abc.ByteString
-
type_name= 'bytes'¶
-
value_types= (<class 'str'>, <class 'bytearray'>)¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.ByteArrayConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
builtins.bytearray
-
type_name= 'bytearray'¶
-
value_types= (<class 'str'>, <class 'bytes'>)¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.DateTimeConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
datetime.datetime
-
type_name= 'datetime'¶
-
value_types= (<class 'str'>, <class 'int'>, <class 'float'>)¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.DateConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
datetime.date
-
type_name= 'date'¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
value_types= (<class 'str'>,)¶
-
-
class
robot.running.arguments.typeconverters.TimeDeltaConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
datetime.timedelta
-
type_name= 'timedelta'¶
-
value_types= (<class 'str'>, <class 'int'>, <class 'float'>)¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.NoneConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
builtins.NoneType
-
type_name= 'None'¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
value_types= (<class 'str'>,)¶
-
-
class
robot.running.arguments.typeconverters.ListConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
builtins.list
-
type_name= 'list'¶
-
abc¶ alias of
collections.abc.Sequence
-
value_types= (<class 'str'>, <class 'collections.abc.Sequence'>)¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.TupleConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
builtins.tuple
-
type_name= 'tuple'¶
-
value_types= (<class 'str'>, <class 'collections.abc.Sequence'>)¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.DictionaryConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
builtins.dict
-
abc¶ alias of
collections.abc.Mapping
-
type_name= 'dictionary'¶
-
aliases= ('dict', 'map')¶
-
value_types= (<class 'str'>, <class 'collections.abc.Mapping'>)¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.SetConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
builtins.set
-
abc¶ alias of
collections.abc.Set
-
type_name= 'set'¶
-
value_types= (<class 'str'>, <class 'collections.abc.Container'>)¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.FrozenSetConverter(used_type, custom_converters=None)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
builtins.frozenset
-
type_name= 'frozenset'¶
-
value_types= (<class 'str'>, <class 'collections.abc.Container'>)¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.CombinedConverter(union, custom_converters)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type= typing.Union¶
-
type_name¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
doc= None¶
-
classmethod
register(converter)¶
-
value_types= (<class 'str'>,)¶
-
-
class
robot.running.arguments.typeconverters.CustomConverter(used_type, converter_info)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type_name¶
-
doc¶
-
value_types¶ Built-in immutable sequence.
If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable’s items.
If the argument is a tuple, the return value is the same object.
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_, custom_converters=None)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
type= None¶
-