AirBnB_clone_v2 icon indicating copy to clipboard operation
AirBnB_clone_v2 copied to clipboard

Results 400 AirBnB_clone_v2 issues
Sort by recently updated
recently updated
newest added

Updated the db_storage and file_storage modules with the following methods: A get method to retrieve objects based on class name and id A count method to return number of instances...

get and count methods

added these changes A method to retrieve one object: - Prototype: def get(self, cls, id): cls: class id: string representing the object ID Returns the object based on the class...

We created the requirted get and count methods in the storage instances(DB and file)

Update DBStorage and FileStorage, adding two new methods. All changes should be done in the branch storage_get_count: A method to retrieve one object: Prototype: def get(self, cls, id): cls: class...