Redo Pylance typing changes

This commit is contained in:
OMEGARAZER
2022-11-30 21:48:10 -05:00
parent 3278e67197
commit b30ced9be9
4 changed files with 10 additions and 9 deletions

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