From 25792d9006834b097d591bde26eb66bb6b837a05 Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Fri, 10 Mar 2023 00:46:34 +0000 Subject: [PATCH] Fix missing inheritance from abc.ABCMeta --- codearchiver/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codearchiver/core.py b/codearchiver/core.py index bb64fed..e48bbef 100644 --- a/codearchiver/core.py +++ b/codearchiver/core.py @@ -276,7 +276,7 @@ class HttpClient: return self.request('POST', *args, **kwargs) -class ModuleMeta(type): +class ModuleMeta(abc.ABCMeta): '''Metaclass of modules. This is used to keep track of which modules exist and selecting them. It also enforces module name restrictions and prevents name collisions.''' __modulesByName: dict[str, typing.Type['Module']] = {}