Skip to content

Utils

utils.get_obj_from_string(import_string)

Retrieves an object based on an import string and object name.

PARAMETER DESCRIPTION
import_string

The import string, starting from the root module, containing the desired object.

TYPE: str

RETURNS DESCRIPTION
object

The object identified by the import string.

utils.simple_generator(iterable)

Simple generator.

YIELDS DESCRIPTION
Any

Elements of iterable.