Skip to content

Commit

Permalink
fix: add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
dantetemplar committed Jul 26, 2023
1 parent eab679b commit 5c567cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def generate_unique_operation_id(route: APIRoute) -> str:


async def setup_repositories():
import json
from src.schemas import CreateEventGroup, CreateUser, CreateTag
from src.repositories.event_groups import SqlEventGroupRepository
from src.repositories.users import SqlUserRepository, PredefinedRepository
Expand Down

1 comment on commit 5c567cc

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src
   exceptions.py22577%7, 16, 24, 32, 40
   main.py742764%78–106, 116–119, 134
src/app
   dependencies.py43491%29, 37, 45, 53
src/app/auth
   common.py281739%12–21, 25–32, 36–44, 49–50
   dependencies.py16662%33–38, 42
   jwt.py452936%25–27, 31–35, 39–43, 47–51, 55–63, 67–74
src/app/event_groups
   routes.py201050%22–26, 43–48, 63–64
src/app/users
   routes.py261350%35–37, 56–61, 79–81, 101–106
src/repositories/predefined
   repository.py611084%28, 44, 59, 77–80, 83, 86, 89
src/repositories/tags
   repository.py731777%76–77, 93–101, 104–121, 124–128
src/schemas
   tags.py43295%19, 55
src/storages/sql
   storage.py23196%43
src/storages/sql/models
   events.py21210%1–36
TOTAL87016281% 

Tests Skipped Failures Errors Time
26 0 💤 1 ❌ 0 🔥 8.212s ⏱️

Please sign in to comment.