[gerrit_util] Update docstring for new param

Change-Id: Ifb6106ad0063183ee0a0377bb3564c4fc99d88ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5673779
Auto-Submit: Allen Li <ayatane@chromium.org>
Reviewed-by: Yiwei Zhang <yiwzhang@google.com>
Commit-Queue: Allen Li <ayatane@chromium.org>
changes/79/5673779/2
Allen Li 11 months ago committed by LUCI CQ
parent d7d8221581
commit ca091f0d16

@ -223,7 +223,11 @@ class Authenticator(object):
@classmethod
def is_applicable(cls, *, conn: Optional[HttpConn] = None) -> bool:
"""Must return True if this Authenticator is available in the current
environment."""
environment.
If conn is not None, return True if this Authenticator is
applicable to the given conn in the current environment.
"""
raise NotImplementedError()
def ensure_authenticated(self, gerrit_host: str, git_host: str) -> Tuple[bool, str]:

Loading…
Cancel
Save