Skip to content

0.5.0

Compare
Choose a tag to compare
@severo severo released this 24 Sep 08:47
df04ffb

Breaking:

  • minimum version of Python is now 3.9.6
  • fix the number of workers to 1

Features:

  • add endpoints: /cache, /datasets
  • cache all the responses for /datasets, /info, /configs, /splits, /rows
  • environment variables can be setup in a .env file
  • rename environment variables: HOSTNAME to APP_HOSTNAME and PORT to APP_PORT
  • add environment variables: CACHE_SIZE_LIMIT, CACHE_TTL_SECONDS, DATASETS_ENABLE_PRIVATE, HF_TOKEN, LOG_LEVEL
  • add two targets for development: make coverage and make watch
  • prepare support for private datasets, but it's currently disabled (hardcoded in memorize)

CI:

  • check the types with mypy
  • ignore safety alert about tensorboard 2.6.0
  • setup code coverage with codecov and pytest-cov

Refactor:

  • refactor the benchmark to use the API instead of accessing the functions directly
  • use logging to manage the logs

Details: 0.4.6...0.5.0