|
12 | 12 | from ..types import UNSET, Unset |
13 | 13 |
|
14 | 14 | if TYPE_CHECKING: |
15 | | - from ..models.single_agent_operation_input_type_1_item import ( |
16 | | - SingleAgentOperationInputType1Item, |
17 | | - ) |
18 | | - from ..models.single_agent_operation_input_type_2 import ( |
19 | | - SingleAgentOperationInputType2, |
20 | | - ) |
21 | | - from ..models.single_agent_operation_response_schema_type_0 import ( |
22 | | - SingleAgentOperationResponseSchemaType0, |
23 | | - ) |
| 15 | + from ..models.single_agent_operation_input_type_1_item import SingleAgentOperationInputType1Item |
| 16 | + from ..models.single_agent_operation_input_type_2 import SingleAgentOperationInputType2 |
| 17 | + from ..models.single_agent_operation_response_schema_type_0 import SingleAgentOperationResponseSchemaType0 |
24 | 18 |
|
25 | 19 |
|
26 | 20 | T = TypeVar("T", bound="SingleAgentOperation") |
@@ -70,9 +64,7 @@ class SingleAgentOperation: |
70 | 64 | additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) |
71 | 65 |
|
72 | 66 | def to_dict(self) -> dict[str, Any]: |
73 | | - from ..models.single_agent_operation_response_schema_type_0 import ( |
74 | | - SingleAgentOperationResponseSchemaType0, |
75 | | - ) |
| 67 | + from ..models.single_agent_operation_response_schema_type_0 import SingleAgentOperationResponseSchemaType0 |
76 | 68 |
|
77 | 69 | input_: dict[str, Any] | list[dict[str, Any]] | str |
78 | 70 | if isinstance(self.input_, UUID): |
@@ -185,15 +177,9 @@ def to_dict(self) -> dict[str, Any]: |
185 | 177 |
|
186 | 178 | @classmethod |
187 | 179 | def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: |
188 | | - from ..models.single_agent_operation_input_type_1_item import ( |
189 | | - SingleAgentOperationInputType1Item, |
190 | | - ) |
191 | | - from ..models.single_agent_operation_input_type_2 import ( |
192 | | - SingleAgentOperationInputType2, |
193 | | - ) |
194 | | - from ..models.single_agent_operation_response_schema_type_0 import ( |
195 | | - SingleAgentOperationResponseSchemaType0, |
196 | | - ) |
| 180 | + from ..models.single_agent_operation_input_type_1_item import SingleAgentOperationInputType1Item |
| 181 | + from ..models.single_agent_operation_input_type_2 import SingleAgentOperationInputType2 |
| 182 | + from ..models.single_agent_operation_response_schema_type_0 import SingleAgentOperationResponseSchemaType0 |
197 | 183 |
|
198 | 184 | d = dict(src_dict) |
199 | 185 |
|
@@ -344,9 +330,7 @@ def _parse_extra_notification_text(data: object) -> None | str | Unset: |
344 | 330 | return data |
345 | 331 | return cast(None | str | Unset, data) |
346 | 332 |
|
347 | | - extra_notification_text = _parse_extra_notification_text( |
348 | | - d.pop("extra_notification_text", UNSET) |
349 | | - ) |
| 333 | + extra_notification_text = _parse_extra_notification_text(d.pop("extra_notification_text", UNSET)) |
350 | 334 |
|
351 | 335 | single_agent_operation = cls( |
352 | 336 | input_=input_, |
|
0 commit comments