2020from models_library .users import UserID
2121from pydantic import TypeAdapter , ValidationError , validate_call
2222from pyinstrument import Profiler
23- from servicelib .logging_utils import log_decorator
2423from servicelib .rabbitmq import RPCRouter
2524from servicelib .rabbitmq .rpc_interfaces .catalog .errors import (
2625 CatalogForbiddenError ,
@@ -106,7 +105,6 @@ async def list_services_paginated(
106105 ValidationError ,
107106 )
108107)
109- @log_decorator (_logger , level = logging .DEBUG )
110108@_profile_rpc_call
111109@validate_call (config = {"arbitrary_types_allowed" : True })
112110async def get_service (
@@ -141,7 +139,6 @@ async def get_service(
141139 ValidationError ,
142140 )
143141)
144- @log_decorator (_logger , level = logging .DEBUG )
145142@validate_call (config = {"arbitrary_types_allowed" : True })
146143async def update_service (
147144 app : FastAPI ,
@@ -179,7 +176,6 @@ async def update_service(
179176 ValidationError ,
180177 )
181178)
182- @log_decorator (_logger , level = logging .DEBUG )
183179@validate_call (config = {"arbitrary_types_allowed" : True })
184180async def check_for_service (
185181 app : FastAPI ,
@@ -203,7 +199,6 @@ async def check_for_service(
203199
204200
205201@router .expose (reraise_if_error_type = (CatalogForbiddenError , ValidationError ))
206- @log_decorator (_logger , level = logging .DEBUG )
207202@validate_call (config = {"arbitrary_types_allowed" : True })
208203async def batch_get_my_services (
209204 app : FastAPI ,
@@ -233,7 +228,6 @@ async def batch_get_my_services(
233228
234229
235230@router .expose (reraise_if_error_type = (ValidationError ,))
236- @log_decorator (_logger , level = logging .DEBUG )
237231@validate_call (config = {"arbitrary_types_allowed" : True })
238232async def list_my_service_history_latest_first (
239233 app : FastAPI ,
@@ -281,7 +275,6 @@ async def list_my_service_history_latest_first(
281275 ValidationError ,
282276 )
283277)
284- @log_decorator (_logger , level = logging .DEBUG )
285278@validate_call (config = {"arbitrary_types_allowed" : True })
286279async def get_service_ports (
287280 app : FastAPI ,
0 commit comments