def get_server_by_id(server_id): new_server = NewServer() server = new_server.getServersById(server_id) return jsonify(server)
async def get_server_by_id(server_id: str): new_server = NewServer() server = new_server.getServersById(server_id) return server