Skip to content

Commit

Permalink
Implement json storage (#3189)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #3189

Implement two new methods: save_to_json_file and load_from_json_file

Also renamed DBConfig to StorageConfig, made URL optional, and added optional RegistryBundle field.

Reviewed By: lena-kashtelyan

Differential Revision: D67159759

fbshipit-source-id: e79611d2bffc22cdac4e788d7af38271a3d5c486
  • Loading branch information
mpolson64 authored and facebook-github-bot committed Dec 18, 2024
1 parent de80239 commit 26e2bb4
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 49 deletions.
4 changes: 2 additions & 2 deletions ax/preview/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@
from ax.preview.api.client import Client
from ax.preview.api.configs import (
ChoiceParameterConfig,
DatabaseConfig,
ExperimentConfig,
GenerationStrategyConfig,
OrchestrationConfig,
ParameterScaling,
ParameterType,
RangeParameterConfig,
StorageConfig,
)
from ax.preview.api.types import TOutcome, TParameterization

__all__ = [
"Client",
"ChoiceParameterConfig",
"DatabaseConfig",
"ExperimentConfig",
"GenerationStrategyConfig",
"OrchestrationConfig",
"ParameterScaling",
"ParameterType",
"RangeParameterConfig",
"StorageConfig",
"TOutcome",
"TParameterization",
]
Loading

0 comments on commit 26e2bb4

Please sign in to comment.