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.217]) by gnuweeb.org (Postfix) with ESMTPSA id 0FF877E257; Mon, 3 Oct 2022 23:53:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1664841188; bh=8XP2QQcZ4WRKcL589aAGrsEFNqL2diG2fVCGH7BO1KY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BX1NufnOJ86bdj3EGPQt0sGLtrExgXmLctCpyQHhNs07b/Ox5As2WcBeMPRrRth6D pnPgLlHecU6xKZhzx22VCCEVzkIgFhhzxitDnTaBhc6xurvl7NB8+8yOHnZByvxApE v/lHLtaKV2FkK8nY+czAqcNnMEzQz6oVnNk2PtvxYHrYVJ+JPT64HXfOOy7XysJDjS HXjOy9eFvRjFi1Erzs/ZNN1eL2Vlse59Z2QyhK3TnCMN4YLyXO674UnLoDTC/6EnU+ n+HB0DuNN1boFLf8zOnunhRkO19PxI3pH7EZB3AqUpSWyDOhgFOQ8Cs3JGsupG9EKG CQ37wgAiRvbrQ== From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , Alviro Iskandar Setiawan , GNU/Weeb Mailing List Subject: [PATCH v2 08/28] discord: Inherit Getter() class to the DBMethods() class Date: Tue, 4 Oct 2022 06:52:09 +0700 Message-Id: <20221003235230.1824-9-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.34.1.windows.1 In-Reply-To: <20221003235230.1824-1-kiizuha@gnuweeb.org> References: <20221003235230.1824-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