From 57d1b2b6dbc6f7c63d4e93b3b80c26187f791f2c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 1 May 2020 02:10:11 +0200 Subject: [PATCH] Bit of tidying up --- moulinette/__init__.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/moulinette/__init__.py b/moulinette/__init__.py index 42cc7a38..4d7bf14c 100755 --- a/moulinette/__init__.py +++ b/moulinette/__init__.py @@ -72,9 +72,7 @@ def init(logging_config=None, **kwargs): # Easy access to interfaces -def api( - namespaces, host="localhost", port=80, routes={} -): +def api(namespaces, host="localhost", port=80, routes={}): """Web server (API) interface Run a HTTP server with the moulinette for an API usage. @@ -107,13 +105,7 @@ def api( return 0 -def cli( - namespaces, - args, - output_as=None, - timeout=None, - parser_kwargs={}, -): +def cli(namespaces, args, output_as=None, timeout=None, parser_kwargs={}): """Command line interface Execute an action with the moulinette from the CLI and print its