Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

fix(types): auto build username from string for SocialAccount

dextmorgn7a24ff8d3308
diff --git a/flowsint-types/src/flowsint_types/social_account.py b/flowsint-types/src/flowsint_types/social_account.py
index 61540d4f..f9245ea2 100644
--- a/flowsint-types/src/flowsint_types/social_account.py
+++ b/flowsint-types/src/flowsint_types/social_account.py
@@ -1,5 +1,5 @@
-from pydantic import Field, model_validator
-from typing import Optional, List, Self
+from pydantic import Field, model_validator, field_validator
+from typing import Optional, List, Self, Union
from .username import Username
from .flowsint_base import FlowsintType
from .registry import flowsint_type