We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89092e8 commit ad4a7ebCopy full SHA for ad4a7eb
1 file changed
services/agent/agent/app.py
@@ -13,6 +13,7 @@
13
import os
14
import threading
15
import time
16
+from typing import Any, cast
17
18
from flask import Flask, jsonify, request
19
@@ -631,6 +632,7 @@ class _UnixWSGIServer(WSGIServer):
631
632
def __init__(self, socket_path: str, handler_cls: type[WSGIRequestHandler]) -> None:
633
self._socket_path = socket_path
634
super().__init__(("localhost", 0), handler_cls, bind_and_activate=False)
635
+ self.server_address = cast(Any, socket_path)
636
self.server_bind()
637
self.server_activate()
638
0 commit comments