From f2c1d7de26ca15143f07555e650f9f2fa5dc4ead Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 1 Jul 2022 16:04:27 -0400 Subject: [PATCH] chore: improved typechecking --- utils/videos.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/videos.py b/utils/videos.py index eeb87d5..7d8d6c9 100755 --- a/utils/videos.py +++ b/utils/videos.py @@ -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