From 08d120be7477ba097e64f61e70440f01f9f4e677 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 29 May 2019 13:11:48 +0200 Subject: [PATCH] Add the LAYER attribute to each constructor --- compiler/api/compiler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/api/compiler.py b/compiler/api/compiler.py index 21348336..64e88c9d 100644 --- a/compiler/api/compiler.py +++ b/compiler/api/compiler.py @@ -333,6 +333,7 @@ def start(): docstring_args = "No parameters required." docstring_args = "Attributes:\n ID: ``{}``\n\n ".format(c.id) + docstring_args + docstring_args = "Attributes:\n LAYER: ``{}``\n\n ".format(layer) + docstring_args if c.section == "functions": docstring_args += "\n\n Returns:\n " + get_docstring_arg_type(c.return_type)