Skip to content

Commit

Permalink
Merge pull request #156 from maxfordham:HOTFIX-fnmatch-not-imported-i…
Browse files Browse the repository at this point in the history
…n-autodisplay

HOTFIX-fnmatch-not-imported-in-autodisplay
  • Loading branch information
jgunstone authored Apr 17, 2023
2 parents 514cc85 + 165af55 commit d1f287b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ dependencies = [
"pytest",
"PyYAML",
"stringcase",
"traitlets",
"wcmatch",
"maplocal==0.1.1",
]
Expand Down
4 changes: 3 additions & 1 deletion src/ipyautoui/autodisplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
KWARGS_COLLAPSE_ALL_FILES,
KWARGS_HOME_DISPLAY_FILES,
)

from wcmatch import fnmatch
import requests

# from mf library
Expand Down Expand Up @@ -619,6 +619,7 @@ def display_catfact(path):

# +


class AutoDisplay(tr.HasTraits):
"""
displays the contents of a file in the notebook.
Expand Down Expand Up @@ -647,6 +648,7 @@ class AutoDisplay(tr.HasTraits):
notice that the class allows for "compound" filetypes, especially useful for .json files
if you want to display the data in a specific way.
"""

def __init__(
self,
display_objects_actions: ty.List[DisplayObjectActions],
Expand Down

0 comments on commit d1f287b

Please sign in to comment.