Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@truongvan
Copy link
Contributor

My implementation for Issue #234.

truongvan and others added 3 commits December 4, 2023 11:36
- Removed:
  - Previous try-except block converting string to int, defaulting to string on failure.

- Added:
  - Enhanced parsing logic:
    - Converts string to int if `isdigit()` is true.
    - Converts string to boolean if it matches "true" or "false" (case sensitive).
    - Otherwise, retains the string as is.
@codecov
Copy link

codecov bot commented Dec 9, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9a74cc5) 100.00% compared to head (cec0b29) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #235   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           73        75    +2     
  Branches        16        18    +2     
=========================================
+ Hits            73        75    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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