typedargs.types.string module

Summary

Functions:

convert
default_formatter
format_repr
validate_list Make sure the argument is in the list of choices passed to the function
validate_not_empty Make sure the string is not empty

Data:

MAPPED_TYPE_NAMES Built-in immutable sequence.

Reference

typedargs.types.string.convert(arg)[source]
typedargs.types.string.validate_list(arg, choices)[source]

Make sure the argument is in the list of choices passed to the function

typedargs.types.string.validate_not_empty(arg)[source]

Make sure the string is not empty

typedargs.types.string.default_formatter(arg, **kwargs)[source]
typedargs.types.string.format_repr(arg, **kwargs)[source]