max_concurrent: int = 5 is declared as an independent default in both Runner.__init__ and Session.__init__. Session passes its own max_concurrent to Runner at construction time, but the two defaults are not linked in any way.
If the defaults diverge — for example, if Runner is constructed directly by a user with no arguments — behavior will differ silently from Session-constructed runners. There is no single source of truth for this default.
max_concurrent: int = 5is declared as an independent default in bothRunner.__init__andSession.__init__.Sessionpasses its ownmax_concurrenttoRunnerat construction time, but the two defaults are not linked in any way.If the defaults diverge — for example, if
Runneris constructed directly by a user with no arguments — behavior will differ silently fromSession-constructed runners. There is no single source of truth for this default.