changeset 22:9325dda642b4

yapf
author Lewin Bormann <lbo@spheniscida.de>
date Sat, 17 Oct 2020 19:34:11 +0200
parents 474387f2a457
children 0bfc62d9576e
files generate/generate.py
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/generate/generate.py	Sat Oct 17 19:33:18 2020 +0200
+++ b/generate/generate.py	Sat Oct 17 19:34:11 2020 +0200
@@ -243,7 +243,9 @@
                 'param': p,
                 'snake_param': sp
             } for (p, sp) in required_parameters.items()],
-            'scopes': [{'scope': s} for s in method['scopes']],
+            'scopes': [{
+                'scope': s
+            } for s in method['scopes']],
             'description': method.get('description', ''),
             'http_method': http_method
         }
@@ -266,7 +268,9 @@
                     'param': p,
                     'snake_param': sp
                 } for (p, sp) in required_parameters.items()],
-                'scopes': [{'scope': s} for s in method['scopes']],
+                'scopes': [{
+                    'scope': s
+                } for s in method['scopes']],
                 'description': method.get('description', ''),
                 'http_method': http_method,
             }