def create_server(self) -> ServerConfig:
    port = int(self._environ.get('NP_REGISTRY_API_PORT', ServerConfig.port))
    return ServerConfig(port=port)
def create_server(self) -> ServerConfig:
    port = int(self._environ.get('NP_REGISTRY_API_PORT', ServerConfig.port))
    return ServerConfig(port=port)