vistir.backports.functools module

class vistir.backports.functools.partialmethod(func, *args, **keywords)[source]

Bases: object

Method descriptor with partial application of the given arguments and keywords. Supports wrapping existing descriptors and handles non-descriptor callables as instance methods.