NOAA-EMC / wxflow

Tools for Weather Workflows
https://wxflow.readthedocs.io/en/latest
GNU Lesser General Public License v3.0
0 stars 7 forks source link

if a key is missing, report with a KeyError in AttrDict #16

Closed aerorahul closed 6 months ago

aerorahul commented 6 months ago

Description

When a key is missing in a AttrDict, raise a KeyError consistent with dict.

Fixes #14

Type of change

How Has This Been Tested?

Checklist

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 49.08%. Comparing base (dd9ca24) to head (91903a1).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #16 +/- ## =========================================== + Coverage 48.87% 49.08% +0.21% =========================================== Files 15 15 Lines 1416 1416 Branches 308 308 =========================================== + Hits 692 695 +3 + Misses 670 667 -3 Partials 54 54 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.