Skip to content

Add support for '--preserve-env-instance-type' option to chains push #1599

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jrochette
Copy link
Collaborator

🚀 What

Adding support for the --preserve-env-instance-type/--no-preserve-env-instance-type flags to the chains CLI.

Also introduce aliases for the flags for both chains and trusses to make help text more readable

💻 How

Add CLI option and wire it to baseten API call

🔬 Testing

Tested locally and ran unit tests

@jrochette jrochette self-assigned this Apr 17, 2025
@jrochette jrochette requested review from tyranitar and removed request for spal1 April 17, 2025 13:21
is_flag=True,
required=False,
default=None,
help=(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is a long description and might be rephrased in the future, you could introduce a variable and re-use it for both chains/truss (formulating it in a neutral way).

Copy link
Contributor

@tyranitar tyranitar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants