mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
LiveSync: Adapt to 3.2
This commit is contained in:
parent
ce13e27742
commit
187a8bd7f8
@ -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)
|
||||
)
|
||||
|
||||
@ -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 =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user