Commit 56243caa authored by Miquel Jubert Hermoso's avatar Miquel Jubert Hermoso Committed by Facebook GitHub Bot
Browse files

Mopve cache_util to OSS pattern 2

Summary:
Pull Request resolved: https://github.com/facebookresearch/d2go/pull/254

WTTS

Reviewed By: wat3rBro

Differential Revision: D36438060

fbshipit-source-id: 440daa5d238e7902606b3709ec7887260f1a20ec
parent 48b0fd16
......@@ -3,7 +3,10 @@
import os
from d2go.utils.oss_helper import fb_overwritable
@fb_overwritable()
def _cache_json_file(json_file):
# TODO: entirely rely on PathManager for caching
json_file = os.fspath(json_file)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment