Commit 75760b34 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Common - Tools - REST API - Server:

- Fixed class constructor data types
parent 9801b7bf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,8 +29,8 @@ def log_request(logger, response):

class GenericRestServer(threading.Thread):
    def __init__(
        self, bind_port : Union[str, int], base_url : str, bind_address : Optional[str] = None,
        cls_name : str = __name__
        self, bind_port : Union[str, int], base_url : Optional[str] = None,
        bind_address : Optional[str] = None, cls_name : str = __name__
    ) -> None:
        threading.Thread.__init__(self, daemon=True)
        self.logger = logging.getLogger(cls_name)