You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/gapic-generator/gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/rest.py.j2
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -182,9 +182,11 @@ class {{ service.name }}RestTransport({{ service.name }}Transport):
182
182
# TODO(yon-mg): handle nested fields corerctly rather than using only top level fields
183
183
# not required for GCE
184
184
query_params = {
185
+
{%filtersort_lines -%}
185
186
{%- forfieldinmethod.query_params%}
186
187
'{{ field|camel_case }}': request.{{ field }},
187
188
{%- endfor%}
189
+
{%endfilter -%}
188
190
}
189
191
# TODO(yon-mg): further discussion needed whether 'python truthiness' is appropriate here
0 commit comments