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 d29eb9f commit 209d85dCopy full SHA for 209d85d
uncoder-core/app/translator/core/models/query_container.py
@@ -69,13 +69,14 @@ def __init__(
69
self.raw_mitre_attack = raw_mitre_attack or []
70
self.status = status or "stable"
71
self.false_positives = false_positives or []
72
- self.source_mapping_ids = sorted(source_mapping_ids) if source_mapping_ids else [DEFAULT_MAPPING_NAME]
+ self.source_mapping_ids = source_mapping_ids or [DEFAULT_MAPPING_NAME]
73
self.parsed_logsources = parsed_logsources or {}
74
self.timeframe = timeframe
75
76
@property
77
- def author_str(self) -> str:
78
- return ", ".join(self.author)
+ def author_str(self) -> Optional[str]:
+ if self.author:
79
+ return ", ".join(self.author)
80
81
82
@dataclass
0 commit comments