@@ -112,7 +112,8 @@ def create(
112112
113113 login_url: Optional login page URL to skip discovery
114114
115- proxy: Optional proxy configuration
115+ proxy: Proxy selection. Provide either id or name. The proxy must belong to the
116+ caller's org.
116117
117118 extra_headers: Send extra headers
118119
@@ -315,6 +316,7 @@ def login(
315316 self ,
316317 id : str ,
317318 * ,
319+ proxy : connection_login_params .Proxy | Omit = omit ,
318320 save_credential_as : str | Omit = omit ,
319321 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
320322 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -330,6 +332,9 @@ def login(
330332 credentials are stored.
331333
332334 Args:
335+ proxy: Proxy selection. Provide either id or name. The proxy must belong to the
336+ caller's org.
337+
333338 save_credential_as: If provided, saves credentials under this name upon successful login
334339
335340 extra_headers: Send extra headers
@@ -345,7 +350,11 @@ def login(
345350 return self ._post (
346351 f"/auth/connections/{ id } /login" ,
347352 body = maybe_transform (
348- {"save_credential_as" : save_credential_as }, connection_login_params .ConnectionLoginParams
353+ {
354+ "proxy" : proxy ,
355+ "save_credential_as" : save_credential_as ,
356+ },
357+ connection_login_params .ConnectionLoginParams ,
349358 ),
350359 options = make_request_options (
351360 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
@@ -485,7 +494,8 @@ async def create(
485494
486495 login_url: Optional login page URL to skip discovery
487496
488- proxy: Optional proxy configuration
497+ proxy: Proxy selection. Provide either id or name. The proxy must belong to the
498+ caller's org.
489499
490500 extra_headers: Send extra headers
491501
@@ -688,6 +698,7 @@ async def login(
688698 self ,
689699 id : str ,
690700 * ,
701+ proxy : connection_login_params .Proxy | Omit = omit ,
691702 save_credential_as : str | Omit = omit ,
692703 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
693704 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -703,6 +714,9 @@ async def login(
703714 credentials are stored.
704715
705716 Args:
717+ proxy: Proxy selection. Provide either id or name. The proxy must belong to the
718+ caller's org.
719+
706720 save_credential_as: If provided, saves credentials under this name upon successful login
707721
708722 extra_headers: Send extra headers
@@ -718,7 +732,11 @@ async def login(
718732 return await self ._post (
719733 f"/auth/connections/{ id } /login" ,
720734 body = await async_maybe_transform (
721- {"save_credential_as" : save_credential_as }, connection_login_params .ConnectionLoginParams
735+ {
736+ "proxy" : proxy ,
737+ "save_credential_as" : save_credential_as ,
738+ },
739+ connection_login_params .ConnectionLoginParams ,
722740 ),
723741 options = make_request_options (
724742 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
0 commit comments