2
2
3
3
import attr
4
4
5
- from ..models .componentsschemas_model_with_additional_properties_inlined_additional_property import (
6
- ComponentsschemasModelWithAdditionalPropertiesInlinedAdditionalProperty ,
5
+ from ..models .model_with_additional_properties_inlined_additional_property import (
6
+ ModelWithAdditionalPropertiesInlinedAdditionalProperty ,
7
7
)
8
8
from ..types import UNSET , Unset
9
9
@@ -15,7 +15,7 @@ class ModelWithAdditionalPropertiesInlined:
15
15
""" """
16
16
17
17
a_number : Union [Unset , float ] = UNSET
18
- additional_properties : Dict [str , ComponentsschemasModelWithAdditionalPropertiesInlinedAdditionalProperty ] = attr .ib (
18
+ additional_properties : Dict [str , ModelWithAdditionalPropertiesInlinedAdditionalProperty ] = attr .ib (
19
19
init = False , factory = dict
20
20
)
21
21
@@ -43,9 +43,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
43
43
44
44
additional_properties = {}
45
45
for prop_name , prop_dict in d .items ():
46
- additional_property = ComponentsschemasModelWithAdditionalPropertiesInlinedAdditionalProperty .from_dict (
47
- prop_dict
48
- )
46
+ additional_property = ModelWithAdditionalPropertiesInlinedAdditionalProperty .from_dict (prop_dict )
49
47
50
48
additional_properties [prop_name ] = additional_property
51
49
@@ -56,12 +54,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
56
54
def additional_keys (self ) -> List [str ]:
57
55
return list (self .additional_properties .keys ())
58
56
59
- def __getitem__ (self , key : str ) -> ComponentsschemasModelWithAdditionalPropertiesInlinedAdditionalProperty :
57
+ def __getitem__ (self , key : str ) -> ModelWithAdditionalPropertiesInlinedAdditionalProperty :
60
58
return self .additional_properties [key ]
61
59
62
- def __setitem__ (
63
- self , key : str , value : ComponentsschemasModelWithAdditionalPropertiesInlinedAdditionalProperty
64
- ) -> None :
60
+ def __setitem__ (self , key : str , value : ModelWithAdditionalPropertiesInlinedAdditionalProperty ) -> None :
65
61
self .additional_properties [key ] = value
66
62
67
63
def __delitem__ (self , key : str ) -> None :
0 commit comments