MCPcopy Create free account
hub / github.com/blacklanternsecurity/bbot / _get_data

Method _get_data

bbot/db/sql/models.py:83–87  ·  view source on GitHub ↗
(data, type)

Source from the content-addressed store, hash-verified

81
82 @staticmethod
83 def _get_data(data, type):
84 # handle SIEM-friendly format
85 if isinstance(data, dict) and list(data) == [type]:
86 return data[type]
87 return data
88
89 uuid: str = Field(
90 primary_key=True,

Callers 2

__init__Method · 0.95
get_dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected