Skip to content

Commit

Permalink
There was still an explicit import of magic in `wfexs_backend.utils…
Browse files Browse the repository at this point in the history
….io_wrappers`. Translate it into a lazy_import.
  • Loading branch information
jmfernandez committed Apr 25, 2024
1 parent 45d6f5b commit de9f2e0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion wfexs_backend/utils/io_wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@
import urllib.parse
import uuid

import magic
from .misc import (
lazy_import,
)

magic = lazy_import("magic")
# import magic

if TYPE_CHECKING:
from typing import (
Expand Down

0 comments on commit de9f2e0

Please sign in to comment.