MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / partialclass

Function partialclass

sat/sgm/util.py:184–188  ·  view source on GitHub ↗
(cls, *args, **kwargs)

Source from the content-addressed store, hash-verified

182
183
184def partialclass(cls, *args, **kwargs):
185 class NewCls(cls):
186 __init__ = functools.partialmethod(cls.__init__, *args, **kwargs)
187
188 return NewCls
189
190
191def make_path_absolute(path):

Callers 4

make_time_attnFunction · 0.90
_make_attnMethod · 0.90
_make_convMethod · 0.90
_make_resblockMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected