From 485ad5e8bfc98f77842400140d613d73a0bae26b Mon Sep 17 00:00:00 2001 From: ff137 Date: Fri, 30 Aug 2024 16:43:08 +0300 Subject: [PATCH] :rewind: revert logging Signed-off-by: ff137 --- aries_cloudagent/messaging/models/paginated_query.py | 4 ---- aries_cloudagent/multitenant/admin/routes.py | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/aries_cloudagent/messaging/models/paginated_query.py b/aries_cloudagent/messaging/models/paginated_query.py index 98acd44bdb..670c3cda2b 100644 --- a/aries_cloudagent/messaging/models/paginated_query.py +++ b/aries_cloudagent/messaging/models/paginated_query.py @@ -1,6 +1,5 @@ """Class for paginated query parameters.""" -import logging from typing import Tuple from aiohttp.web import BaseRequest @@ -10,7 +9,6 @@ from ...messaging.models.openapi import OpenAPISchema from ...storage.base import DEFAULT_PAGE_SIZE, MAXIMUM_PAGE_SIZE -logger = logging.getLogger(__name__) class PaginatedQuerySchema(OpenAPISchema): """Parameters for paginated queries.""" @@ -74,9 +72,7 @@ def get_paginated_query_params(request: BaseRequest) -> Tuple[int, int, str, boo order_by = request.query.get("order_by", "id") # Convert the 'descending' parameter to a boolean - logger.info(f">>> REQUEST QUERY DESCENDING: {request.query.get("descending")}") descending_str = request.query.get("descending", "False").lower() descending = descending_str in {"true", "1", "yes"} - logger.info(f">>> PARSED DESCENDING VALUE: {descending}") return limit, offset, order_by, descending diff --git a/aries_cloudagent/multitenant/admin/routes.py b/aries_cloudagent/multitenant/admin/routes.py index b4ca611b3d..b7608d999c 100644 --- a/aries_cloudagent/multitenant/admin/routes.py +++ b/aries_cloudagent/multitenant/admin/routes.py @@ -1,6 +1,5 @@ """Multitenant admin routes.""" -import logging from aiohttp import web from aiohttp_apispec import ( docs, @@ -489,9 +488,7 @@ async def wallet_create(request: web.BaseRequest): try: multitenant_mgr = context.profile.inject(BaseMultitenantManager) - wallet_record = await multitenant_mgr.create_wallet( - settings, key_management_mode - ) + wallet_record = await multitenant_mgr.create_wallet(settings, key_management_mode) token = await multitenant_mgr.create_auth_token(wallet_record, wallet_key)