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

Send cloud provider as string #2786

Merged
merged 2 commits into from
Jan 21, 2025
Merged

Send cloud provider as string #2786

merged 2 commits into from
Jan 21, 2025

Conversation

erikbern
Copy link
Contributor

Minor annoyance that we have this exposed as an enum in the client.

No strong feelings about casing here – upper case makes I think a tiny bit more sense for string enums, but I'm open minded.

@erikbern erikbern requested a review from mwaskom January 21, 2025 00:01
@mwaskom
Copy link
Contributor

mwaskom commented Jan 21, 2025

Assuming we're going to do something similar with GPU types, we currently normalize those to lowercase internally. But I don't think it would break anything to switch that? No strong opinion otherwise.

@mwaskom
Copy link
Contributor

mwaskom commented Jan 21, 2025

BTW is the plan to eventually rename cloud_provider_str -> cloud_provider?

@erikbern
Copy link
Contributor Author

BTW is the plan to eventually rename cloud_provider_str -> cloud_provider?

Yeah we can make that switch once the old field has been deprecated and removed (will take a long time).

@erikbern erikbern merged commit 575225d into main Jan 21, 2025
23 checks passed
@erikbern erikbern deleted the erikbern/cloud-provider-str branch January 21, 2025 15:16
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