|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
import json
|
|
|
|
|
from typing import Union
|
|
|
|
|
from os import getenv
|
|
|
|
|
|
|
|
|
|
from utils.console import print_step
|
|
|
|
@ -6,9 +7,8 @@ from utils.console import print_step
|
|
|
|
|
|
|
|
|
|
def check_done(
|
|
|
|
|
redditobj: dict[str],
|
|
|
|
|
) -> dict[
|
|
|
|
|
str
|
|
|
|
|
] | None: # don't set this to be run anyplace that isn't subreddit.py bc of inspect stack
|
|
|
|
|
) -> Union[dict[str], None]:
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
Args:
|
|
|
|
|