wording fixes
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
"""Configure the breast cohort using the shared persistence settings."""
|
||||
|
||||
from persistance.db import get_cama_session
|
||||
from webapi.cama_cohort import CamaCohort
|
||||
|
||||
|
||||
def configure_cama_cohort(app):
|
||||
def read(cutoff):
|
||||
with get_cama_session() as session:
|
||||
return CamaCohort(session).rows(cutoff)
|
||||
|
||||
app.config['CAMA_COHORT_READER'] = read
|
||||
Reference in New Issue
Block a user