I think line 15 to 19 can be replaced with just def get(self, count=10). This allows count to be optional and have the default value = 10.