Skip to content

Commit caf29ab

Browse files
committed
Transform: Fix speakers
Without 'expand=speakers', we only get the code anyway.
1 parent 0bef5d3 commit caf29ab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/models/pretalx.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ def handle_resources(cls, v) -> list[dict[str, str]] | None:
9595
@model_validator(mode="before")
9696
@classmethod
9797
def process_values(cls, values) -> dict:
98-
values["speakers"] = sorted([s["code"] for s in values["speakers"]])
99-
10098
# Set slot information
10199
if values.get("slot"):
102100
slot = PretalxSlot.model_validate(values["slot"])

0 commit comments

Comments
 (0)