Suggestion from Sam to use the new type hints being added (#369, #374, #377 etc) with mypy and pydantic.
mypy static checking should be ran on CICD.
pydantic could possibly be used for API validation and responses if there are areas prone to issues from lack of validation - should be investigated.