Skip to content

Commit

Permalink
Organize formats
Browse files Browse the repository at this point in the history
  • Loading branch information
ahdamin committed Oct 8, 2024
1 parent 9433cd4 commit 28948bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions genotype_api/database/filters/sample_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

from enum import Enum
from typing import Callable
from sqlalchemy.orm import joinedload

from sqlalchemy import func
from sqlalchemy.orm import Query

from genotype_api.database.models import Sample, Analysis
from genotype_api.database.models import Analysis, Sample


def filter_samples_by_id(sample_id: str, samples: Query, **kwargs) -> Query:
Expand Down
6 changes: 1 addition & 5 deletions genotype_api/services/endpoint_services/sample_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@
from genotype_api.database.models import Analysis, Sample
from genotype_api.dto.genotype import GenotypeResponse
from genotype_api.dto.sample import AnalysisOnSample, SampleCreate, SampleResponse
from genotype_api.exceptions import (
GenotypeDBError,
InsufficientAnalysesError,
SampleNotFoundError,
)
from genotype_api.exceptions import SampleNotFoundError
from genotype_api.models import MatchResult, SampleDetail
from genotype_api.services.endpoint_services.base_service import BaseService
from genotype_api.services.match_genotype_service.match_genotype import (
Expand Down
1 change: 0 additions & 1 deletion genotype_api/services/endpoint_services/user_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from pydantic import EmailStr

from genotype_api.database.models import User
from genotype_api.database.store import Store
from genotype_api.dto.user import PlateOnUser, UserRequest, UserResponse
from genotype_api.exceptions import UserArchiveError, UserExistsError, UserNotFoundError
from genotype_api.services.endpoint_services.base_service import BaseService
Expand Down

0 comments on commit 28948bc

Please sign in to comment.