@@ -38,18 +38,18 @@ def templates_get(self, **kwargs): # noqa: E501
3838
3939 Gets a list of Template Metadata objects for all templates. Up to 25 results returned before results are paginated. # noqa: E501
4040 This method makes a synchronous HTTP request by default. To make an
41- asynchronous HTTP request, please pass async =True
42- >>> thread = api.templates_get(async =True)
41+ asynchronous HTTP request, please pass async_req =True
42+ >>> thread = api.templates_get(async_req =True)
4343 >>> result = thread.get()
4444
45- :param async bool
45+ :param async_req bool
4646 :param str cursor: A cursor value used to retrieve a specific page from a paginated result set.
4747 :return: TemplatesRead
4848 If the method is called asynchronously,
4949 returns the request thread.
5050 """
5151 kwargs ['_return_http_data_only' ] = True
52- if kwargs .get ('async ' ):
52+ if kwargs .get ('async_req ' ):
5353 return self .templates_get_with_http_info (** kwargs ) # noqa: E501
5454 else :
5555 (data ) = self .templates_get_with_http_info (** kwargs ) # noqa: E501
@@ -60,19 +60,19 @@ def templates_get_with_http_info(self, **kwargs): # noqa: E501
6060
6161 Gets a list of Template Metadata objects for all templates. Up to 25 results returned before results are paginated. # noqa: E501
6262 This method makes a synchronous HTTP request by default. To make an
63- asynchronous HTTP request, please pass async =True
64- >>> thread = api.templates_get_with_http_info(async =True)
63+ asynchronous HTTP request, please pass async_req =True
64+ >>> thread = api.templates_get_with_http_info(async_req =True)
6565 >>> result = thread.get()
6666
67- :param async bool
67+ :param async_req bool
6868 :param str cursor: A cursor value used to retrieve a specific page from a paginated result set.
6969 :return: TemplatesRead
7070 If the method is called asynchronously,
7171 returns the request thread.
7272 """
7373
7474 all_params = ['cursor' ] # noqa: E501
75- all_params .append ('async ' )
75+ all_params .append ('async_req ' )
7676 all_params .append ('_return_http_data_only' )
7777 all_params .append ('_preload_content' )
7878 all_params .append ('_request_timeout' )
@@ -118,7 +118,7 @@ def templates_get_with_http_info(self, **kwargs): # noqa: E501
118118 files = local_var_files ,
119119 response_type = 'TemplatesRead' , # noqa: E501
120120 auth_settings = auth_settings ,
121- async = params .get ('async ' ),
121+ async_req = params .get ('async_req ' ),
122122 _return_http_data_only = params .get ('_return_http_data_only' ),
123123 _preload_content = params .get ('_preload_content' , True ),
124124 _request_timeout = params .get ('_request_timeout' ),
@@ -129,19 +129,19 @@ def templates_template_id_get(self, template_id, target_language, **kwargs): #
129129
130130 Gets a template object with the matching ID. If the template has published content the \" compiled\" field will contain the template . # noqa: E501
131131 This method makes a synchronous HTTP request by default. To make an
132- asynchronous HTTP request, please pass async =True
133- >>> thread = api.templates_template_id_get(template_id, target_language, async =True)
132+ asynchronous HTTP request, please pass async_req =True
133+ >>> thread = api.templates_template_id_get(template_id, target_language, async_req =True)
134134 >>> result = thread.get()
135135
136- :param async bool
136+ :param async_req bool
137137 :param str template_id: A template ID (required)
138138 :param str target_language: The type of templating language to compile as. Should only be used for visual templates. (required)
139139 :return: TemplateRead
140140 If the method is called asynchronously,
141141 returns the request thread.
142142 """
143143 kwargs ['_return_http_data_only' ] = True
144- if kwargs .get ('async ' ):
144+ if kwargs .get ('async_req ' ):
145145 return self .templates_template_id_get_with_http_info (template_id , target_language , ** kwargs ) # noqa: E501
146146 else :
147147 (data ) = self .templates_template_id_get_with_http_info (template_id , target_language , ** kwargs ) # noqa: E501
@@ -152,11 +152,11 @@ def templates_template_id_get_with_http_info(self, template_id, target_language,
152152
153153 Gets a template object with the matching ID. If the template has published content the \" compiled\" field will contain the template . # noqa: E501
154154 This method makes a synchronous HTTP request by default. To make an
155- asynchronous HTTP request, please pass async =True
156- >>> thread = api.templates_template_id_get_with_http_info(template_id, target_language, async =True)
155+ asynchronous HTTP request, please pass async_req =True
156+ >>> thread = api.templates_template_id_get_with_http_info(template_id, target_language, async_req =True)
157157 >>> result = thread.get()
158158
159- :param async bool
159+ :param async_req bool
160160 :param str template_id: A template ID (required)
161161 :param str target_language: The type of templating language to compile as. Should only be used for visual templates. (required)
162162 :return: TemplateRead
@@ -165,7 +165,7 @@ def templates_template_id_get_with_http_info(self, template_id, target_language,
165165 """
166166
167167 all_params = ['template_id' , 'target_language' ] # noqa: E501
168- all_params .append ('async ' )
168+ all_params .append ('async_req ' )
169169 all_params .append ('_return_http_data_only' )
170170 all_params .append ('_preload_content' )
171171 all_params .append ('_request_timeout' )
@@ -221,7 +221,7 @@ def templates_template_id_get_with_http_info(self, template_id, target_language,
221221 files = local_var_files ,
222222 response_type = 'TemplateRead' , # noqa: E501
223223 auth_settings = auth_settings ,
224- async = params .get ('async ' ),
224+ async_req = params .get ('async_req ' ),
225225 _return_http_data_only = params .get ('_return_http_data_only' ),
226226 _preload_content = params .get ('_preload_content' , True ),
227227 _request_timeout = params .get ('_request_timeout' ),
0 commit comments