From 7ffa0aa805841c50325855ee58bb75dd7814c8f8 Mon Sep 17 00:00:00 2001 From: Kellermann Date: Mon, 30 May 2022 15:28:50 +0200 Subject: [PATCH] removed class documentation --- source/db.py | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/source/db.py b/source/db.py index 8e0db68..8f34f2c 100644 --- a/source/db.py +++ b/source/db.py @@ -19,14 +19,6 @@ Base = declarative_base() class User(Base): - """User Class - - Args: - Base (_DeclarativeBase): Base class - - Returns: - string: including telegram_id, username and admin - """ __tablename__ = 'user' telegram_id = Column(Integer, primary_key=True) username = Column(String(50)) @@ -37,14 +29,6 @@ class User(Base): class Score(Base): - """Score Class - - Args: - Base (_DeclarativeBase): Base class - - Returns: - string: including telegram_id, date, product_id, guess and score - """ __tablename__ = 'score' telegram_id = Column(Integer, ForeignKey('user.telegram_id'), primary_key=True) date = Column(DateTime, primary_key=True) @@ -57,14 +41,6 @@ class Score(Base): class Product(Base): - """Product Class - - Args: - Base (_DeclarativeBase): Base class - - Returns: - string: including product_id, price, image_link, title, description, date, todays_product - """ __tablename__ = 'product' product_id = Column(String(50), primary_key=True) price = Column(Float)