weso / hercules-sync

Tools to synchronise data between the ontology files and Wikibase instance for the Hercules project at University of Murcia.
GNU General Public License v3.0
4 stars 1 forks source link

Handle unrecognized languages #37

Closed alejgh closed 4 years ago

alejgh commented 4 years ago

Closes #25

As a result of returning an error when a language is not supported by wikibase, we are now also returning the ModificationResult instance with each operation.

Therefore this closes #20 as well.

codecov[bot] commented 4 years ago

Codecov Report

Merging #37 into master will increase coverage by 0.08%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
+ Coverage   95.43%   95.50%   +0.08%     
==========================================
  Files          15       15              
  Lines         590      600      +10     
==========================================
+ Hits          563      573      +10     
  Misses         27       27              
Impacted Files Coverage Δ
hercules_sync/triplestore/triplestore_manager.py 100.00% <100.00%> (ø)
hercules_sync/triplestore/wikibase_adapter.py 98.51% <100.00%> (+0.11%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9cd2adc...5df88d0. Read the comment docs.