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

Change TotalWordLength and UpperCaseWordCount to return IntegerNullable #2474

Merged

Conversation

sbadithe
Copy link
Contributor

@sbadithe sbadithe commented Feb 1, 2023

IntegerNullable seems more appropriate, as fractional values seem not to be possible.

@sbadithe sbadithe changed the title Change primitives to return IntegerNullable Change TotalWordLength and UpperCaseWordCount to return IntegerNullable Feb 1, 2023
@sbadithe sbadithe force-pushed the change-count-natlang-primitives-to-return-integernullable branch from f878b18 to 30a76b6 Compare February 1, 2023 04:26
@sbadithe sbadithe force-pushed the change-count-natlang-primitives-to-return-integernullable branch from dd729ba to ed03939 Compare February 1, 2023 04:50
@codecov
Copy link

codecov bot commented Feb 1, 2023

Codecov Report

Merging #2474 (4ed0691) into main (0a72584) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #2474   +/-   ##
=======================================
  Coverage   99.42%   99.42%           
=======================================
  Files         355      355           
  Lines       21421    21421           
=======================================
  Hits        21297    21297           
  Misses        124      124           
Impacted Files Coverage Δ
...rd/transform/natural_language/total_word_length.py 100.00% <100.00%> (ø)
...ransform/natural_language/upper_case_word_count.py 100.00% <100.00%> (ø)
...anguage_primitives_tests/test_total_word_length.py 100.00% <100.00%> (ø)
...ests/primitive_tests/test_upper_case_word_count.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@sbadithe sbadithe marked this pull request as ready for review February 1, 2023 05:24
sbadithe and others added 2 commits February 1, 2023 07:48
Co-authored-by: Gaurav Sheni <gvsheni@gmail.com>
Co-authored-by: Gaurav Sheni <gvsheni@gmail.com>
@sbadithe sbadithe merged commit 1c424f4 into main Feb 1, 2023
@sbadithe sbadithe deleted the change-count-natlang-primitives-to-return-integernullable branch February 1, 2023 18:47
@dvreed77 dvreed77 mentioned this pull request Feb 15, 2023
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