def get_chapter_count(self, book): """ Return the number of chapters in a particular book. :param book: The book object to get the chapter count for. """ log.debug('HTTPBible.get_chapter_count("{name}")'.format(name=book.name)) return BiblesResourcesDB.get_chapter_count(book.book_reference_id)
def get_chapter_count(self, book): """ Return the number of chapters in a particular book. :param book: The book object to get the chapter count for. """ log.debug('HTTPBible.get_chapter_count("%s")', book.name) return BiblesResourcesDB.get_chapter_count(book.book_reference_id)
def get_chapter_count(self, book): """ Return the number of chapters in a particular book. ``book`` The book object to get the chapter count for. """ log.debug('HTTPBible.get_chapter_count("%s")', book.name) return BiblesResourcesDB.get_chapter_count(book.book_reference_id)