Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TorchSSL/TorchSSL
/ _test_cls
Class
_test_cls
utils.py:27–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
26
def
test_setattr_cls_from_kwargs():
27
class
_test_cls:
28
def
__init__(self):
29
self.a = 1
30
self.b =
'hello'
31
32
test_cls = _test_cls()
33
config = {
'a'
: 3,
'b'
:
'change_hello'
,
'c'
: 5}
Callers
1
test_setattr_cls_from_kwargs
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_setattr_cls_from_kwargs
Function · 0.68