Skip to content

Commit

Permalink
Allow specifying additional kwargs for get_path_manager
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #182

Allow specifying additional kwargs for get_path_manager

Reviewed By: zechenghe

Differential Revision: D48748198

fbshipit-source-id: 6b915b4df879b7356bb208aec3b306fe8286a040
  • Loading branch information
Peizhao Zhang authored and facebook-github-bot committed Sep 11, 2023
1 parent 710e89c commit 3a6e872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobile_cv/common/utils_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@


@lru_cache()
def get_path_manager() -> PathManager:
def get_path_manager(**kwargs) -> PathManager:
# FIXME: @fb_overwritable can't be stacked with @lru_cache
return _get_path_manager()
return _get_path_manager(**kwargs)


@fb_overwritable()
Expand Down

0 comments on commit 3a6e872

Please sign in to comment.