From ac88ae47704684914a8eeab9351f2172eba0cf15 Mon Sep 17 00:00:00 2001 From: cwasicki <126617870+cwasicki@users.noreply.github.com> Date: Tue, 19 Dec 2023 13:04:14 +0100 Subject: [PATCH] fix --- py/frequenz/client/weather/_types.py | 2 +- pytests/test_types.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/py/frequenz/client/weather/_types.py b/py/frequenz/client/weather/_types.py index 2c09c50..fccca6e 100644 --- a/py/frequenz/client/weather/_types.py +++ b/py/frequenz/client/weather/_types.py @@ -5,7 +5,7 @@ import enum import logging from frequenz.api.weather import weather_pb2 -from frequenz.api.common.v1 import location_pb2 +from frequenz.api.common import location_pb2 # Set up logging _logger = logging.getLogger(__name__) diff --git a/pytests/test_types.py b/pytests/test_types.py index bcb757e..1a35b88 100644 --- a/pytests/test_types.py +++ b/pytests/test_types.py @@ -5,7 +5,7 @@ from datetime import timedelta from google.protobuf.timestamp_pb2 import Timestamp from frequenz.api.weather import weather_pb2 -from frequenz.api.common.v1.location_pb2 import Location as LocationProto +from frequenz.api.common.location_pb2 import Location as LocationProto from frequenz.client.weather._types import ( ForecastFeature, Location,