Skip to content

Commit f1cfa16

Browse files
committed
Merge pull request googleapis#119 from nanaze/flags
Update type on run_flow() to be accurate
2 parents f85d673 + 0a7cb24 commit f1cfa16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

oauth2client/tools.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ def run_flow(flow, storage, flags, http=None):
147147
Args:
148148
flow: Flow, an OAuth 2.0 Flow to step through.
149149
storage: Storage, a Storage to store the credential in.
150-
flags: argparse.ArgumentParser, the command-line flags.
150+
flags: argparse.Namespace, The command-line flags. This is the object
151+
returned from calling parse_args() on
152+
argparse.ArgumentParser as described above.
151153
http: An instance of httplib2.Http.request
152154
or something that acts like it.
153155

0 commit comments

Comments
 (0)