Skip to content

Commit beadd17

Browse files
fix(api): services: add missing lazy parameter
Commit 8da0b75 added the `lazy` parameter to the services `get()` method but missed then using the `lazy` parameter when it called `super(...).get(...)` Closes: #1828
1 parent 4a000b6 commit beadd17

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
return obj
281284

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy