Add type hinting
As type hinting in Python is supported for a while now (since 3.5) and caosdb-pylib anyway requires Python >= 3.5, gradually introducing type hints would be a great help for reading the code. Including a type checker in a CI/CD pipeline (e.g. mypy) could then be used to avoid bugs that can be detected before runtime.