Commit 951e7a91 authored by Clément Schreiner's avatar Clément Schreiner
Browse files

Fix mapper configuration.

parent 68894ede
......@@ -64,10 +64,10 @@ class PluginResultData(OrmObject):
plugin_result_mapper = orm.mapper(PluginResult,
t_plugin_results,
polymorphic_on = t_plugin_results.c.plugin,
polymorphic_identity = 'plugin_results', \
properties = {
'plugin_result' : orm.relation(PackageVersion,
backref='plugin_results'),
polymorphic_identity = 'plugin_results',
properties = {
'package_version' : orm.relation(PackageVersion,
backref='plugin_results'),
}
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment