otx.core.patcher#

Simple monkey patch helper.

Classes

Patcher()

Simple monkey patch helper.

class otx.core.patcher.Patcher[source]#

Bases: object

Simple monkey patch helper.

import_obj(obj_cls)[source]#

Object import helper.

patch(obj_cls, wrapper: Callable, *, force: bool = True)[source]#

Do monkey patch.

unpatch(obj_cls=None, depth=0)[source]#

Undo monkey patch.