Skip to content

Commit

Permalink
Clearer doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
islean committed Oct 11, 2024
1 parent 0a94c56 commit 3560551
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cg/store/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
from sqlalchemy import and_, func
from sqlalchemy.orm import Query, Session

from cg.store.models import Analysis, Application, ApplicationLimitations, ApplicationVersion
from cg.store.models import (
Analysis,
Application,
ApplicationLimitations,
ApplicationVersion,
)
from cg.store.models import Base as ModelBase
from cg.store.models import (
Case,
Expand Down Expand Up @@ -75,7 +80,7 @@ def _get_join_sample_family_query(self) -> Query:
return self._get_query(table=Sample).join(Case.links).join(CaseSample.sample)

def _get_join_sample_case_order_query(self) -> Query:
"""Return a join sample case relationship query."""
"""Return a query joining sample, cases_sample, case and order. Selects from sample."""
return (
self._get_query(table=Sample).join(Case.links).join(CaseSample.sample).join(Case.orders)
)
Expand Down

0 comments on commit 3560551

Please sign in to comment.