You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to save an experiment_type string that has been assigned to the experiment_type property
of my Experiment to SQA Store.
It is declared as Optional[str] property in the signature of the Experiment class, and it assigns and reads beautifully. However, if you store the Experiment with this assigned (and present) experiment_type to the SQA store there is a 'null' in the column experiment_type of the experiment_v2 table. All the other fields are ORMapped to the table perfectly.
If you look at the properties of the class ax.storage.sqa_store.sqa_classes.SQAExperiment(*args: Any, **kwargs: Any)
experiment_type is Optional[int] = Column(None, Integer() there so it must be Enumed along the way somewhere
Should the experiment_types be declared or registered in some way before being used in Experiment classes so that they would store in the SQA store properly?
The text was updated successfully, but these errors were encountered:
Hi, @alxfed! Great question. There are some docs on specifying experiment type here: https://ax.dev/docs/storage.html#customizing-1. In case a source code pointer is helpful, this is where the conversion to enum happens:
I'm trying to save an experiment_type string that has been assigned to the experiment_type property
of my Experiment to SQA Store.
It is declared as Optional[str] property in the signature of the Experiment class, and it assigns and reads beautifully. However, if you store the Experiment with this assigned (and present) experiment_type to the SQA store there is a 'null' in the column experiment_type of the experiment_v2 table. All the other fields are ORMapped to the table perfectly.
If you look at the properties of the class ax.storage.sqa_store.sqa_classes.SQAExperiment(*args: Any, **kwargs: Any)
experiment_type is Optional[int] = Column(None, Integer() there so it must be Enumed along the way somewhere
Should the experiment_types be declared or registered in some way before being used in Experiment classes so that they would store in the SQA store properly?
The text was updated successfully, but these errors were encountered: