MCPcopy Create free account
hub / github.com/TheLastBen/fast-stable-diffusion / class_or_instancemethod

Class class_or_instancemethod

Dreambooth/blocks.py:360–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358
359
360class class_or_instancemethod(classmethod):
361 def __get__(self, instance, type_):
362 descr_get = super().__get__ if instance is None else self.__func__.__get__
363 return descr_get(instance, type_)
364
365
366@document()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected