Page MenuHomePhabricator

Bot's site arguments for constructor should be called as keyword argument, not positional
Closed, ResolvedPublic

Description

site arguments are handled by Bot class as keyword argument in constructor. It could set a default site if that argument is missing or the actual value is None. Instantiating ReplaceRobot breaks this rule and site argument always must be given. See https://gerrit.wikimedia.org/r/#/c/266321/ PS1