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

Feature/make string option constants #958

Merged
merged 5 commits into from
Nov 26, 2021

Conversation

lavigne958
Copy link
Collaborator

Replace the use of string values for the following option by an enum:

  • Dimension: ROWS, COLUMNS
  • ValueRenderOption: FORMATTED_VALUE, UNFORMATTED_VALUE, FORMULA
  • ValueInputOption: RAW, USER_ENTERED

This PR is a take over from #949

Thanks again @ccppoo for your contribution.

using by tuple instance property is much safer than using raw string.
dataclass was considered but deferred , it was introduced in 3.7
…ple)

ValueInputOption defined at .utils
with styling changes
@lavigne958 lavigne958 requested a review from burnash November 26, 2021 17:58
@lavigne958 lavigne958 self-assigned this Nov 26, 2021
@lavigne958 lavigne958 merged commit 9f8e875 into master Nov 26, 2021
@lavigne958 lavigne958 deleted the feature/make_string_option_constants branch November 26, 2021 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants