synthesized-io / insight

🧿 Metrics & Monitoring of Datasets
BSD 3-Clause "New" or "Revised" License
12 stars 0 forks source link

Fix upload to database bug #113

Closed simonhkswan closed 1 year ago

simonhkswan commented 1 year ago

Correctly casts numpy types to their scalar counterpart before uploading to database.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

85.7% 85.7% Coverage
0.0% 0.0% Duplication

codecov[bot] commented 1 year ago

Codecov Report

Merging #113 (4ccc99e) into master (69d43ba) will decrease coverage by 0.1%. The diff coverage is 80.0%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #113     +/-   ##
========================================
- Coverage    79.3%   79.2%   -0.1%     
========================================
  Files          11      11             
  Lines         870     872      +2     
  Branches      130     131      +1     
========================================
+ Hits          690     691      +1     
  Misses        140     140             
- Partials       40      41      +1     
Impacted Files Coverage Δ
src/insight/metrics/base.py 74.6% <50.0%> (-0.4%) :arrow_down:
src/insight/database/schema.py 100.0% <100.0%> (ø)