Moved to Union over bitwise or

pull/729/head
Callum Leslie 3 years ago
parent 87d10206fb
commit 8e05fbf22b

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

Loading…
Cancel
Save