chore: improved typechecking

pull/790/head
Jason 2 years ago
parent 062f64e473
commit f2c1d7de26

@ -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

Loading…
Cancel
Save