From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [101.128.125.177]) by gnuweeb.org (Postfix) with ESMTPSA id B007E804FD; Sat, 1 Oct 2022 13:04:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1664629470; bh=8XP2QQcZ4WRKcL589aAGrsEFNqL2diG2fVCGH7BO1KY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DtopoMSCo2vttOf0CdQjU9/U/htbo3d8sF67hyCxWOl4EqgfyRuMNiILsfKBdoEm2 eztWfkFTa9SuNm1Bbx+DNY0Ui3za/7y1dFLaoUxZKmn66ZCWWOJf21ykm+r1j2A+fC JHhKfW7+mHEi0kqahTv6IwPKeC6n8KsvOFkx/uetfxnyhRa1p/FtPKPKg2+YOD4Isu /NQm5pwP4J+D1PwNKQDEX6e1VocrbXf4FQyiak4TSKMgj+bRurPvhRNMtuFbXX622v 4j+TnFkjLRMBilaEiDp/xVpWzBRRm5BX23k928lCCmnz01l1NWvQKQBhxGNbNYqV4W SpNC0IBLTygpw== From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , Alviro Iskandar Setiawan , GNU/Weeb Mailing List Subject: [PATCH v1 06/26] discord: Inherit Getter() class to the DBMethods() class Date: Sat, 1 Oct 2022 20:03:34 +0700 Message-Id: <20221001130355.784-7-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.34.1.windows.1 In-Reply-To: <20221001130355.784-1-kiizuha@gnuweeb.org> References: <20221001130355.784-1-kiizuha@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Use Getter() class to inherit it to the DBMethods() class, so all the get functions in the getter directory will be in a relationship with the DBMethods() class. Signed-off-by: Muhammad Rizki --- daemon/dscord/database/methods/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/daemon/dscord/database/methods/__init__.py b/daemon/dscord/database/methods/__init__.py index 189ec67..625a632 100644 --- a/daemon/dscord/database/methods/__init__.py +++ b/daemon/dscord/database/methods/__init__.py @@ -5,8 +5,10 @@ from .insertion import Insertion +from .getter import Getter class DBMethods( - Insertion + Insertion, + Getter ): pass -- Muhammad Rizki