summaryrefslogtreecommitdiff
path: root/docs/ext/object_tmpl.j2
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ext/object_tmpl.j2')
-rw-r--r--docs/ext/object_tmpl.j232
1 files changed, 0 insertions, 32 deletions
diff --git a/docs/ext/object_tmpl.j2 b/docs/ext/object_tmpl.j2
deleted file mode 100644
index 4bb9070..0000000
--- a/docs/ext/object_tmpl.j2
+++ /dev/null
@@ -1,32 +0,0 @@
-{% for attr_name, cls, dummy in obj.managers %}
-.. attribute:: {{ attr_name }}
-
- {{ cls | classref() }} - Manager for {{ cls.obj_cls | classref() }} objects.
-
-{% endfor %}
-
-.. method:: save(**kwargs)
-
- Send the modified object to the GitLab server. The following attributes are
- sent:
-
-{% if obj.requiredUpdateAttrs or obj.optionalUpdateAttrs %}
- {% for a in obj.requiredUpdateAttrs %}
- * ``{{ a }}`` (required)
- {% endfor %}
- {% for a in obj.optionalUpdateAttrs %}
- * ``{{ a }}`` (optional)
- {% endfor %}
-{% else %}
- {% for a in obj.requiredCreateAttrs %}
- * ``{{ a }}`` (required)
- {% endfor %}
- {% for a in obj.optionalCreateAttrs %}
- * ``{{ a }}`` (optional)
- {% endfor %}
-{% endif %}
-
- Available keys for ``kwargs`` are:
-
- * ``sudo`` (string or int): run the request as another user (requires admin
- permissions)