A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.
fix(types): apply extra=allow via Pydantic v2 model_config
dextmorgne8ca7b39bf7c
diff --git a/flowsint-types/src/flowsint_types/flowsint_base.py b/flowsint-types/src/flowsint_types/flowsint_base.pyindex 51b3b14a..6e4eea4a 100644--- a/flowsint-types/src/flowsint_types/flowsint_base.py+++ b/flowsint-types/src/flowsint_types/flowsint_base.py@@ -1,6 +1,6 @@from typing import Optional-from pydantic import BaseModel, Field+from pydantic import BaseModel, ConfigDict, Fieldclass FlowsintType(BaseModel):@@ -24,6 +24,5 @@ class FlowsintType(BaseModel):title="Label",)- # Allow extra keys to support for additional properties from user- class ConfigDict:- extra = "allow"+ # Allow extra keys to support additional properties from the user+ model_config = ConfigDict(extra="allow")