python-gitlab 4.12.0__py3-none-any.whl → 4.12.2__py3-none-any.whl
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.
- gitlab/_version.py +1 -1
- gitlab/v4/objects/files.py +2 -0
- {python_gitlab-4.12.0.dist-info → python_gitlab-4.12.2.dist-info}/METADATA +1 -1
- {python_gitlab-4.12.0.dist-info → python_gitlab-4.12.2.dist-info}/RECORD +9 -9
- {python_gitlab-4.12.0.dist-info → python_gitlab-4.12.2.dist-info}/AUTHORS +0 -0
- {python_gitlab-4.12.0.dist-info → python_gitlab-4.12.2.dist-info}/COPYING +0 -0
- {python_gitlab-4.12.0.dist-info → python_gitlab-4.12.2.dist-info}/WHEEL +0 -0
- {python_gitlab-4.12.0.dist-info → python_gitlab-4.12.2.dist-info}/entry_points.txt +0 -0
- {python_gitlab-4.12.0.dist-info → python_gitlab-4.12.2.dist-info}/top_level.txt +0 -0
gitlab/_version.py
CHANGED
gitlab/v4/objects/files.py
CHANGED
@@ -112,6 +112,7 @@ class ProjectFileManager(CreateMixin, UpdateMixin, DeleteMixin, RESTManager):
|
|
112
112
|
@cli.register_custom_action(
|
113
113
|
cls_names="ProjectFileManager", required=("file_path", "ref")
|
114
114
|
)
|
115
|
+
@exc.on_http_error(exc.GitlabGetError)
|
115
116
|
def get(self, file_path: str, ref: str, **kwargs: Any) -> ProjectFile:
|
116
117
|
"""Retrieve a single file.
|
117
118
|
|
@@ -136,6 +137,7 @@ class ProjectFileManager(CreateMixin, UpdateMixin, DeleteMixin, RESTManager):
|
|
136
137
|
assert isinstance(server_data, dict)
|
137
138
|
return self._obj_cls(self, server_data)
|
138
139
|
|
140
|
+
@exc.on_http_error(exc.GitlabHeadError)
|
139
141
|
def head(
|
140
142
|
self, file_path: str, ref: str, **kwargs: Any
|
141
143
|
) -> "requests.structures.CaseInsensitiveDict[Any]":
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: python-gitlab
|
3
|
-
Version: 4.12.
|
3
|
+
Version: 4.12.2
|
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
|
gitlab/__init__.py,sha256=DlY_IEbIbeTJnMfkcl4866XbJ_50UiaE4yI0PwOq36E,1406
|
2
2
|
gitlab/__main__.py,sha256=HTesNl0UAU6mPb9EXWkTKMy6Q6pAUxGi3iPnDHTE2uE,68
|
3
|
-
gitlab/_version.py,sha256=
|
3
|
+
gitlab/_version.py,sha256=SjNFbrDkUxHkuiTFwBVJBRUlBxRBAmC7p0HnmwGphm8,250
|
4
4
|
gitlab/base.py,sha256=5cotawlHD01Vw88aN4o7wNIhDyk_bmcwubX4mbOpnVo,13780
|
5
5
|
gitlab/cli.py,sha256=d3-LtZuA1Fgon5wZWn4c3E70fTIu4mM4Juyhh3F8EBs,12416
|
6
6
|
gitlab/client.py,sha256=WK13AV69dJg-5dWIcYV51_ylExuZolrCGXSLHT1vDkU,51217
|
@@ -45,7 +45,7 @@ gitlab/v4/objects/epics.py,sha256=HKLpEL7_K54M6prGjga3qw5VfI2ZGGxBbfz42Oumvr0,41
|
|
45
45
|
gitlab/v4/objects/events.py,sha256=20yCSlR9XB75AwMzatmAt4VdT9PL2nX0t1p1sAWbrvI,7067
|
46
46
|
gitlab/v4/objects/export_import.py,sha256=XVmrSq_qHwQr3XamFPfISEXnlBd-icJRm2CCa3V2puY,1909
|
47
47
|
gitlab/v4/objects/features.py,sha256=N7T52I2JyNIgD1JejrSr8fNa14ZlAUxrS2VceUekhj0,1973
|
48
|
-
gitlab/v4/objects/files.py,sha256=
|
48
|
+
gitlab/v4/objects/files.py,sha256=YdZoTrtZ9htxcVsthmPoU8gfsmm0YY6_PcCHFi1mUo8,11674
|
49
49
|
gitlab/v4/objects/geo_nodes.py,sha256=tD9piU7OIZgbNQRUeLTFPtAJ6PVL_SI6tR_zh6Tm2M8,3686
|
50
50
|
gitlab/v4/objects/group_access_tokens.py,sha256=EijY0sfsp0Gtx_q4JLBeLL3jphx5b_6-nTzKxV272jc,1023
|
51
51
|
gitlab/v4/objects/groups.py,sha256=YxOeaRYUjhu8PicCicVT7Eua04YuyOLAc8J13V7r9Gg,15958
|
@@ -95,10 +95,10 @@ gitlab/v4/objects/triggers.py,sha256=UAERq_C-QdPBbBQPHLh5IfhpkdDeIxdnVGPHfu9Qy5Y
|
|
95
95
|
gitlab/v4/objects/users.py,sha256=_gGrTwcE17jeoXIPgfFSv54jtF1_9C1R0Y0hhssTvXY,21381
|
96
96
|
gitlab/v4/objects/variables.py,sha256=S0Vz32jEpUbo4J2js8gMPPTVpcy1ge5FYVHLiPz9c-A,2627
|
97
97
|
gitlab/v4/objects/wikis.py,sha256=JtI1cQqZV1_PRfKVlQRMh4LZjdxEfi9T2VuFYv6PrV8,1775
|
98
|
-
python_gitlab-4.12.
|
99
|
-
python_gitlab-4.12.
|
100
|
-
python_gitlab-4.12.
|
101
|
-
python_gitlab-4.12.
|
102
|
-
python_gitlab-4.12.
|
103
|
-
python_gitlab-4.12.
|
104
|
-
python_gitlab-4.12.
|
98
|
+
python_gitlab-4.12.2.dist-info/AUTHORS,sha256=Z0P61GJSVnp7iFbRcMezhx3f4zMyPkVmG--TWaRo768,526
|
99
|
+
python_gitlab-4.12.2.dist-info/COPYING,sha256=2n6rt7r999OuXp8iOqW9we7ORaxWncIbOwN1ILRGR2g,7651
|
100
|
+
python_gitlab-4.12.2.dist-info/METADATA,sha256=_wrnXhZ_6bvybS6wetD9T52i6MXk87DSKOx-pI0pxn0,8311
|
101
|
+
python_gitlab-4.12.2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
102
|
+
python_gitlab-4.12.2.dist-info/entry_points.txt,sha256=nhpKLLP_uQPFByn8UtE9zsvQQwa402t52o_Cw9IFXMo,43
|
103
|
+
python_gitlab-4.12.2.dist-info/top_level.txt,sha256=MvIaP8p_Oaf4gO_hXmHkX-5y2deHLp1pe6tJR3ukQ6o,7
|
104
|
+
python_gitlab-4.12.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|