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.JavaArgumentParser(type='Keyword')[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.embedded module¶
robot.running.arguments.javaargumentcoercer module¶
robot.running.arguments.py2argumentparser module¶
robot.running.arguments.py3argumentparser module¶
robot.running.arguments.typeconverters module¶
-
class
robot.running.arguments.typeconverters.TypeConverter(used_type)[source]¶ Bases:
object-
type= None¶
-
type_name= None¶
-
abc= None¶
-
aliases= ()¶
-
value_types= (<type 'unicode'>,)¶
-
-
class
robot.running.arguments.typeconverters.EnumConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type_name¶
-
value_types¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.StringConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
__builtin__.unicode
-
type_name= 'string'¶
-
aliases= ('string', 'str', 'unicode')¶
-
abc= None¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
value_types= (<type 'unicode'>,)¶
-
-
class
robot.running.arguments.typeconverters.BooleanConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
value_types= (<type 'unicode'>, <type 'int'>, <type 'float'>, <type 'NoneType'>)¶
-
type¶ alias of
__builtin__.bool
-
type_name= 'boolean'¶
-
aliases= ('bool',)¶
-
abc= None¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.IntegerConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
__builtin__.int
-
abc¶ alias of
numbers.Integral
-
type_name= 'integer'¶
-
aliases= ('int', 'long')¶
-
value_types= (<type 'unicode'>, <type 'float'>)¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.FloatConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
__builtin__.float
-
abc¶ alias of
numbers.Real
-
type_name= 'float'¶
-
aliases= ('double',)¶
-
value_types= (<type 'unicode'>, <class 'numbers.Real'>)¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.DecimalConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
decimal.Decimal
-
type_name= 'decimal'¶
-
value_types= (<type 'unicode'>, <type 'int'>, <type 'float'>)¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.BytesConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
__builtin__.str
-
abc= None¶
-
type_name= 'bytes'¶
-
value_types= (<type 'unicode'>, <type 'bytearray'>)¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.ByteArrayConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
__builtin__.bytearray
-
type_name= 'bytearray'¶
-
value_types= (<type 'unicode'>, <type 'str'>)¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.DateTimeConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
datetime.datetime
-
type_name= 'datetime'¶
-
value_types= (<type 'unicode'>, <type 'int'>, <type 'float'>)¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.DateConverter(used_type)[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_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
value_types= (<type 'unicode'>,)¶
-
-
class
robot.running.arguments.typeconverters.TimeDeltaConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
datetime.timedelta
-
type_name= 'timedelta'¶
-
value_types= (<type 'unicode'>, <type 'int'>, <type 'float'>)¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.NoneConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
__builtin__.NoneType
-
type_name= 'None'¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
value_types= (<type 'unicode'>,)¶
-
-
class
robot.running.arguments.typeconverters.ListConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
__builtin__.list
-
type_name= 'list'¶
-
abc¶ alias of
_abcoll.Sequence
-
value_types= (<type 'unicode'>, <type 'tuple'>)¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.TupleConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
__builtin__.tuple
-
type_name= 'tuple'¶
-
value_types= (<type 'unicode'>, <type 'list'>)¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.DictionaryConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
__builtin__.dict
-
abc¶ alias of
_abcoll.Mapping
-
type_name= 'dictionary'¶
-
aliases= ('dict', 'map')¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
value_types= (<type 'unicode'>,)¶
-
-
class
robot.running.arguments.typeconverters.SetConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
__builtin__.set
-
type_name= 'set'¶
-
value_types= (<type 'unicode'>, <type 'frozenset'>, <type 'list'>, <type 'tuple'>, <class '_abcoll.Mapping'>)¶
-
abc¶ alias of
_abcoll.Set
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.FrozenSetConverter(used_type)[source]¶ Bases:
robot.running.arguments.typeconverters.TypeConverter-
type¶ alias of
__builtin__.frozenset
-
type_name= 'frozenset'¶
-
value_types= (<type 'unicode'>, <type 'set'>, <type 'list'>, <type 'tuple'>, <class '_abcoll.Mapping'>)¶
-
abc= None¶
-
aliases= ()¶
-
convert(name, value, explicit_type=True, strict=True)¶
-
classmethod
converter_for(type_)¶
-
classmethod
handles(type_)¶
-
no_conversion_needed(value)¶
-
classmethod
register(converter)¶
-
-
class
robot.running.arguments.typeconverters.CombinedConverter(union)[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_)¶
-
classmethod
register(converter)¶
-
value_types= (<type 'unicode'>,)¶
-