File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ def update_connection(
174174 connection_id : str ,
175175 saml_options_signing_key : Optional [str ] = None ,
176176 saml_options_signing_cert : Optional [str ] = None ,
177- ) -> SyncOrAsync [None ]:
177+ ) -> SyncOrAsync [ConnectionWithDomains ]:
178178 """Updates a single connection
179179
180180 Args:
Original file line number Diff line number Diff line change 4545]
4646
4747
48+ class SamlConnectionOptions (WorkOSModel ):
49+ """Representation of options payload of a Connection Response."""
50+
51+ signing_cert : Optional [str ]
52+
53+
4854class Connection (WorkOSModel ):
4955 object : Literal ["connection" ]
5056 id : str
@@ -54,16 +60,10 @@ class Connection(WorkOSModel):
5460 state : LiteralOrUntyped [ConnectionState ]
5561 created_at : str
5662 updated_at : str
57-
58-
59- class SamlConnectionOptions (WorkOSModel ):
60- """Representation of options payload of a Connection Response."""
61-
62- signing_cert : Optional [str ]
63+ options : Optional [SamlConnectionOptions ] = None
6364
6465
6566class ConnectionWithDomains (Connection ):
6667 """Representation of a Connection Response as returned by WorkOS through the SSO feature."""
6768
6869 domains : Sequence [ConnectionDomain ]
69- options : Optional [SamlConnectionOptions ]
You can’t perform that action at this time.
0 commit comments