<#168 [FEAT] Enable Local cache> Pull request open...
# flyte-github
a
#168 [FEAT] Enable Local cache Pull request opened by machichima ## Description Enable using local cache for local task execution. ## Changes • Use SQLite for storing the cache, set the default cache path in
{config_dir}/local_cache
.
config_dir
is the path where we have the config installed • Apply LocalTaskCache.get/set in local controller
submit()
, to read from cache before executing through
direct_dispatch
and store the result after execution • Make
aiosqlite
an optional dependency that can be installed with
flyte[aiosqlite]
. If not installed, use sync
sqlite3
instead. • Added unit test for checking if local cache can be get and set correctly flyteorg/flyte-sdk