File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,11 @@ class {{classname}}{{#isSyncClient}}Sync{{/isSyncClient}}:
98
98
return self._transporter.close()
99
99
{ {/isSyncClient} }
100
100
101
- def set_client_api_key(self, api_key: str) -> None:
101
+ { {^isSyncClient } }async { {/isSyncClient } } set_client_api_key(self, api_key: str) -> None:
102
102
"""Sets a new API key to authenticate requests."""
103
103
self._transporter.config.set_client_api_key(api_key)
104
104
105
- def add_user_agent(self, segment: str, version: Optional[str] = None) -> None:
105
+ { {^isSyncClient } }async { {/isSyncClient } } add_user_agent(self, segment: str, version: Optional[str] = None) -> None:
106
106
"""adds a segment to the default user agent, and update the headers sent with each requests as well"""
107
107
self._transporter.config.add_user_agent(segment, version)
108
108
You can’t perform that action at this time.
0 commit comments