|
13 | 13 | CredentialCreateResponse, |
14 | 14 | CredentialListResponse, |
15 | 15 | DecisionPolicy, |
16 | | - PaymentMethod, |
17 | 16 | ReputationResponse, |
18 | 17 | SessionCreateResponse, |
19 | 18 | SessionPollResponse, |
@@ -132,18 +131,12 @@ def assess( |
132 | 131 | def create_session( |
133 | 132 | self, |
134 | 133 | context: str | None = None, |
135 | | - return_url: str | None = None, |
136 | | - payment_methods: list[PaymentMethod] | None = None, |
137 | 134 | product_name: str | None = None, |
138 | 135 | ) -> SessionCreateResponse: |
139 | 136 | """Create an assessment session for deferred scoring.""" |
140 | 137 | body: dict[str, Any] = {} |
141 | 138 | if context is not None: |
142 | 139 | body["context"] = context |
143 | | - if return_url is not None: |
144 | | - body["return_url"] = return_url |
145 | | - if payment_methods is not None: |
146 | | - body["payment_methods"] = payment_methods |
147 | 140 | if product_name is not None: |
148 | 141 | body["product_name"] = product_name |
149 | 142 | client = self._get_sync_client() |
@@ -224,18 +217,12 @@ async def aassess( |
224 | 217 | async def acreate_session( |
225 | 218 | self, |
226 | 219 | context: str | None = None, |
227 | | - return_url: str | None = None, |
228 | | - payment_methods: list[PaymentMethod] | None = None, |
229 | 220 | product_name: str | None = None, |
230 | 221 | ) -> SessionCreateResponse: |
231 | 222 | """Create an assessment session for deferred scoring.""" |
232 | 223 | body: dict[str, Any] = {} |
233 | 224 | if context is not None: |
234 | 225 | body["context"] = context |
235 | | - if return_url is not None: |
236 | | - body["return_url"] = return_url |
237 | | - if payment_methods is not None: |
238 | | - body["payment_methods"] = payment_methods |
239 | 226 | if product_name is not None: |
240 | 227 | body["product_name"] = product_name |
241 | 228 | client = self._get_async_client() |
|
0 commit comments