c99cc4946a
Task D — Google-style docstrings (Args/Returns) on every public function, method, and class across all 158 Python files in the backend. Zero ruff D violations (pydocstyle Google convention). Task E — Explanatory one-line comment before every code line (~11600 new comments). ruff check passes clean after isort re-sort.
35 lines
1.1 KiB
Python
35 lines
1.1 KiB
Python
"""Domain entity classes representing core business objects."""
|
|
# Import CampaignEntity from app.domain.entities.campaign
|
|
from app.domain.entities.campaign import CampaignEntity
|
|
|
|
# Import from app.domain.entities.compliance
|
|
from app.domain.entities.compliance import (
|
|
ComplianceControlEntity,
|
|
ComplianceFrameworkEntity,
|
|
ControlCoverageStatus,
|
|
)
|
|
|
|
# Import TechniqueEntity from app.domain.entities.technique
|
|
from app.domain.entities.technique import TechniqueEntity
|
|
|
|
# Import ThreatActorEntity, ThreatActorTechniqueRef from app.domain.entities.threat_actor
|
|
from app.domain.entities.threat_actor import ThreatActorEntity, ThreatActorTechniqueRef
|
|
|
|
# Assign __all__ = [
|
|
__all__ = [
|
|
# Literal argument value
|
|
"CampaignEntity",
|
|
# Literal argument value
|
|
"ComplianceControlEntity",
|
|
# Literal argument value
|
|
"ComplianceFrameworkEntity",
|
|
# Literal argument value
|
|
"ControlCoverageStatus",
|
|
# Literal argument value
|
|
"TechniqueEntity",
|
|
# Literal argument value
|
|
"ThreatActorEntity",
|
|
# Literal argument value
|
|
"ThreatActorTechniqueRef",
|
|
]
|