Struct
An object that has attributes built from the dictionary given in
constructor. So ss=Struct(a=1, b=’b’) will satisfy assert ss.a == 1
and assert ss.b == ‘b’.
Inheritance Diagram
Inheritance diagram for class Struct
Methods Summary
Class API
-
class Struct
An object that has attributes built from the dictionary given in
constructor. So ss=Struct(a=1, b=’b’) will satisfy assert ss.a == 1
and assert ss.b == ‘b’.
Methods
-
__init__(self, **kwargs)