AirBnB_clone_v2
AirBnB_clone_v2 copied to clipboard
Forked AirBnB_v3 codebase and updated the README.md and the AUTHORS created a pull request and merged it.
File: models/engine/db_storage.py Added: db_get(self, cls=None, id) - Retrieves an object from DB storage based on class name and ID db_count(cls) - Counts the number of objects in DB storage based...
update city and init files
Changes made includes adding a get() and count() method for both `db_storage` and `file_storage` files and writing unittests for the file_storage.
changed the test timezones to utc , created get and count methods for both db and file storage , passed all tests