Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate FixedParameter in favor of single-element ChoiceParameter #3397

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sunnyshen321
Copy link

Summary:
As titled. Deprecating FixedParameter

Doing a "soft" deprecation (i.e. instantiateChoiceParameter if FixedParameterConfig is given) becuase there are partner integration code that relies on FixedParameterConfig (e.g. https://fburl.com/code/7nxmqhim)

Differential Revision: D68241762

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 20, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68241762

sunnyshen321 pushed a commit to sunnyshen321/Ax that referenced this pull request Feb 20, 2025
…acebook#3397)

Summary:

As titled. Deprecating `FixedParameter`


Doing a "soft" deprecation (i.e. instantiate`ChoiceParameter` if `FixedParameterConfig` is given) becuase there are partner integration code that relies on `FixedParameterConfig` (e.g. https://fburl.com/code/7nxmqhim)

Differential Revision: D68241762
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68241762

…acebook#3397)

Summary:

Deprecating `FixedParameter` -- if `FixedParameterConfig` is used, we will create a single-element `ChoiceParameter` instead


Doing a "soft" deprecation (i.e. instantiate`ChoiceParameter` if `FixedParameterConfig` is given instead of erroring out) because many partner integration code relies on `FixedParameterConfig` (e.g. https://fburl.com/code/7nxmqhim)

Differential Revision: D68241762
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68241762

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants