Pylance typing

Fix Pylance warnings for typing
This commit is contained in:
OMEGARAZER committed 2022-11-30 21:29:07 -05:00
1 parent b438f81a43
commit 69fa1f3f09
4 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ from praw.models import Comment, Submission
class BaseArchiveEntry(ABC):
def __init__(self, source: (Comment, Submission)):
def __init__(self, source: Comment | Submission):
self.source = source
self.post_details: dict = {}