ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

class documentation

class ArgumentAction(Enum): (source)

View In Hierarchy

Define valid action types for use with Python's argparse module.

Each member represents a specific way argparse processes and stores argument values.

Returns
strThe string value representing the corresponding argparse action type.
Constant APPEND Append each argument value to a list.
Constant APPEND_CONST Append a constant value to a list when the argument is specified.
Constant COUNT Count the number of times the argument is specified.
Constant HELP Display the help message and exit.
Constant STORE Store the argument value directly.
Constant STORE_CONST Store a constant value when the argument is specified.
Constant STORE_FALSE Store False when the argument is specified.
Constant STORE_TRUE Store True when the argument is specified.
Constant VERSION Display version information and exit.

Append each argument value to a list.

Value
'append'
APPEND_CONST: str = (source)

Append a constant value to a list when the argument is specified.

Value
'append_const'

Count the number of times the argument is specified.

Value
'count'

Display the help message and exit.

Value
'help'

Store the argument value directly.

Value
'store'
STORE_CONST: str = (source)

Store a constant value when the argument is specified.

Value
'store_const'
STORE_FALSE: str = (source)

Store False when the argument is specified.

Value
'store_false'
STORE_TRUE: str = (source)

Store True when the argument is specified.

Value
'store_true'

Display version information and exit.

Value
'version'