agrc / masquerade

Disguise UGRC's Web API endpoints as an Esri locator service.
https://github.com/agrc/masquerade#readme
MIT License
1 stars 0 forks source link

fix: handle string values for max suggestions param #133

Closed stdavis closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 72.50% and project coverage change: +1.00 :tada:

Comparison is base (bfd45ed) 85.39% compared to head (c038c5f) 86.40%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #133 +/- ## ========================================== + Coverage 85.39% 86.40% +1.00% ========================================== Files 3 4 +1 Lines 315 331 +16 Branches 33 39 +6 ========================================== + Hits 269 286 +17 + Misses 40 39 -1 Partials 6 6 ``` | [Impacted Files](https://app.codecov.io/gh/agrc/masquerade/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=agrc) | Coverage Δ | | |---|---|---| | [src/masquerade/main.py](https://app.codecov.io/gh/agrc/masquerade/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=agrc#diff-c3JjL21hc3F1ZXJhZGUvbWFpbi5weQ==) | `69.44% <35.71%> (+1.44%)` | :arrow_up: | | [src/masquerade/providers/open\_sgid.py](https://app.codecov.io/gh/agrc/masquerade/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=agrc#diff-c3JjL21hc3F1ZXJhZGUvcHJvdmlkZXJzL29wZW5fc2dpZC5weQ==) | `96.42% <87.50%> (+2.10%)` | :arrow_up: | | [src/masquerade/providers/web\_api.py](https://app.codecov.io/gh/agrc/masquerade/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=agrc#diff-c3JjL21hc3F1ZXJhZGUvcHJvdmlkZXJzL3dlYl9hcGkucHk=) | `90.78% <100.00%> (-1.11%)` | :arrow_down: | | [src/masquerade/utils.py](https://app.codecov.io/gh/agrc/masquerade/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=agrc#diff-c3JjL21hc3F1ZXJhZGUvdXRpbHMucHk=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.