chore: improved typechecking

This commit is contained in:
Jason committed 2022-07-01 16:04:27 -04:00
1 parent 062f64e473
commit f2c1d7de26
1 file changed
+3 -2
+3 -2
View File
@@ -1,13 +1,14 @@
import json
from typing import Union
from os import getenv
from praw.models import Submission
from utils.console import print_step
def check_done(
redditobj: dict[str],
) -> Union[dict[str], None]:
) -> Submission:
# don't set this to be run anyplace that isn't subreddit.py bc of inspect stack
"""Checks if the chosen post has already been generated