Moved to Union over bitwise or
This commit is contained in:
1 parent
87d10206fb
commit
8e05fbf22b
1 file changed
+3
-3
+3
-3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user