Fix typo in dict comprehension
This commit is contained in:
parent
aca44fd69c
commit
bc21b70be1
|
@ -11,7 +11,7 @@ def android_grpc_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def android_proto_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def c_proto_library(name, **kwargs): # buildifier: disable=function-docstring
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def cpp_grpc_library(name, **kwargs): # buildifier: disable=function-docstring
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def cpp_proto_library(name, **kwargs): # buildifier: disable=function-docstring
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def csharp_grpc_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def csharp_proto_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def d_proto_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def fsharp_grpc_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def fsharp_proto_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def java_grpc_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def java_proto_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def js_grpc_node_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def js_grpc_web_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def js_proto_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def objc_grpc_library(name, **kwargs): # buildifier: disable=function-docstring
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def objc_proto_library(name, **kwargs): # buildifier: disable=function-docstrin
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def python_grpc_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def python_grpclib_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def python_proto_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def ruby_grpc_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def ruby_proto_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -13,7 +13,7 @@ def rust_grpc_library(name, **kwargs): # buildifier: disable=function-docstring
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -13,7 +13,7 @@ def rust_proto_library(name, **kwargs): # buildifier: disable=function-docstrin
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def scala_grpc_library(name, **kwargs): # buildifier: disable=function-docstrin
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def scala_proto_library(name, **kwargs): # buildifier: disable=function-docstri
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def swift_grpc_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -11,7 +11,7 @@ def swift_proto_library(name, **kwargs):
|
|||
name = name_pb,
|
||||
**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args
|
||||
|
|
|
@ -94,7 +94,7 @@ var compileRuleTemplate = mustTemplate(`load(
|
|||
// When editing, note that Go and gateway do not use this snippet and have their own local version
|
||||
var compileArgsForwardingSnippet = `**{
|
||||
k: v
|
||||
or (k, v) in kwargs.items()
|
||||
for (k, v) in kwargs.items()
|
||||
if k in proto_compile_attrs.keys() or
|
||||
k in bazel_build_rule_common_attrs
|
||||
} # Forward args`
|
||||
|
|
Loading…
Reference in New Issue