Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbeadd17

Browse files
fix(api): services: add missinglazy parameter
Commit8da0b75 added the `lazy`parameter to the services `get()` method but missed then using the`lazy` parameter when it called `super(...).get(...)`Closes:#1828
1 parent4a000b6 commitbeadd17

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎gitlab/v4/objects/services.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,10 @@ def get(
275275
GitlabAuthenticationError: If authentication is not correct
276276
GitlabGetError: If the server cannot perform the request
277277
"""
278-
obj=cast(ProjectService,super(ProjectServiceManager,self).get(id,**kwargs))
278+
obj=cast(
279+
ProjectService,
280+
super(ProjectServiceManager,self).get(id,lazy=lazy,**kwargs),
281+
)
279282
obj.id=id
280283
returnobj
281284

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp