Skip to content

Commit

Permalink
repl. Tuple by Iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
juhuebner committed May 12, 2021
1 parent 416c84d commit f17d12c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions myst_nb/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import tempfile
from datetime import datetime
from pathlib import Path
from typing import List, Optional, Set, Tuple
from typing import Iterable, List, Optional, Set

import nbformat as nbf
from jupyter_cache import get_cache
Expand Down Expand Up @@ -328,7 +328,7 @@ def _converter(path):


def nb_has_all_output(
source_path: str, nb_extensions: Tuple[str] = (".ipynb",)
source_path: str, nb_extensions: Iterable[str] = (".ipynb",)
) -> bool:
"""Determine if the path contains a notebook with at least one output."""
has_outputs = False
Expand Down

0 comments on commit f17d12c

Please sign in to comment.