1
0

Unify v1 and v2 REST client APIs (#5226)

This commit is contained in:
Amber Brown
2019-06-03 21:28:59 +10:00
committed by GitHub
parent d828d1dc57
commit 2889b05554
43 changed files with 296 additions and 317 deletions

View File

@@ -20,9 +20,7 @@ class CallVisitor(ast.NodeVisitor):
else:
return
if name == "client_path_patterns":
PATTERNS_V1.append(node.args[0].s)
elif name == "client_v2_patterns":
if name == "client_patterns":
PATTERNS_V2.append(node.args[0].s)