A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.
fix: add missing imports for UUID and PermissionDeniedError
dextmorgn182056979b12
diff --git a/flowsint-api/alembic/versions/c7d1f0a92b3e_add_owner_id_to_flows.py b/flowsint-api/alembic/versions/c7d1f0a92b3e_add_owner_id_to_flows.pyindex 99d8f8b7..6b3e7960 100644--- a/flowsint-api/alembic/versions/c7d1f0a92b3e_add_owner_id_to_flows.py+++ b/flowsint-api/alembic/versions/c7d1f0a92b3e_add_owner_id_to_flows.py@@ -8,9 +8,8 @@ Create Date: 2026-08-23 00:00:00.000000from typing import Sequence, Union-from alembic import opimport sqlalchemy as sa-+from alembic import op# revision identifiers, used by Alembic.revision: str = "c7d1f0a92b3e"diff --git a/flowsint-core/src/flowsint_core/core/repositories/flow_repository.py b/flowsint-core/src/flowsint_core/core/repositories/flow_repository.pyindex 6f5d3613..4b0cc49f 100644--- a/flowsint-core/src/flowsint_core/core/repositories/flow_repository.py+++ b/flowsint-core/src/flowsint_core/core/repositories/flow_repository.py@@ -1,6 +1,7 @@"""Repository for Flow model."""from typing import List, Optional+from uuid import UUIDfrom sqlalchemy import or_diff --git a/flowsint-core/src/flowsint_core/core/services/flow_service.py b/flowsint-core/src/flowsint_core/core/services/flow_service.pyindex d1d72847..a997b370 100644--- a/flowsint-core/src/flowsint_core/core/services/flow_service.py+++ b/flowsint-core/src/flowsint_core/core/services/flow_service.py@@ -16,7 +16,7 @@ from ..repositories import (SketchRepository,)from .base import BaseService-from .exceptions import NotFoundError+from .exceptions import NotFoundError, PermissionDeniedErrorclass FlowService(BaseService):diff --git a/flowsint-types/src/flowsint_types/social_account.py b/flowsint-types/src/flowsint_types/social_account.pyindex 3830c298..b7dbc29c 100644--- a/flowsint-types/src/flowsint_types/social_account.py+++ b/flowsint-types/src/flowsint_types/social_account.py@@ -94,7 +94,7 @@ class SocialAccount(FlowsintType):self.id = self.username.valueelse:self.id = self.display_name or "unknown"-+# Only modify nodeLabel if it isn't setif not self.nodeLabel:self.nodeLabel = self.id