File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
service-library/src/servicelib/aiohttp/long_running_tasks
settings-library/src/settings_library Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,13 @@ async def start_long_running_task(
6868 "sockname"
6969 ) # https://docs.python.org/3/library/asyncio-protocol.html#asyncio.BaseTransport.get_extra_info
7070 status_url = TypeAdapter (AnyHttpUrl ).validate_python (
71- f"http://{ ip_addr } :{ port } { request_ .app .router ['get_task_status' ].url_for (task_id = task_id )} "
71+ f"http://{ ip_addr } :{ port } { request_ .app .router ['get_task_status' ].url_for (task_id = task_id )} " # NOSONAR
7272 )
7373 result_url = TypeAdapter (AnyHttpUrl ).validate_python (
74- f"http://{ ip_addr } :{ port } { request_ .app .router ['get_task_result' ].url_for (task_id = task_id )} "
74+ f"http://{ ip_addr } :{ port } { request_ .app .router ['get_task_result' ].url_for (task_id = task_id )} " # NOSONAR
7575 )
7676 abort_url = TypeAdapter (AnyHttpUrl ).validate_python (
77- f"http://{ ip_addr } :{ port } { request_ .app .router ['cancel_and_delete_task' ].url_for (task_id = task_id )} "
77+ f"http://{ ip_addr } :{ port } { request_ .app .router ['cancel_and_delete_task' ].url_for (task_id = task_id )} " # NOSONAR
7878 )
7979 task_get = TaskGet (
8080 task_id = task_id ,
Original file line number Diff line number Diff line change 77
88class TracingSettings (BaseCustomSettings ):
99 TRACING_ZIPKIN_ENDPOINT : AnyUrl = Field (
10- default = TypeAdapter (AnyUrl ).validate_python ("http://jaeger:9411" ),
10+ default = TypeAdapter (AnyUrl ).validate_python ("http://jaeger:9411" ), # NOSONAR
1111 description = "Zipkin compatible endpoint" ,
1212 )
1313 TRACING_THRIFT_COMPACT_ENDPOINT : AnyUrl = Field (
14- default = TypeAdapter (AnyUrl ).validate_python ("http://jaeger:5775" ),
14+ default = TypeAdapter (AnyUrl ).validate_python ("http://jaeger:5775" ), # NOSONAR
1515 description = "accept zipkin.thrift over compact thrift protocol (deprecated, used by legacy clients only)" ,
1616 )
1717 TRACING_CLIENT_NAME : str = Field (
You can’t perform that action at this time.
0 commit comments