Skip to content
Snippets Groups Projects
Select Git revision
  • 50c443bb722947d643e897edb49e30af4b7cd8d9
  • master default protected
  • replication_test
  • dev protected
  • release-1.10 protected
  • 533-integrate-semantic-recommendation-2
  • 556-usage-statistics
  • 553-semantic-recommendation-2
  • 553-semantic-recommendation
  • release-1.9 protected
  • 551-init-broker-service-permissions
  • 549-test-oai-pmh
  • 545-saving-multiple-times-breaks-pid-metadata
  • 499-standalone-compute-service-2
  • 539-load-tests
  • hotfix/helm-chart
  • luca_ba_new_interface
  • 534-bug-when-adding-access-to-user-that-is-not-registered-at-dashboard-service
  • release-1.8 protected
  • 533-integrate-semantic-recommendation
  • feature/openshift
  • v1.10.5 protected
  • v1.10.4 protected
  • v1.10.3 protected
  • v1.10.2 protected
  • v1.10.1 protected
  • v1.10.0-rc13 protected
  • v1.10.0-rc12 protected
  • v1.10.0-rc11 protected
  • v1.10.0-rc10 protected
  • v1.10.0-rc9 protected
  • v1.10.0-rc8 protected
  • v1.10.0-rc7 protected
  • v1.10.0-rc6 protected
  • v1.10.0-rc5 protected
  • v1.10.0-rc4 protected
  • v1.10.0-rc3 protected
  • v1.10.0-rc2 protected
  • v1.10.0rc1 protected
  • v1.10.0rc0 protected
  • v1.10.0 protected
41 results

dbrepo-analyse-service

Martin Weise's avatar
Martin Weise authored
c31cbb16
History

Analyse Service

Service to analyse datatypes, update statistical properties of databases in the metadata database, add metadata, e.g., data provenance, db description ... to the metadata database. Remark: if you use swagger-ui, you can switch between /api-analyze.json and /api-mdb.json

Endpoints

Development

Install all dev dependencies from the Pipfile:

pipenv install --dev

Test

Run all tests in test/:

coverage run -m pytest test/test_determine_dt.py test/test_determine_pk.py test/test_s3_client.py --junitxml=report.xml
coverage html --omit="test/*" # (optional html report)

Other

Potential issues when upgrading to Python 3.10+ as messytables requires collections and the interface changed for Python 3.10 onwards, see the StackOverflow post.