From 2b22183188af0b7f2204b87c70c85b5ab2707ba1 Mon Sep 17 00:00:00 2001 From: Marcelo Lotif Date: Mon, 18 Mar 2024 15:46:37 -0400 Subject: [PATCH] Changing module name to avoid conflicts --- florist/api/client.py | 2 +- florist/api/monitoring/{logging.py => logs.py} | 0 florist/api/servers/local.py | 2 +- florist/tests/integration/api/test_train.py | 2 +- florist/tests/unit/api/servers/test_local.py | 2 +- florist/tests/unit/api/test_client.py | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename florist/api/monitoring/{logging.py => logs.py} (100%) diff --git a/florist/api/client.py b/florist/api/client.py index 4afa2f78..720dee97 100644 --- a/florist/api/client.py +++ b/florist/api/client.py @@ -8,7 +8,7 @@ from florist.api.clients.common import Clients from florist.api.launchers.local import launch_client -from florist.api.monitoring.logging import get_client_log_file_path +from florist.api.monitoring.logs import get_client_log_file_path from florist.api.monitoring.metrics import RedisMetricsReporter diff --git a/florist/api/monitoring/logging.py b/florist/api/monitoring/logs.py similarity index 100% rename from florist/api/monitoring/logging.py rename to florist/api/monitoring/logs.py diff --git a/florist/api/servers/local.py b/florist/api/servers/local.py index 0b23191b..957558c2 100644 --- a/florist/api/servers/local.py +++ b/florist/api/servers/local.py @@ -7,7 +7,7 @@ from torch import nn from florist.api.launchers.local import launch_server -from florist.api.monitoring.logging import get_server_log_file_path +from florist.api.monitoring.logs import get_server_log_file_path from florist.api.monitoring.metrics import RedisMetricsReporter from florist.api.servers.utils import get_server diff --git a/florist/tests/integration/api/test_train.py b/florist/tests/integration/api/test_train.py index 3a92c238..34c61b3b 100644 --- a/florist/tests/integration/api/test_train.py +++ b/florist/tests/integration/api/test_train.py @@ -7,7 +7,7 @@ from florist.api import client from florist.api.clients.mnist import MnistNet -from florist.api.monitoring.logging import get_server_log_file_path +from florist.api.monitoring.logs import get_server_log_file_path from florist.api.servers.local import launch_local_server diff --git a/florist/tests/unit/api/servers/test_local.py b/florist/tests/unit/api/servers/test_local.py index 3245d650..69e06d1a 100644 --- a/florist/tests/unit/api/servers/test_local.py +++ b/florist/tests/unit/api/servers/test_local.py @@ -1,7 +1,7 @@ from unittest.mock import ANY, Mock, patch from florist.api.clients.mnist import MnistNet -from florist.api.monitoring.logging import get_server_log_file_path +from florist.api.monitoring.logs import get_server_log_file_path from florist.api.monitoring.metrics import RedisMetricsReporter from florist.api.servers.local import launch_local_server from florist.api.servers.utils import get_server diff --git a/florist/tests/unit/api/test_client.py b/florist/tests/unit/api/test_client.py index b3300d4c..94f06e1d 100644 --- a/florist/tests/unit/api/test_client.py +++ b/florist/tests/unit/api/test_client.py @@ -4,7 +4,7 @@ from florist.api import client from florist.api.clients.mnist import MnistClient -from florist.api.monitoring.logging import get_client_log_file_path +from florist.api.monitoring.logs import get_client_log_file_path from florist.api.monitoring.metrics import RedisMetricsReporter