SIGN IN SIGN UP

refactor: fix mutable default arguments in backend __init__ methods (#3354)

Replace mutable default arguments (e.g., `options=SomeOptions()`) with
`None` and initialize inside functions to prevent shared state issues.
Affects 15 backend classes across the codebase.

Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>
Co-authored-by: Panos Vagenas <pva@zurich.ibm.com>
C
Cesar Berrospi Ramis committed
987bb0e585b84d65123a50ea6d36c988c76ca9a0
Parent: f2c03ed
Committed by GitHub <noreply@github.com> on 4/28/2026, 8:58:54 AM