File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
packages/google-cloud-monitoring Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change 37
37
]
38
38
s .copy (v3_library , excludes = excludes )
39
39
40
- # Correct calls to routing_header
41
- # https://github.com/googleapis/gapic-generator/issues/2016
42
- s .replace (
43
- "google/cloud/*/gapic/*_client.py" ,
44
- "routing_header\(" ,
45
- "routing_header.to_grpc_metadata(" )
46
-
47
40
# metadata in tests in none but should be empty list.
48
41
# https://github.com/googleapis/gapic-generator/issues/2014
49
42
s .replace (
54
47
' metadata = []\n '
55
48
' metadata = list(metadata)\n ' )
56
49
57
-
58
- # empty objects trying to get attrs
59
- # https://github.com/googleapis/gapic-generator/issues/2015
60
- s .replace (
61
- "google/cloud/*/gapic/*_client.py" ,
62
- "(^ )(routing_header = google.api_core.gapic_v1.routing_header"
63
- ".to_grpc_metadata\(\n )"
64
- "(\s+)(\[\('[a-z\_]*?\.name', )([a-z\_]*?)(.name\)\], \)\n )"
65
- "(\s+metadata.append\(routing_header\)\n )" ,
66
- "\g<1>if hasattr(\g<5>, 'name'):\n "
67
- "\g<1> \g<2>\g<3> \g<4>\g<5>\g<6> \g<7>"
68
- )
69
-
70
50
# Issues exist where python files should defined the source encoding
71
51
# https://github.com/googleapis/gapic-generator/issues/2097
72
52
files = ['google/cloud/monitoring_v3/proto/common_pb2.py' ]
You can’t perform that action at this time.
0 commit comments