Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BUPT-GAMMA/MASFactory
/ from_obj
Method
from_obj
masfactory/utils/selector.py:22–23 ·
view source on GitHub ↗
(cls, obj: object)
Source
from the content-addressed store, hash-verified
20
21
@classmethod
22
def
from_obj(cls, obj: object) ->
"SelectionTarget"
:
23
return
cls(name=getattr(obj,
"name"
, None), cls=type(obj), obj=obj)
24
25
26
class
Selector:
Callers
1
match
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected