We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aec612a commit e4cb761Copy full SHA for e4cb761
contentctl/objects/mitre_attack_enrichment.py
@@ -69,6 +69,8 @@ class MitreAttackEnrichment(BaseModel):
69
mitre_attack_technique: str = Field(...)
70
mitre_attack_tactics: List[MitreTactics] = Field(...)
71
mitre_attack_groups: List[str] = Field(...)
72
- mitre_attack_group_objects: list[MitreAttackGroup] = Field(...)
+ #Exclude this field from serialization - it is very large and not useful in JSON objects
73
+ mitre_attack_group_objects: list[MitreAttackGroup] = Field(..., exclude=True)
74
def __hash__(self) -> int:
75
return id(self)
76
+
0 commit comments