Skip to content

Commit 1b3cb2f

Browse files
nickbroonmax-wittig
authored andcommitted
fix: add retry_transient_errors to merge_config
`merge_config()` supports other options that the constructor and `from_config()` factory method do, and was just missing this one.
1 parent a47b5e0 commit 1b3cb2f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎gitlab/client.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ def merge_config(
352352
pagination=options.get("pagination") or config.pagination,
353353
order_by=options.get("order_by") or config.order_by,
354354
user_agent=options.get("user_agent") or config.user_agent,
355+
retry_transient_errors=options.get("retry_transient_errors")
356+
or config.retry_transient_errors,
355357
)
356358

357359
@staticmethod

0 commit comments

Comments
 (0)