File: manager_tmpl.j2

package info (click to toggle)
python-gitlab 1%3A3.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,216 kB
  • sloc: python: 21,319; makefile: 169; ruby: 27; javascript: 3
file content (50 lines) | stat: -rw-r--r-- 1,246 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{% if cls._list_filters %}
**Object listing filters**
{% for item in cls._list_filters %}
- ``{{ item }}``
{% endfor %}
{% endif %}

{% if cls._create_attrs %}
**Object Creation**
{% if cls._create_attrs.required %}
Required attributes for object create:
{% for item in cls._create_attrs.required %}
- ``{{ item }}``
{% endfor %}
{% endif %}
{% if cls._create_attrs.optional %}
Optional attributes for object create:
{% for item in cls._create_attrs.optional %}
- ``{{ item }}``
{% endfor %}
{% endif %}
{% if cls._create_attrs.exclusive %}
Mutually exclusive attributes for object create:
{% for item in cls._create_attrs.exclusive %}
- ``{{ item }}``
{% endfor %}
{% endif %}
{% endif %}

{% if cls._update_attrs %}
**Object update**
{% if cls._update_attrs.required %}
Required attributes for object update:
{% for item in cls._update_attrs.required %}
- ``{{ item }}``
{% endfor %}
{% endif %}
{% if cls._update_attrs.optional %}
Optional attributes for object update:
{% for item in cls._update_attrs.optional %}
- ``{{ item }}``
{% endfor %}
{% endif %}
{% if cls._update_attrs.exclusive %}
Mutually exclusive attributes for object update:
{% for item in cls._update_attrs.exclusive %}
- ``{{ item }}``
{% endfor %}
{% endif %}
{% endif %}