robot.running.arguments package

Submodules

robot.running.arguments.argumentconverter module

class robot.running.arguments.argumentconverter.ArgumentConverter(argspec, dry_run=False)[source]

Bases: object

convert(positional, named)[source]

robot.running.arguments.argumentmapper module

class robot.running.arguments.argumentmapper.ArgumentMapper(argspec)[source]

Bases: object

map(positional, named, replace_defaults=True)[source]
class robot.running.arguments.argumentmapper.KeywordCallTemplate(argspec)[source]

Bases: object

fill_positional(positional)[source]
fill_named(named)[source]
replace_defaults()[source]
class robot.running.arguments.argumentmapper.DefaultValue(value)[source]

Bases: object

resolve(variables)[source]

robot.running.arguments.argumentparser module

class robot.running.arguments.argumentparser.JavaArgumentParser(type='Keyword')[source]

Bases: robot.running.arguments.argumentparser._ArgumentParser

parse(signatures, name=None)[source]
class robot.running.arguments.argumentparser.DynamicArgumentParser(type='Keyword')[source]

Bases: robot.running.arguments.argumentparser._ArgumentSpecParser

parse(argspec, name=None)
class robot.running.arguments.argumentparser.UserKeywordArgumentParser(type='Keyword')[source]

Bases: robot.running.arguments.argumentparser._ArgumentSpecParser

parse(argspec, name=None)

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

resolve(arguments, variables=None)[source]
class robot.running.arguments.argumentresolver.NamedArgumentResolver(argspec)[source]

Bases: object

resolve(arguments, variables=None)[source]
class robot.running.arguments.argumentresolver.NullNamedArgumentResolver[source]

Bases: object

resolve(arguments, variables=None)[source]
class robot.running.arguments.argumentresolver.DictToKwargs(argspec, enabled=False)[source]

Bases: object

handle(positional, named)[source]
class robot.running.arguments.argumentresolver.VariableReplacer(resolve_until=None)[source]

Bases: object

replace(positional, named, variables=None)[source]

robot.running.arguments.argumentspec module

class robot.running.arguments.argumentspec.Enum[source]

Bases: object

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
resolve(arguments, variables=None, resolve_named=True, resolve_variables_until=None, dict_to_kwargs=False)[source]
map(positional, named, replace_defaults=True)[source]
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

class robot.running.arguments.argumentvalidator.ArgumentValidator(argspec)[source]

Bases: object

validate(positional, named, dryrun=False)[source]

robot.running.arguments.embedded module

class robot.running.arguments.embedded.EmbeddedArguments(name)[source]

Bases: object

class robot.running.arguments.embedded.EmbeddedArgumentParser[source]

Bases: object

parse(string)[source]

robot.running.arguments.javaargumentcoercer module

robot.running.arguments.py2argumentparser module

class robot.running.arguments.py2argumentparser.PythonArgumentParser(type='Keyword')[source]

Bases: object

parse(handler, name=None)[source]

robot.running.arguments.py3argumentparser module

robot.running.arguments.typeconverters module

class robot.running.arguments.typeconverters.Enum[source]

Bases: object

class robot.running.arguments.typeconverters.TypeConverter[source]

Bases: object

type = None
abc = None
aliases = ()
value_types = (<type 'unicode'>,)
type_name
classmethod register(converter_class)[source]
classmethod converter_for(type_)[source]
handles(type_)[source]
get_converter(type_)[source]
convert(name, value, explicit_type=True, strict=True)[source]
class robot.running.arguments.typeconverters.StringConverter[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_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
value_types = (<type 'unicode'>,)
class robot.running.arguments.typeconverters.BooleanConverter[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_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
class robot.running.arguments.typeconverters.IntegerConverter[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_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
class robot.running.arguments.typeconverters.FloatConverter[source]

Bases: robot.running.arguments.typeconverters.TypeConverter

type

alias of __builtin__.float

abc

alias of numbers.Real

aliases = ('double',)
value_types = (<type 'unicode'>, <type 'int'>)
convert(name, value, explicit_type=True, strict=True)
classmethod converter_for(type_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
type_name
class robot.running.arguments.typeconverters.DecimalConverter[source]

Bases: robot.running.arguments.typeconverters.TypeConverter

type

alias of decimal.Decimal

value_types = (<type 'unicode'>, <type 'int'>, <type 'float'>)
abc = None
aliases = ()
convert(name, value, explicit_type=True, strict=True)
classmethod converter_for(type_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
type_name
class robot.running.arguments.typeconverters.BytesConverter[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_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
class robot.running.arguments.typeconverters.ByteArrayConverter[source]

Bases: robot.running.arguments.typeconverters.TypeConverter

type

alias of __builtin__.bytearray

value_types = (<type 'unicode'>, <type 'str'>)
abc = None
aliases = ()
convert(name, value, explicit_type=True, strict=True)
classmethod converter_for(type_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
type_name
class robot.running.arguments.typeconverters.DateTimeConverter[source]

Bases: robot.running.arguments.typeconverters.TypeConverter

type

alias of datetime.datetime

value_types = (<type 'unicode'>, <type 'int'>, <type 'float'>)
abc = None
aliases = ()
convert(name, value, explicit_type=True, strict=True)
classmethod converter_for(type_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
type_name
class robot.running.arguments.typeconverters.DateConverter[source]

Bases: robot.running.arguments.typeconverters.TypeConverter

type

alias of datetime.date

abc = None
aliases = ()
convert(name, value, explicit_type=True, strict=True)
classmethod converter_for(type_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
type_name
value_types = (<type 'unicode'>,)
class robot.running.arguments.typeconverters.TimeDeltaConverter[source]

Bases: robot.running.arguments.typeconverters.TypeConverter

type

alias of datetime.timedelta

value_types = (<type 'unicode'>, <type 'int'>, <type 'float'>)
abc = None
aliases = ()
convert(name, value, explicit_type=True, strict=True)
classmethod converter_for(type_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
type_name
class robot.running.arguments.typeconverters.EnumConverter(enum=None)[source]

Bases: robot.running.arguments.typeconverters.TypeConverter

type

alias of Enum

type_name
get_converter(type_)[source]
abc = None
aliases = ()
convert(name, value, explicit_type=True, strict=True)
classmethod converter_for(type_)
handles(type_)
classmethod register(converter_class)
value_types = (<type 'unicode'>,)
class robot.running.arguments.typeconverters.NoneConverter[source]

Bases: robot.running.arguments.typeconverters.TypeConverter

type

alias of __builtin__.NoneType

type_name = 'None'
handles(type_)[source]
abc = None
aliases = ()
convert(name, value, explicit_type=True, strict=True)
classmethod converter_for(type_)
get_converter(type_)
classmethod register(converter_class)
value_types = (<type 'unicode'>,)
class robot.running.arguments.typeconverters.ListConverter[source]

Bases: robot.running.arguments.typeconverters.TypeConverter

type

alias of __builtin__.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_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
type_name
class robot.running.arguments.typeconverters.TupleConverter[source]

Bases: robot.running.arguments.typeconverters.TypeConverter

type

alias of __builtin__.tuple

value_types = (<type 'unicode'>, <type 'list'>)
abc = None
aliases = ()
convert(name, value, explicit_type=True, strict=True)
classmethod converter_for(type_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
type_name
class robot.running.arguments.typeconverters.DictionaryConverter[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_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
value_types = (<type 'unicode'>,)
class robot.running.arguments.typeconverters.SetConverter[source]

Bases: robot.running.arguments.typeconverters.TypeConverter

type

alias of __builtin__.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_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
type_name
class robot.running.arguments.typeconverters.FrozenSetConverter[source]

Bases: robot.running.arguments.typeconverters.TypeConverter

type

alias of __builtin__.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_)
get_converter(type_)
handles(type_)
classmethod register(converter_class)
type_name
class robot.running.arguments.typeconverters.CombinedConverter(union=None)[source]

Bases: robot.running.arguments.typeconverters.TypeConverter

type = typing.Union
type_name
handles(type_)[source]
get_converter(type_)[source]
abc = None
aliases = ()
convert(name, value, explicit_type=True, strict=True)
classmethod converter_for(type_)
classmethod register(converter_class)
value_types = (<type 'unicode'>,)

robot.running.arguments.typevalidator module

class robot.running.arguments.typevalidator.TypeValidator(argspec)[source]

Bases: object

validate(types)[source]
validate_type_dict(types)[source]
convert_type_list_to_dict(types)[source]