Redo Pylance typing changes

This commit is contained in:
OMEGARAZER committed 2022-11-30 21:48:10 -05:00
1 parent 3278e67197
commit b30ced9be9
4 files changed
+10 -9

No files matched your search

+2 -1
View File
@@ -2,12 +2,13 @@
# coding=utf-8
from abc import ABC, abstractmethod
from typing import Union
from praw.models import Comment, Submission
class BaseArchiveEntry(ABC):
def __init__(self, source: (Comment, Submission)):
def __init__(self, source: Union[Comment, Submission]):
self.source = source
self.post_details: dict = {}