77)
88
99from attrs import define as _attrs_define
10- from attrs import field as _attrs_field
1110
1211from ..models .subscribe_mode import SubscribeMode
1312from ..types import UNSET , Unset
@@ -30,7 +29,6 @@ class PeerOptionsAgent:
3029
3130 output : Union [Unset , "AgentOutput" ] = UNSET
3231 subscribe_mode : Union [Unset , SubscribeMode ] = UNSET
33- additional_properties : dict [str , Any ] = _attrs_field (init = False , factory = dict )
3432
3533 def to_dict (self ) -> dict [str , Any ]:
3634 output : Union [Unset , dict [str , Any ]] = UNSET
@@ -42,7 +40,7 @@ def to_dict(self) -> dict[str, Any]:
4240 subscribe_mode = self .subscribe_mode .value
4341
4442 field_dict : dict [str , Any ] = {}
45- field_dict . update ( self . additional_properties )
43+
4644 field_dict .update ({})
4745 if output is not UNSET :
4846 field_dict ["output" ] = output
@@ -75,21 +73,4 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
7573 subscribe_mode = subscribe_mode ,
7674 )
7775
78- peer_options_agent .additional_properties = d
7976 return peer_options_agent
80-
81- @property
82- def additional_keys (self ) -> list [str ]:
83- return list (self .additional_properties .keys ())
84-
85- def __getitem__ (self , key : str ) -> Any :
86- return self .additional_properties [key ]
87-
88- def __setitem__ (self , key : str , value : Any ) -> None :
89- self .additional_properties [key ] = value
90-
91- def __delitem__ (self , key : str ) -> None :
92- del self .additional_properties [key ]
93-
94- def __contains__ (self , key : str ) -> bool :
95- return key in self .additional_properties
0 commit comments