Skip to content

Commit 228a561

Browse files
Merge pull request #583 from noharm-ai/develop
v6.39-beta
2 parents f7ee5e3 + 95f75c3 commit 228a561

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class Config:
1010
"""Configuration class for the application."""
1111

12-
VERSION = "v6.38-beta"
12+
VERSION = "v6.39-beta"
1313
FRONTEND_VERSION = "5.1.6"
1414
ENV = getenv("ENV") or NoHarmENV.DEVELOPMENT.value
1515
SECRET_KEY = getenv("SECRET_KEY") or "secret_key"

repository/notification_repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def get_active_notifications(schema: str) -> list[dict]:
1515
.filter(Notify.endDate >= date.today())
1616
.filter(or_(Notify.schema == schema, Notify.schema == None))
1717
.order_by(asc(Notify.id))
18-
.limit(5)
18+
.limit(10)
1919
.all()
2020
)
2121
return [

services/prescription_agg_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def create_agg_prescription_by_date(
336336
agg_p.idSegment = last_prescription.idSegment
337337

338338
features = prescriptionutils.getFeatures(
339-
result=agg_data, agg_date=agg_p.date, intervals_for_agg_date=True
339+
result=agg_data, agg_date=agg_p.date, intervals_for_agg_date=False
340340
)
341341
score_variation = _get_score_variation(prescription=agg_p, features=features)
342342
features.update({"scoreVariation": score_variation, "should_update": False})

0 commit comments

Comments
 (0)