Skip to content

Commit

Permalink
Rename LOCAL to Local
Browse files Browse the repository at this point in the history
Signed-off-by: Bernhard Stadlbauer <[email protected]>
  • Loading branch information
bstadlbauer committed Jan 14, 2024
1 parent 57e3012 commit 836398a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flytekit/configuration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ class LocalConfig(object):
def auto(cls, config_file: typing.Union[str, ConfigFile] = None) -> LocalConfig:
config_file = get_config_file(config_file)
kwargs = {}
kwargs = set_if_exists(kwargs, "cache_enabled", _internal.LOCAL.CACHE_ENABLED.read(config_file))
kwargs = set_if_exists(kwargs, "cache_enabled", _internal.Local.CACHE_ENABLED.read(config_file))
return LocalConfig(**kwargs)


Expand Down
2 changes: 1 addition & 1 deletion flytekit/configuration/internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class AZURE(object):
CLIENT_SECRET = ConfigEntry(LegacyConfigEntry(SECTION, "client_secret"))


class LOCAL(object):
class Local(object):
SECTION = "local"
CACHE_ENABLED = ConfigEntry(LegacyConfigEntry(SECTION, "cache_enabled", bool))

Expand Down

0 comments on commit 836398a

Please sign in to comment.