From 04e66d14b649a0e2180c46f1f65c12fa29b3c9f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Jan=C3=9Fen?= Date: Mon, 3 Jun 2024 15:43:41 +0200 Subject: [PATCH] Remove trailing whitespace of cadenza analytics extension in cadenzaanalytics --- src/cadenzaanalytics/cadenza_analytics_extension.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cadenzaanalytics/cadenza_analytics_extension.py b/src/cadenzaanalytics/cadenza_analytics_extension.py index 7a4d1cd..8fe3d41 100644 --- a/src/cadenzaanalytics/cadenza_analytics_extension.py +++ b/src/cadenzaanalytics/cadenza_analytics_extension.py @@ -40,7 +40,7 @@ def relative_path(self) -> str: ------- str The relative path of the extension. - """ + """ return self._relative_path @property @@ -51,7 +51,7 @@ def print_name(self) -> str: ------- str The printable name of the extension. - """ + """ return self._analytics_extension.print_name @property @@ -72,7 +72,7 @@ def handle_request(self) -> Response: ------- Response The response to the request. - """ + """ analytics_request = self._get_request_data(request) analytics_response = self._analytics_function(analytics_request.metadata, analytics_request.data) @@ -86,7 +86,7 @@ def get_capabilities(self) -> Response: ------- Response The capabilities of the extension. - """ + """ return Response(response=self._analytics_extension.to_json(), status=200, mimetype="application/json") def _get_request_data(self, multipart_request) -> AnalyticsRequest: @@ -102,4 +102,4 @@ def _get_request_data(self, multipart_request) -> AnalyticsRequest: else: df_data = pd.DataFrame() - return AnalyticsRequest(metadata, df_data) + return AnalyticsRequest(metadata, df_data) \ No newline at end of file