pretalx_client.adapters.schedule¶
Schedule slot parsing and datetime normalization for Pretalx API data.
Handles the differences between the legacy Pretalx schedule format (string
room/code/title) and the paginated /slots/ endpoint format (integer
room IDs, submission key instead of code, no title).
Functions
|
Normalize a raw Pretalx slot dict into a consistent field set. |
|
Parse an ISO 8601 datetime string, returning |
- pretalx_client.adapters.schedule.parse_datetime(value)[source]¶
Parse an ISO 8601 datetime string, returning
Noneon failure.
- pretalx_client.adapters.schedule.normalize_slot(data, *, rooms=None)[source]¶
Normalize a raw Pretalx slot dict into a consistent field set.
Handles both the legacy format (string
room,code,titlekeys) and the real paginated/slots/format (integerroomID,submissionkey instead ofcode, notitle).