Skip to content

Commit 343a622

Browse files
committed
Update openapi
1 parent f8bba3a commit 343a622

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

examples/room_manager/room_service.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ def __find_or_create_room(
8181
options = RoomOptions(
8282
max_peers=self.config.max_peers,
8383
webhook_url=self.config.webhook_url,
84-
peerless_purge_timeout=self.config.peerless_purge_timeout,
8584
room_type=room_type.value if room_type else "full_feature",
8685
)
8786

fishjam/_openapi_client/models/viewer_token.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
from typing import Any, Dict, List, Type, TypeVar, Union
1+
from typing import Any, Dict, List, Type, TypeVar
22

33
from attrs import define as _attrs_define
44
from attrs import field as _attrs_field
55

6-
from ..types import UNSET, Unset
7-
86
T = TypeVar("T", bound="ViewerToken")
97

108

119
@_attrs_define
1210
class ViewerToken:
1311
"""Token for authorizing broadcaster viewer connection"""
1412

15-
token: Union[Unset, str] = UNSET
13+
token: str
1614
"""None"""
1715
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
1816
"""@private"""
@@ -23,17 +21,19 @@ def to_dict(self) -> Dict[str, Any]:
2321

2422
field_dict: Dict[str, Any] = {}
2523
field_dict.update(self.additional_properties)
26-
field_dict.update({})
27-
if token is not UNSET:
28-
field_dict["token"] = token
24+
field_dict.update(
25+
{
26+
"token": token,
27+
}
28+
)
2929

3030
return field_dict
3131

3232
@classmethod
3333
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
3434
"""@private"""
3535
d = src_dict.copy()
36-
token = d.pop("token", UNSET)
36+
token = d.pop("token")
3737

3838
viewer_token = cls(
3939
token=token,

0 commit comments

Comments
 (0)