function

utils.locate_object

def locate_object(path: str) -> typing.Any

Dynamically locates and returns an object by its fully qualified name.

Parameters

NameTypeDescription
nameThe fully qualified name of the object to locate.

Returns

typing.Any — The located object.

Raises

  • ImportError — If the object cannot be located.

Source: laco/utils.py:99