Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ __init__
Method
__init__
SwissArmyTransformer/sat/model/registry.py:5–7 ·
view source on GitHub ↗
(self, name)
Source
from the content-addressed store, hash-verified
3
4
class
Registry:
5
def
__init__(self, name):
6
self.name = name
7
self.member = {}
8
9
def
register(self, cls):
10
if
type(cls) is str:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected