Skip to content

Commit

Permalink
work around for mutiprocess typing from uqfoundation/multiprocess#128…
Browse files Browse the repository at this point in the history
  • Loading branch information
dave42w committed Nov 11, 2024
1 parent f97e49d commit e78c6f9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions robyn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
import os
import socket
from pathlib import Path
from typing import Callable, List, Optional, Tuple, Union
from typing import Callable, List, Optional, Tuple, Union, TYPE_CHECKING

if TYPE_CHECKING:
import multiprocessing as mp
else:
import multiprocess as mp

import multiprocess as mp
from nestd import get_all_nested

from robyn import status_codes
Expand Down

0 comments on commit e78c6f9

Please sign in to comment.