diff --git a/livesync/indico_livesync/initial.py b/livesync/indico_livesync/initial.py index 62ecfa1..467013c 100644 --- a/livesync/indico_livesync/initial.py +++ b/livesync/indico_livesync/initial.py @@ -230,7 +230,7 @@ def query_attachments(ids=None): return ( Attachment.query .join(Attachment.folder) - .options(folder_strategy, attachment_strategy, joinedload(Attachment.user).joinedload('_affiliation')) + .options(folder_strategy, attachment_strategy, joinedload(Attachment.user)) .outerjoin(AttachmentFolder.linked_event) .outerjoin(AttachmentFolder.contribution) .outerjoin(Contribution.event.of_type(contrib_event)) @@ -328,7 +328,7 @@ def query_notes(ids=None): .filter(export_filter) .options( note_strategy, - joinedload(EventNote.current_revision).joinedload(EventNoteRevision.user).joinedload('_affiliation'), + joinedload(EventNote.current_revision).joinedload(EventNoteRevision.user), ) .order_by(EventNote.id) ) diff --git a/livesync/setup.cfg b/livesync/setup.cfg index a01a5f3..593a688 100644 --- a/livesync/setup.cfg +++ b/livesync/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = indico-plugin-livesync -version = 3.1 +version = 3.2-dev description = Framework for pushing Indico event data to external services long_description = file: README.md long_description_content_type = text/markdown; charset=UTF-8; variant=GFM @@ -20,7 +20,7 @@ zip_safe = false include_package_data = true python_requires = ~=3.9.0 install_requires = - indico>=3.1 + indico>=3.2.dev0 [options.entry_points] indico.plugins =