Do not import PathLike directly into module-level namespace
This commit is contained in:
parent
5c42f2b53f
commit
f06acc20a5
@ -5,8 +5,8 @@
|
||||
"""
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import shutil
|
||||
from os import PathLike
|
||||
from pathlib import Path
|
||||
|
||||
# ========== Logging Setup ===========
|
||||
@ -22,7 +22,7 @@ METADATA_WRITE = "w"
|
||||
|
||||
|
||||
# ========== Classes ==========
|
||||
class Hierarchy(PathLike):
|
||||
class Hierarchy(os.PathLike):
|
||||
"""A general class for organizing a hierarchy of data.
|
||||
|
||||
**Implementation Details**
|
||||
|
Loading…
x
Reference in New Issue
Block a user