Skip to content

Commit

Permalink
Added some missing mappers of the PSA-related tables.
Browse files Browse the repository at this point in the history
  • Loading branch information
VJalili committed Dec 13, 2017
1 parent 04cb179 commit 54f3033
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/galaxy/model/mapping.py
Expand Up @@ -1636,6 +1636,14 @@ def simple_mapping(model, **kwds):
primaryjoin=(model.UserOAuth2.table.c.user_id == model.User.table.c.id))
))

mapper(model.SocialAuthAssociation, model.SocialAuthAssociation.table, properties=None)

mapper(model.SocialAuthCode, model.SocialAuthCode.table, properties=None)

mapper(model.SocialAuthNonce, model.SocialAuthNonce.table, properties=None)

mapper(model.SocialAuthPartial, model.SocialAuthPartial.table, properties=None)

mapper(model.UserAuthnzToken, model.UserAuthnzToken.table, properties=dict(
user=relation(model.User,
primaryjoin=(model.UserAuthnzToken.table.c.user_id == model.User.table.c.id),
Expand Down

0 comments on commit 54f3033

Please sign in to comment.