Skip to content

Commit

Permalink
fix: Ignore the type check as both functions calls are not belonging …
Browse files Browse the repository at this point in the history
…to Feast code. (#4500)

Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
  • Loading branch information
shuchu authored Sep 9, 2024
1 parent c94f32f commit 867f532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/feast/ui_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def shutdown_event():

async_refresh()

ui_dir_ref = importlib_resources.files(__spec__.parent) / "ui/build/" # type: ignore[name-defined]
ui_dir_ref = importlib_resources.files(__spec__.parent) / "ui/build/" # type: ignore[name-defined, arg-type]
with importlib_resources.as_file(ui_dir_ref) as ui_dir:
# Initialize with the projects-list.json file
with ui_dir.joinpath("projects-list.json").open(mode="w") as f:
Expand Down

0 comments on commit 867f532

Please sign in to comment.