Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/STIXProject/python-stix
/ to_dict
Method
to_dict
stix/common/profiles.py:39–40 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
37
self.profile.insert(index, value)
38
39
def
to_dict(self):
40
return
[x
for
x in self]
41
42
@classmethod
43
def
from_dict(cls, cls_dict=None):
Callers
15
to_list
Method · 0.45
dict_from_object
Method · 0.45
dict_iter
Function · 0.45
to_dict
Function · 0.45
test_negate
Method · 0.45
test_add_description
Method · 0.45
test_add_short_description
Method · 0.45
test_observables_property_empty
Method · 0.45
test_observables_property_composition
Method · 0.45
test_observables_property_standard
Method · 0.45
test_add_description
Method · 0.45
test_add_short_description
Method · 0.45
Calls
no outgoing calls
Tested by
15
test_negate
Method · 0.36
test_add_description
Method · 0.36
test_add_short_description
Method · 0.36
test_observables_property_empty
Method · 0.36
test_observables_property_composition
Method · 0.36
test_observables_property_standard
Method · 0.36
test_add_description
Method · 0.36
test_add_short_description
Method · 0.36
test_add_description
Method · 0.36
test_add_short_description
Method · 0.36
test_round_trip_rt
Method · 0.36
test_add_description
Method · 0.36