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

[qob] fix ServiceBackend.get_flags #12307

Closed
wants to merge 4 commits into from
Closed

Conversation

danking
Copy link
Contributor

@danking danking commented Oct 12, 2022

I just plainly implemented this wrong the first time.

I just plainly implemented this wrong the first time.
tpoterba
tpoterba previously approved these changes Oct 12, 2022
@danking
Copy link
Contributor Author

danking commented Oct 13, 2022

Hmm, so, I see that the py4j backend doesn't error if you get_flags for a flag that you haven't previously set. I think it gives you the default value?

The service backend is a bit screwy when it comes to flags because I don't want to run a batch job just to figure out what the Scala-side flags are. I think the right fix is to move all the flag information into Python. What do you think of that @tpoterba ?

@tpoterba
Copy link
Contributor

fine by me. We should maybe list the names on the scala side and check we don't get anything outside that set from Python too, though?

Copy link
Contributor

@tpoterba tpoterba left a comment

Choose a reason for hiding this comment

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

requesting changes to get this off my queue, LMK when ready for review

@danking
Copy link
Contributor Author

danking commented Nov 3, 2022

Superseded by #12423

@danking danking closed this Nov 3, 2022
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.

2 participants