Skip to content

Commit

Permalink
workaround failing sphinx-argparse typing imports (relates to sphinx-…
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Dec 4, 2021
1 parent 3fce5a8 commit 23936e1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion weaver/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@

from requests import Response

from weaver.typedefs import CWL, HeadersType, JSON
# avoid failing sphinx-argparse documentation
# https://github.com/ashb/sphinx-argparse/issues/7
try:
from weaver.typedefs import CWL, HeadersType, JSON
except ImportError:
pass

LOGGER = logging.getLogger(__name__)

Expand Down

0 comments on commit 23936e1

Please sign in to comment.