Skip to content

Commit 8377710

Browse files
committed
Refactor imports in GraphTemplate model for clarity and organization
- Rearranged import statements for better readability and structure. - Added missing import for Dict to support type annotations. - Ensured consistent import order by placing BaseDatabaseModel import after other dependencies. These changes enhance the maintainability of the GraphTemplate model by improving the organization of its imports.
1 parent 40218db commit 8377710

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

state-manager/app/models/db/graph_template_model.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
import time
33
import asyncio
44

5-
from .base import BaseDatabaseModel
5+
from pymongo import IndexModel
66
from pydantic import Field, field_validator, PrivateAttr, model_validator
7-
from typing import Optional, List, Self
7+
from typing import Optional, List, Self, Dict
8+
9+
from .base import BaseDatabaseModel
810
from ..graph_template_validation_status import GraphTemplateValidationStatus
911
from ..node_template_model import NodeTemplate
10-
from pymongo import IndexModel
11-
from typing import Dict
1212
from app.utils.encrypter import get_encrypter
1313

1414

0 commit comments

Comments
 (0)