Skip to content

Commit

Permalink
[CLEAN] Prefer direct imports
Browse files Browse the repository at this point in the history
  • Loading branch information
c8y3 committed Jan 24, 2025
1 parent 4a991f6 commit 01370c7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion source/app/blueprints/rest/case/case_assets_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
from app.iris_engine.access_control.utils import ac_fast_check_current_user_has_case_access
from app.iris_engine.module_handler.module_handler import call_modules_hook
from app.iris_engine.utils.tracker import track_activity
from app.models import AnalysisStatus
from app.models.models import AnalysisStatus
from app.models.authorization import CaseAccessLevel
from app.schema.marshables import CaseAssetsSchema
from app.schema.marshables import CommentSchema
Expand Down
5 changes: 4 additions & 1 deletion source/app/datamgmt/manage/manage_case_objs.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
from sqlalchemy import func

from app.models import AnalysisStatus, IocType, AssetsType, EventCategory
from app.models.models import AnalysisStatus
from app.models.models import IocType
from app.models.models import AssetsType
from app.models.models import EventCategory


def search_analysis_status_by_name(name: str, exact_match: bool = False) -> AnalysisStatus:
Expand Down
3 changes: 2 additions & 1 deletion source/app/datamgmt/manage/manage_evidence_types_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
from sqlalchemy import func
from typing import List

from app.models import EvidenceTypes, CaseReceivedFile
from app.models.models import EvidenceTypes
from app.models.models import CaseReceivedFile


def get_evidence_types_list() -> List[dict]:
Expand Down
2 changes: 1 addition & 1 deletion source/app/iris_engine/utils/tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import app
from app import db
from app.models import UserActivity
from app.models.models import UserActivity

log = app.app.logger

Expand Down

0 comments on commit 01370c7

Please sign in to comment.