We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d97dac1 commit 227fb3cCopy full SHA for 227fb3c
src/models/pretalx.py
@@ -90,6 +90,10 @@ def duration_to_string(cls, v) -> str:
90
@field_validator("resources", mode="before")
91
@classmethod
92
def handle_resources(cls, v) -> list[dict[str, str]] | None:
93
+ if v and all(isinstance(res, int) for res in v):
94
+ # currently, ?expand=resources is broken in Pretalx
95
+ # https://github.com/pretalx/pretalx/issues/2040
96
+ return None
97
return v or None
98
99
@model_validator(mode="before")
0 commit comments