Skip to content

Commit

Permalink
Removes incorrect 'polymorphic_on' mapper arg from Comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
treinhard committed Aug 29, 2024
1 parent 7e9c87c commit 94a2488
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/privatim/models/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ def __init__(
viewonly=True
)

__mapper_args__ = {
'polymorphic_on': target_type,
}

def get_model(self, session: 'Session') -> 'Consultation':
""" Get the model which the comment is part of. """

Expand Down

0 comments on commit 94a2488

Please sign in to comment.