FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-gitlab/docs/gl_objects/templates.py at master · smitsgit/python-gitlab · GitHub
smitsgit
python-gitlab
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-gitlab
/
docs
/
gl_objects
/
templates.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
35 lines (28 loc) · 752 Bytes
Breadcrumbs
python-gitlab
/
docs
/
gl_objects
/
templates.py
Copy path
File metadata and controls
35 lines (28 loc) · 752 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
# license list
licenses
=
gl
.
licenses
.
list
()
# end license list
# license get
license
=
gl
.
licenses
.
get
(
'apache-2.0'
,
project
=
'foobar'
,
fullname
=
'John Doe'
)
print
(
license
.
content
)
# end license get
# gitignore list
gitignores
=
gl
.
gitignores
.
list
()
# end gitignore list
# gitignore get
gitignore
=
gl
.
gitignores
.
get
(
'Python'
)
print
(
gitignore
.
content
)
# end gitignore get
# gitlabciyml list
gitlabciymls
=
gl
.
gitlabciymls
.
list
()
# end gitlabciyml list
# gitlabciyml get
gitlabciyml
=
gl
.
gitlabciymls
.
get
(
'Pelican'
)
print
(
gitlabciyml
.
content
)
# end gitlabciyml get
# dockerfile list
dockerfiles
=
gl
.
dockerfiles
.
list
()
# end dockerfile list
# dockerfile get
dockerfile
=
gl
.
dockerfiles
.
get
(
'Python'
)
print
(
dockerfile
.
content
)
# end dockerfile get
Back
|
FazBrowse Home
|
New Git URL