SeaCogs/bible/models.py
SeaswimmerTheFsh e57e0d53ce
Some checks failed
Actions / Lint Code (Pylint) (push) Failing after 21s
Actions / Build Documentation (MkDocs) (push) Successful in 14s
fix(bible): pylint fix
2024-02-03 12:55:13 -05:00

27 lines
922 B
Python

# pylint disable=too-many-instance-attributes
class Version:
def __init__(
self,
bible_id,
abbreviation,
language,
abbreviationLocal,
languageLocal,
description,
descriptionLocal,
version_copyright,
):
self.bible_id = bible_id
self.abbreviation = abbreviation
self.language = language
self.abbreviationLocal = abbreviationLocal
self.languageLocal = languageLocal
self.description = description
self.descriptionLocal = descriptionLocal
self.copyright = version_copyright
def __str__(self):
return self.abbreviationLocal
def __repr__(self):
return f'bible.models.Version("{self.bible_id}", "{self.abbreviation}", "{self.language}", "{self.abbreviationLocal}", "{self.languageLocal}", "{self.description}", "{self.descriptionLocal}", "{self.copyright}")'