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

Add a util function to convert basic python objects to override format #2934

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

jesszzzz
Copy link
Contributor

@jesszzzz jesszzzz commented Aug 5, 2024

Motivation

To pass overrides to a subprocess, sometimes override values need to be programmatically generated. This adds a basic util function to convert a python object to an override value string.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Added some test cases

Related Issues and PRs

(Is this PR part of a group of changes? Link the other relevant PRs and Issues here. Use https://help.github.com/en/articles/closing-issues-using-keywords for help on GitHub syntax)

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 5, 2024
@jesszzzz jesszzzz force-pushed the util_function_to_generate_override_format branch from 0139331 to 4a6f831 Compare August 6, 2024 15:31
Copy link

@andywag andywag left a comment

Choose a reason for hiding this comment

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

lgtm

@jesszzzz jesszzzz merged commit 6557a93 into main Aug 7, 2024
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants