python-gitlab 4.8.0__tar.gz → 4.9.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/CHANGELOG.md +29 -0
  2. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/PKG-INFO +1 -1
  3. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/api-usage.rst +1 -1
  4. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/snippets.rst +10 -1
  5. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/_version.py +1 -1
  6. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/snippets.py +53 -3
  7. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/python_gitlab.egg-info/PKG-INFO +1 -1
  8. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/requirements-docs.txt +2 -2
  9. python_gitlab-4.9.0/requirements-lint.txt +13 -0
  10. python_gitlab-4.9.0/requirements-precommit.txt +1 -0
  11. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/requirements-test.txt +3 -3
  12. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_snippets.py +7 -0
  13. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/fixtures/.env +1 -1
  14. python_gitlab-4.8.0/requirements-lint.txt +0 -13
  15. python_gitlab-4.8.0/requirements-precommit.txt +0 -1
  16. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/AUTHORS +0 -0
  17. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/COPYING +0 -0
  18. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/MANIFEST.in +0 -0
  19. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/README.rst +0 -0
  20. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/Makefile +0 -0
  21. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/__init__.py +0 -0
  22. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/_static/js/gitter.js +0 -0
  23. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/api/gitlab.rst +0 -0
  24. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/api/gitlab.v4.rst +0 -0
  25. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/api-levels.rst +0 -0
  26. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/api-objects.rst +0 -0
  27. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/api-usage-advanced.rst +0 -0
  28. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/changelog.md +0 -0
  29. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/cli-examples.rst +0 -0
  30. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/cli-objects.rst +0 -0
  31. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/cli-usage.rst +0 -0
  32. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/conf.py +0 -0
  33. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/ext/__init__.py +0 -0
  34. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/ext/docstrings.py +0 -0
  35. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/ext/manager_tmpl.j2 +0 -0
  36. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/faq.rst +0 -0
  37. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/access_requests.rst +0 -0
  38. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/appearance.rst +0 -0
  39. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/applications.rst +0 -0
  40. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/badges.rst +0 -0
  41. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/boards.rst +0 -0
  42. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/branches.rst +0 -0
  43. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/bulk_imports.rst +0 -0
  44. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/ci_lint.rst +0 -0
  45. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/cluster_agents.rst +0 -0
  46. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/clusters.rst +0 -0
  47. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/commits.rst +0 -0
  48. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/deploy_keys.rst +0 -0
  49. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/deploy_tokens.rst +0 -0
  50. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/deployments.rst +0 -0
  51. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/discussions.rst +0 -0
  52. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/draft_notes.rst +0 -0
  53. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/emojis.rst +0 -0
  54. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/environments.rst +0 -0
  55. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/epics.rst +0 -0
  56. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/events.rst +0 -0
  57. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/features.rst +0 -0
  58. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/geo_nodes.rst +0 -0
  59. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/group_access_tokens.rst +0 -0
  60. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/groups.rst +0 -0
  61. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/invitations.rst +0 -0
  62. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/issues.rst +0 -0
  63. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/iterations.rst +0 -0
  64. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/job_token_scope.rst +0 -0
  65. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/keys.rst +0 -0
  66. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/labels.rst +0 -0
  67. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/merge_request_approvals.rst +0 -0
  68. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/merge_requests.rst +0 -0
  69. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/merge_trains.rst +0 -0
  70. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/messages.rst +0 -0
  71. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/milestones.rst +0 -0
  72. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/namespaces.rst +0 -0
  73. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/notes.rst +0 -0
  74. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/notifications.rst +0 -0
  75. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/packages.rst +0 -0
  76. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/pagesdomains.rst +0 -0
  77. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/personal_access_tokens.rst +0 -0
  78. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/pipelines_and_jobs.rst +0 -0
  79. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/project_access_tokens.rst +0 -0
  80. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/projects.rst +0 -0
  81. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/protected_branches.rst +0 -0
  82. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/protected_container_repositories.rst +0 -0
  83. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/protected_environments.rst +0 -0
  84. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/protected_packages.rst +0 -0
  85. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/releases.rst +0 -0
  86. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/remote_mirrors.rst +0 -0
  87. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/repositories.rst +0 -0
  88. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/repository_tags.rst +0 -0
  89. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/resource_groups.rst +0 -0
  90. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/runners.rst +0 -0
  91. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/search.rst +0 -0
  92. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/secure_files.rst +0 -0
  93. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/settings.rst +0 -0
  94. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/sidekiq.rst +0 -0
  95. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/statistics.rst +0 -0
  96. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/system_hooks.rst +0 -0
  97. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/templates.rst +0 -0
  98. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/todos.rst +0 -0
  99. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/topics.rst +0 -0
  100. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/users.rst +0 -0
  101. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/variables.rst +0 -0
  102. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/gl_objects/wikis.rst +0 -0
  103. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/index.rst +0 -0
  104. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/make.bat +0 -0
  105. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/docs/release-notes.rst +0 -0
  106. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/__init__.py +0 -0
  107. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/__main__.py +0 -0
  108. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/_backends/__init__.py +0 -0
  109. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/_backends/protocol.py +0 -0
  110. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/_backends/requests_backend.py +0 -0
  111. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/base.py +0 -0
  112. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/cli.py +0 -0
  113. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/client.py +0 -0
  114. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/config.py +0 -0
  115. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/const.py +0 -0
  116. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/exceptions.py +0 -0
  117. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/mixins.py +0 -0
  118. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/py.typed +0 -0
  119. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/types.py +0 -0
  120. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/utils.py +0 -0
  121. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/__init__.py +0 -0
  122. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/cli.py +0 -0
  123. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/__init__.py +0 -0
  124. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/access_requests.py +0 -0
  125. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/appearance.py +0 -0
  126. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/applications.py +0 -0
  127. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/artifacts.py +0 -0
  128. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/audit_events.py +0 -0
  129. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/award_emojis.py +0 -0
  130. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/badges.py +0 -0
  131. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/boards.py +0 -0
  132. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/branches.py +0 -0
  133. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/broadcast_messages.py +0 -0
  134. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/bulk_imports.py +0 -0
  135. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/ci_lint.py +0 -0
  136. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/cluster_agents.py +0 -0
  137. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/clusters.py +0 -0
  138. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/commits.py +0 -0
  139. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/container_registry.py +0 -0
  140. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/custom_attributes.py +0 -0
  141. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/deploy_keys.py +0 -0
  142. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/deploy_tokens.py +0 -0
  143. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/deployments.py +0 -0
  144. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/discussions.py +0 -0
  145. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/draft_notes.py +0 -0
  146. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/environments.py +0 -0
  147. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/epics.py +0 -0
  148. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/events.py +0 -0
  149. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/export_import.py +0 -0
  150. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/features.py +0 -0
  151. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/files.py +0 -0
  152. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/geo_nodes.py +0 -0
  153. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/group_access_tokens.py +0 -0
  154. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/groups.py +0 -0
  155. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/hooks.py +0 -0
  156. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/integrations.py +0 -0
  157. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/invitations.py +0 -0
  158. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/issues.py +0 -0
  159. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/iterations.py +0 -0
  160. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/job_token_scope.py +0 -0
  161. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/jobs.py +0 -0
  162. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/keys.py +0 -0
  163. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/labels.py +0 -0
  164. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/ldap.py +0 -0
  165. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/members.py +0 -0
  166. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/merge_request_approvals.py +0 -0
  167. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/merge_requests.py +0 -0
  168. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/merge_trains.py +0 -0
  169. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/milestones.py +0 -0
  170. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/namespaces.py +0 -0
  171. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/notes.py +0 -0
  172. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/notification_settings.py +0 -0
  173. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/package_protection_rules.py +0 -0
  174. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/packages.py +0 -0
  175. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/pages.py +0 -0
  176. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/personal_access_tokens.py +0 -0
  177. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/pipelines.py +0 -0
  178. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/project_access_tokens.py +0 -0
  179. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/projects.py +0 -0
  180. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/push_rules.py +0 -0
  181. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/registry_protection_rules.py +0 -0
  182. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/releases.py +0 -0
  183. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/repositories.py +0 -0
  184. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/resource_groups.py +0 -0
  185. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/reviewers.py +0 -0
  186. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/runners.py +0 -0
  187. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/secure_files.py +0 -0
  188. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/service_accounts.py +0 -0
  189. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/settings.py +0 -0
  190. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/sidekiq.py +0 -0
  191. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/statistics.py +0 -0
  192. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/tags.py +0 -0
  193. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/templates.py +0 -0
  194. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/todos.py +0 -0
  195. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/topics.py +0 -0
  196. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/triggers.py +0 -0
  197. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/users.py +0 -0
  198. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/variables.py +0 -0
  199. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/gitlab/v4/objects/wikis.py +0 -0
  200. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/pyproject.toml +0 -0
  201. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/python_gitlab.egg-info/SOURCES.txt +0 -0
  202. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/python_gitlab.egg-info/dependency_links.txt +0 -0
  203. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/python_gitlab.egg-info/entry_points.txt +0 -0
  204. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/python_gitlab.egg-info/requires.txt +0 -0
  205. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/python_gitlab.egg-info/top_level.txt +0 -0
  206. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/requirements-docker.txt +0 -0
  207. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/requirements.txt +0 -0
  208. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/setup.cfg +0 -0
  209. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/__init__.py +0 -0
  210. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/conftest.py +0 -0
  211. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/__init__.py +0 -0
  212. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/__init__.py +0 -0
  213. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_boards.py +0 -0
  214. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_branches.py +0 -0
  215. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_bulk_imports.py +0 -0
  216. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_current_user.py +0 -0
  217. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_deploy_keys.py +0 -0
  218. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_deploy_tokens.py +0 -0
  219. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_epics.py +0 -0
  220. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_gitlab.py +0 -0
  221. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_groups.py +0 -0
  222. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_import_export.py +0 -0
  223. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_issues.py +0 -0
  224. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_keys.py +0 -0
  225. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_lazy_objects.py +0 -0
  226. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_merge_requests.py +0 -0
  227. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_packages.py +0 -0
  228. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_project_job_token_scope.py +0 -0
  229. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_projects.py +0 -0
  230. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_push_rules.py +0 -0
  231. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_registry.py +0 -0
  232. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_releases.py +0 -0
  233. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_repository.py +0 -0
  234. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_services.py +0 -0
  235. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_statistics.py +0 -0
  236. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_topics.py +0 -0
  237. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_users.py +0 -0
  238. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_variables.py +0 -0
  239. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/api/test_wikis.py +0 -0
  240. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/cli/__init__.py +0 -0
  241. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/cli/conftest.py +0 -0
  242. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/cli/test_cli.py +0 -0
  243. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/cli/test_cli_artifacts.py +0 -0
  244. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/cli/test_cli_packages.py +0 -0
  245. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/cli/test_cli_projects.py +0 -0
  246. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/cli/test_cli_repository.py +0 -0
  247. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/cli/test_cli_resource_access_tokens.py +0 -0
  248. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/cli/test_cli_users.py +0 -0
  249. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/cli/test_cli_v4.py +0 -0
  250. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/cli/test_cli_variables.py +0 -0
  251. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/conftest.py +0 -0
  252. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/ee-test.py +0 -0
  253. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/fixtures/__init__.py +0 -0
  254. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/fixtures/avatar.png +0 -0
  255. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/fixtures/create_license.rb +0 -0
  256. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/fixtures/docker-compose.yml +0 -0
  257. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/fixtures/docker.py +0 -0
  258. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/fixtures/invalid_auth.cfg +0 -0
  259. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/fixtures/invalid_version.cfg +0 -0
  260. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/fixtures/set_token.rb +0 -0
  261. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/functional/helpers.py +0 -0
  262. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/install/test_install.py +0 -0
  263. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/smoke/__init__.py +0 -0
  264. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/smoke/test_dists.py +0 -0
  265. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/__init__.py +0 -0
  266. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/_backends/__init__.py +0 -0
  267. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/_backends/test_requests_backend.py +0 -0
  268. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/base/test_rest_manager.py +0 -0
  269. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/base/test_rest_object.py +0 -0
  270. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/conftest.py +0 -0
  271. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/helpers.py +0 -0
  272. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/meta/__init__.py +0 -0
  273. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/meta/test_ensure_type_hints.py +0 -0
  274. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/meta/test_imports.py +0 -0
  275. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/meta/test_mro.py +0 -0
  276. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/mixins/__init__.py +0 -0
  277. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/mixins/test_meta_mixins.py +0 -0
  278. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/mixins/test_mixin_methods.py +0 -0
  279. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/mixins/test_object_mixins_attributes.py +0 -0
  280. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/__init__.py +0 -0
  281. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/conftest.py +0 -0
  282. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_appearance.py +0 -0
  283. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_applications.py +0 -0
  284. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_audit_events.py +0 -0
  285. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_badges.py +0 -0
  286. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_bridges.py +0 -0
  287. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_bulk_imports.py +0 -0
  288. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_ci_lint.py +0 -0
  289. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_cluster_agents.py +0 -0
  290. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_commits.py +0 -0
  291. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_deploy_tokens.py +0 -0
  292. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_deployments.py +0 -0
  293. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_draft_notes.py +0 -0
  294. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_environments.py +0 -0
  295. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_group_access_tokens.py +0 -0
  296. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_groups.py +0 -0
  297. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_hooks.py +0 -0
  298. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_invitations.py +0 -0
  299. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_issues.py +0 -0
  300. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_iterations.py +0 -0
  301. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_job_artifacts.py +0 -0
  302. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_job_token_scope.py +0 -0
  303. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_jobs.py +0 -0
  304. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_keys.py +0 -0
  305. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_members.py +0 -0
  306. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_merge_request_pipelines.py +0 -0
  307. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_merge_requests.py +0 -0
  308. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_merge_trains.py +0 -0
  309. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_package_protection_rules.py +0 -0
  310. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_packages.py +0 -0
  311. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_personal_access_tokens.py +0 -0
  312. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_pipeline_schedules.py +0 -0
  313. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_pipelines.py +0 -0
  314. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_project_access_tokens.py +0 -0
  315. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_project_import_export.py +0 -0
  316. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_project_merge_request_approvals.py +0 -0
  317. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_project_statistics.py +0 -0
  318. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_projects.py +0 -0
  319. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_registry_protection_rules.py +0 -0
  320. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_registry_repositories.py +0 -0
  321. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_releases.py +0 -0
  322. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_remote_mirrors.py +0 -0
  323. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_repositories.py +0 -0
  324. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_resource_groups.py +0 -0
  325. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_resource_iteration_events.py +0 -0
  326. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_resource_label_events.py +0 -0
  327. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_resource_milestone_events.py +0 -0
  328. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_resource_state_events.py +0 -0
  329. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_runners.py +0 -0
  330. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_secure_files.py +0 -0
  331. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_services.py +0 -0
  332. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_snippets.py +0 -0
  333. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_statistics.py +0 -0
  334. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_submodules.py +0 -0
  335. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_todos.py +0 -0
  336. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_topics.py +0 -0
  337. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_users.py +0 -0
  338. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/objects/test_variables.py +0 -0
  339. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/test_cli.py +0 -0
  340. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/test_config.py +0 -0
  341. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/test_exceptions.py +0 -0
  342. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/test_gitlab.py +0 -0
  343. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/test_gitlab_auth.py +0 -0
  344. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/test_gitlab_http_methods.py +0 -0
  345. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/test_types.py +0 -0
  346. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tests/unit/test_utils.py +0 -0
  347. {python_gitlab-4.8.0 → python_gitlab-4.9.0}/tox.ini +0 -0
@@ -1,5 +1,34 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v4.9.0 (2024-08-06)
4
+
5
+ ### Chore
6
+
7
+ * chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v38 ([`f13968b`](https://github.com/python-gitlab/python-gitlab/commit/f13968be9e2bb532f3c1185c1fa4185c05335552))
8
+
9
+ * chore(deps): update all non-major dependencies ([`f95ca26`](https://github.com/python-gitlab/python-gitlab/commit/f95ca26b411e5a8998eb4b81e41c061726271240))
10
+
11
+ * chore(deps): update dependency types-setuptools to v71 ([`d6a7dba`](https://github.com/python-gitlab/python-gitlab/commit/d6a7dba600923e582064a77579dea82281871c25))
12
+
13
+ * chore(deps): update python-semantic-release/upload-to-gh-release digest to 0dcddac ([`eb5c6f7`](https://github.com/python-gitlab/python-gitlab/commit/eb5c6f7fb6487da21c69582adbc69aaf36149143))
14
+
15
+ * chore(deps): update gitlab/gitlab-ee docker tag to v17.2.1-ee.0 ([`d13a656`](https://github.com/python-gitlab/python-gitlab/commit/d13a656565898886cc6ba11028b3bcb719c21f0f))
16
+
17
+ * chore(deps): update all non-major dependencies ([`7adc86b`](https://github.com/python-gitlab/python-gitlab/commit/7adc86b2e202cad42776991f0ed8c81517bb37ad))
18
+
19
+ * chore(deps): update python-semantic-release/upload-to-gh-release digest to e2355e1 ([`eb18552`](https://github.com/python-gitlab/python-gitlab/commit/eb18552e423e270a27a2b205bfd2f22fcb2eb949))
20
+
21
+ * chore(deps): update all non-major dependencies ([`e820db0`](https://github.com/python-gitlab/python-gitlab/commit/e820db0d9db42a826884b45a76267fee861453d4))
22
+
23
+ * chore(ci): make pre-commit check happy
24
+
25
+ pre-commit incorrectly wants double back-quotes inside the code
26
+ section. Rather than fight it, just use single quotes. ([`67370d8`](https://github.com/python-gitlab/python-gitlab/commit/67370d8f083ddc34c0acf0c0b06742a194dfa735))
27
+
28
+ ### Feature
29
+
30
+ * feat(snippets): add support for listing all instance snippets ([`64ae61e`](https://github.com/python-gitlab/python-gitlab/commit/64ae61ed9ba60169037703041c2a9a71017475b9))
31
+
3
32
  ## v4.8.0 (2024-07-16)
4
33
 
5
34
  ### Chore
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-gitlab
3
- Version: 4.8.0
3
+ Version: 4.9.0
4
4
  Summary: A python wrapper for the GitLab API
5
5
  Author-email: Gauvain Pocentek <gauvain@pocentek.net>
6
6
  Maintainer-email: John Villalovos <john@sodarock.com>, Max Wittig <max.wittig@siemens.com>, Nejc Habjan <nejc.habjan@siemens.com>, Roger Meier <r.meier@siemens.com>
@@ -428,7 +428,7 @@ then ``save`` the object (using ``sudo``):
428
428
  group = gl.groups.get('example-group')
429
429
  notification_setting = group.notificationsettings.get(sudo='user1')
430
430
  notification_setting.level = gitlab.const.NOTIFICATION_LEVEL_GLOBAL
431
- # Must use `sudo` again when doing the save.
431
+ # Must use 'sudo' again when doing the save.
432
432
  notification_setting.save(sudo='user1')
433
433
 
434
434
 
@@ -22,7 +22,16 @@ List snippets owned by the current user::
22
22
 
23
23
  List the public snippets::
24
24
 
25
- public_snippets = gl.snippets.public()
25
+ public_snippets = gl.snippets.list_public()
26
+
27
+ List all snippets::
28
+
29
+ all_snippets = gl.snippets.list_all()
30
+
31
+ .. warning::
32
+
33
+ Only users with the Administrator or Auditor access levels can see all snippets
34
+ (both personal and project). See the upstream API documentation for more details.
26
35
 
27
36
  Get a snippet::
28
37
 
@@ -3,4 +3,4 @@ __copyright__ = "Copyright 2013-2019 Gauvain Pocentek, 2019-2023 python-gitlab t
3
3
  __email__ = "gauvainpocentek@gmail.com"
4
4
  __license__ = "LGPL3"
5
5
  __title__ = "python-gitlab"
6
- __version__ = "4.8.0"
6
+ __version__ = "4.9.0"
@@ -90,11 +90,35 @@ class SnippetManager(CRUDMixin, RESTManager):
90
90
  )
91
91
 
92
92
  @cli.register_custom_action(cls_names="SnippetManager")
93
- def public(self, **kwargs: Any) -> Union[RESTObjectList, List[RESTObject]]:
94
- """List all the public snippets.
93
+ def list_public(self, **kwargs: Any) -> Union[RESTObjectList, List[RESTObject]]:
94
+ """List all public snippets.
95
+
96
+ Args:
97
+ get_all: If True, return all the items, without pagination
98
+ per_page: Number of items to retrieve per request
99
+ page: ID of the page to return (starts with page 1)
100
+ iterator: If set to True and no pagination option is
101
+ defined, return a generator instead of a list
102
+ **kwargs: Extra options to send to the server (e.g. sudo)
103
+
104
+ Raises:
105
+ GitlabListError: If the list could not be retrieved
106
+
107
+ Returns:
108
+ The list of snippets, or a generator if `iterator` is True
109
+ """
110
+ return self.list(path="/snippets/public", **kwargs)
111
+
112
+ @cli.register_custom_action(cls_names="SnippetManager")
113
+ def list_all(self, **kwargs: Any) -> Union[RESTObjectList, List[RESTObject]]:
114
+ """List all snippets.
95
115
 
96
116
  Args:
97
- all: If True the returned object will be a list
117
+ get_all: If True, return all the items, without pagination
118
+ per_page: Number of items to retrieve per request
119
+ page: ID of the page to return (starts with page 1)
120
+ iterator: If set to True and no pagination option is
121
+ defined, return a generator instead of a list
98
122
  **kwargs: Extra options to send to the server (e.g. sudo)
99
123
 
100
124
  Raises:
@@ -103,6 +127,32 @@ class SnippetManager(CRUDMixin, RESTManager):
103
127
  Returns:
104
128
  A generator for the snippets list
105
129
  """
130
+ return self.list(path="/snippets/all", **kwargs)
131
+
132
+ def public(self, **kwargs: Any) -> Union[RESTObjectList, List[RESTObject]]:
133
+ """List all public snippets.
134
+
135
+ Args:
136
+ get_all: If True, return all the items, without pagination
137
+ per_page: Number of items to retrieve per request
138
+ page: ID of the page to return (starts with page 1)
139
+ iterator: If set to True and no pagination option is
140
+ defined, return a generator instead of a list
141
+ **kwargs: Extra options to send to the server (e.g. sudo)
142
+
143
+ Raises:
144
+ GitlabListError: If the list could not be retrieved
145
+
146
+ Returns:
147
+ The list of snippets, or a generator if `iterator` is True
148
+ """
149
+ utils.warn(
150
+ message=(
151
+ "Gitlab.snippets.public() is deprecated and will be removed in a"
152
+ "future major version. Use Gitlab.snippets.list_public() instead."
153
+ ),
154
+ category=DeprecationWarning,
155
+ )
106
156
  return self.list(path="/snippets/public", **kwargs)
107
157
 
108
158
  def get(self, id: Union[str, int], lazy: bool = False, **kwargs: Any) -> Snippet:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-gitlab
3
- Version: 4.8.0
3
+ Version: 4.9.0
4
4
  Summary: A python wrapper for the GitLab API
5
5
  Author-email: Gauvain Pocentek <gauvain@pocentek.net>
6
6
  Maintainer-email: John Villalovos <john@sodarock.com>, Max Wittig <max.wittig@siemens.com>, Nejc Habjan <nejc.habjan@siemens.com>, Roger Meier <r.meier@siemens.com>
@@ -1,6 +1,6 @@
1
1
  -r requirements.txt
2
- furo==2024.5.6
2
+ furo==2024.7.18
3
3
  jinja2==3.1.4
4
4
  myst-parser==3.0.1
5
- sphinx==7.3.7
5
+ sphinx==7.4.7
6
6
  sphinxcontrib-autoprogram==0.1.9
@@ -0,0 +1,13 @@
1
+ -r requirements.txt
2
+ argcomplete==2.0.0
3
+ black==24.8.0
4
+ commitizen==3.28.0
5
+ flake8==7.1.1
6
+ isort==5.13.2
7
+ mypy==1.11.1
8
+ pylint==3.2.6
9
+ pytest==8.3.2
10
+ responses==0.25.3
11
+ types-PyYAML==6.0.12.20240724
12
+ types-requests==2.32.0.20240712
13
+ types-setuptools==71.1.0.20240726
@@ -0,0 +1 @@
1
+ pre-commit==3.8.0
@@ -1,10 +1,10 @@
1
1
  -r requirements.txt
2
2
  build==1.2.1
3
- coverage==7.6.0
3
+ coverage==7.6.1
4
4
  pytest-console-scripts==1.4.1
5
5
  pytest-cov==5.0.0
6
6
  pytest-github-actions-annotate-failures==0.2.0
7
- pytest==8.2.2
7
+ pytest==8.3.2
8
8
  PyYaml==6.0.1
9
9
  responses==0.25.3
10
- wheel==0.43.0
10
+ wheel==0.44.0
@@ -23,6 +23,13 @@ def test_snippets(gl):
23
23
  content = snippet.content()
24
24
  assert content.decode() == "import gitlab"
25
25
 
26
+ all_snippets = gl.snippets.list_all(get_all=True)
27
+ public_snippets = gl.snippets.public(get_all=True)
28
+ list_public_snippets = gl.snippets.list_public(get_all=True)
29
+ assert isinstance(all_snippets, list)
30
+ assert isinstance(list_public_snippets, list)
31
+ assert public_snippets == list_public_snippets
32
+
26
33
  snippet.delete()
27
34
 
28
35
 
@@ -1,2 +1,2 @@
1
1
  GITLAB_IMAGE=gitlab/gitlab-ee
2
- GITLAB_TAG=17.1.2-ee.0
2
+ GITLAB_TAG=17.2.1-ee.0
@@ -1,13 +0,0 @@
1
- -r requirements.txt
2
- argcomplete==2.0.0
3
- black==24.4.2
4
- commitizen==3.27.0
5
- flake8==7.1.0
6
- isort==5.13.2
7
- mypy==1.10.1
8
- pylint==3.2.5
9
- pytest==8.2.2
10
- responses==0.25.3
11
- types-PyYAML==6.0.12.20240311
12
- types-requests==2.32.0.20240712
13
- types-setuptools==70.3.0.20240710
@@ -1 +0,0 @@
1
- pre-commit==3.7.1
File without changes
File without changes
File without changes
File without changes