HeshamTB
6a3d9d9e95
Instead of using manual db lookup for access log, use device.access_list to fetch the data from access_log table. This does the SQL query underneath. To do so, instructions from SQLAlchemey were followed to to many-to-one relations for users and devices, respectevly. Signed-off-by: HeshamTB <hishaminv@gmail.com> |
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
.gitignore | ||
auth_helper.py | ||
crud.py | ||
crypto.py | ||
database.py | ||
gen_secret.sh | ||
init_db.py | ||
init_secrets.sh | ||
main.py | ||
models.py | ||
schemas.py | ||
TODO | ||
utils.py |