minos.common.setup module

class minos.common.setup.MinosSetup(*args, already_setup=False, **kwargs)[source]

Bases: object

Minos setup base class.

__init__(*args, already_setup=False, **kwargs)[source]
property already_destroyed: bool

Already Destroy getter.

Return type

bool

Returns

A boolean value.

property already_setup: bool

Already Setup getter.

Return type

bool

Returns

A boolean value.

async destroy()[source]

Destroy miscellaneous repository things.

Return type

None

Returns

This method does not return anything.

classmethod from_config(config=None, **kwargs)[source]

Build a new instance from config.

Parameters
Return type

~S

Returns

A instance of the called class.

async setup()[source]

Setup miscellaneous repository things.

Return type

None

Returns

This method does not return anything.