Skip to content

Commit

Permalink
update import method for github
Browse files Browse the repository at this point in the history
Signed-off-by: Yiheng Wang <[email protected]>
  • Loading branch information
yiheng-wang-nv committed Aug 16, 2023
1 parent a4a08f8 commit b05ff97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
import subprocess
from typing import List

from github import Github
from monai.apps.utils import download_url
from monai.bundle.config_parser import ConfigParser
from monai.utils import look_up_option
from monai.utils import look_up_option, optional_import

Github, _ = optional_import("github", name="Github")

SUPPORTED_HASH_TYPES = {"md5": hashlib.md5, "sha1": hashlib.sha1, "sha256": hashlib.sha256, "sha512": hashlib.sha512}

Expand Down

0 comments on commit b05ff97

Please sign in to comment.