From 4aeb9faacfb9e9f8a55e0cec6c061e649761dd55 Mon Sep 17 00:00:00 2001 From: Walter Baccinelli Date: Mon, 24 Jul 2023 09:19:00 +0200 Subject: [PATCH] hotfix adding requirements --- Rasa_Bot/actions/actions_closing_dialog.py | 2 +- Rasa_Bot/actions/actions_goal_setting_dialog.py | 2 +- Rasa_Bot/actions/actions_notifications.py | 2 +- Rasa_Bot/actions/actions_weekly_reflection.py | 2 +- Rasa_Bot/actions/requirements-actions.txt | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Rasa_Bot/actions/actions_closing_dialog.py b/Rasa_Bot/actions/actions_closing_dialog.py index f40466e0..545b11a7 100644 --- a/Rasa_Bot/actions/actions_closing_dialog.py +++ b/Rasa_Bot/actions/actions_closing_dialog.py @@ -14,7 +14,7 @@ ComponentsTriggers) from .definitions import DATABASE_URL, NICEDAY_API_ENDPOINT, PAUSE_AND_TRIGGER, REDIS_URL from .helper import (get_latest_bot_utterance, store_pf_evaluation_to_db, get_faik_text) -from sensor_api.sensorapi.connector import get_steps_data +from sensorapi.connector import get_steps_data celery = Celery(broker=REDIS_URL) diff --git a/Rasa_Bot/actions/actions_goal_setting_dialog.py b/Rasa_Bot/actions/actions_goal_setting_dialog.py index 0284c145..62bc969c 100644 --- a/Rasa_Bot/actions/actions_goal_setting_dialog.py +++ b/Rasa_Bot/actions/actions_goal_setting_dialog.py @@ -21,7 +21,7 @@ from rasa_sdk.executor import CollectingDispatcher from rasa_sdk.forms import FormValidationAction from typing import Any, Dict, Text -from sensor_api.sensorapi.connector import get_steps_data +from sensorapi.connector import get_steps_data class ActionSaveGoalSettingDialogPart1(Action): diff --git a/Rasa_Bot/actions/actions_notifications.py b/Rasa_Bot/actions/actions_notifications.py index 192e092b..89bca8c0 100644 --- a/Rasa_Bot/actions/actions_notifications.py +++ b/Rasa_Bot/actions/actions_notifications.py @@ -5,7 +5,7 @@ from .helper import get_weekly_intensity_minutes_goal_from_db import datetime import logging -from sensor_api.sensorapi.connector import get_daily_step_goal_from_db +from sensorapi.connector import get_daily_step_goal_from_db celery = Celery(broker=REDIS_URL) diff --git a/Rasa_Bot/actions/actions_weekly_reflection.py b/Rasa_Bot/actions/actions_weekly_reflection.py index 2a776aa2..c5683353 100644 --- a/Rasa_Bot/actions/actions_weekly_reflection.py +++ b/Rasa_Bot/actions/actions_weekly_reflection.py @@ -26,7 +26,7 @@ set_pa_group_to_db, store_dialog_part_to_db) from virtual_coach_db.helper.definitions import Components -from sensor_api.sensorapi.connector import get_steps_data, get_step_goals_and_steps +from sensorapi.connector import get_steps_data, get_step_goals_and_steps celery = Celery(broker=REDIS_URL) diff --git a/Rasa_Bot/actions/requirements-actions.txt b/Rasa_Bot/actions/requirements-actions.txt index a7b7917a..9df3c710 100644 --- a/Rasa_Bot/actions/requirements-actions.txt +++ b/Rasa_Bot/actions/requirements-actions.txt @@ -12,3 +12,4 @@ sqlalchemy git+https://github.com/PerfectFit-project/virtual-coach-db@v0.1.24 git+https://github.com/PerfectFit-project/pa-algorithms git+https://github.com/PerfectFit-project/niceday_client@v0.1.5 +git+https://github.com/PerfectFit-project/virtual-coach-rasa@main#subdirectory=sensor_api