Fixing __repr__ for RightmoveListing and adding a small testing script

This commit is contained in:
Kadir Tugan 2023-11-18 13:25:00 +02:00
parent 8698b41e0e
commit f30115eecd
2 changed files with 16 additions and 5 deletions

10
testing.py Normal file
View file

@ -0,0 +1,10 @@
from rec.db import RightmoveListing, session
from sqlalchemy import select
if __name__ == '__main__':
print("x")
x = select(RightmoveListing).where(RightmoveListing.price <600000)
print("y")
d = list(session.execute(x))
print(d)