socek

Untitled

Dec 7th, 2015
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. .filter(
  2.     or_(
  3.         and_(
  4.             self.model.left_id == left_id,
  5.             self.model.right_id == right_id,
  6.         ),
  7.         and_(
  8.             self.model.left_id == right_id,
  9.             self.model.right_id == left_id,
  10.         )
  11.     )
  12. )
Advertisement
Add Comment
Please, Sign In to add comment