Pylance typing

Fix Pylance warnings for typing
This commit is contained in:
OMEGARAZER
2022-11-30 21:12:03 -05:00
parent b438f81a43
commit 69fa1f3f09
4 changed files with 7 additions and 7 deletions

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 = {}