We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d12aafd commit b0c28b6Copy full SHA for b0c28b6
sdk/python/feast/ui_server.py
@@ -51,7 +51,7 @@ def shutdown_event():
51
52
async_refresh()
53
54
- ui_dir_ref = importlib_resources.files(__name__) / "ui/build/"
+ ui_dir_ref = importlib_resources.files(__spec__.parent) / "ui/build/" # type: ignore[name-defined]
55
with importlib_resources.as_file(ui_dir_ref) as ui_dir:
56
# Initialize with the projects-list.json file
57
with ui_dir.joinpath("projects-list.json").open(mode="w") as f:
0 commit comments