8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa3dd24 commit cf4feefCopy full SHA for cf4feef
gitlab/client.py
@@ -1317,6 +1317,17 @@ def __init__(
1317
self._client_opts = self._get_client_opts()
1318
self._fetch_schema_from_transport = fetch_schema_from_transport
1319
1320
+ #: Create a session object for requests
1321
+ _backend: type[_backends.DefaultBackend] = kwargs.pop(
1322
+ "backend", _backends.DefaultBackend
1323
+ )
1324
+ self._backend = _backend(**kwargs)
1325
+ self.session = self._backend.client
1326
+
1327
+ self.per_page = per_page
1328
+ self.pagination = pagination
1329
+ self.order_by = order_by
1330
1331
def _get_client_opts(self) -> dict[str, Any]:
1332
headers = {"User-Agent": self._user_agent}
1333
0 commit comments