Attend the Women in ML Symposium on December 7 Register now

tfds.testing.mock_kaggle_api

Stay organized with collections Save and categorize content based on your preferences.

Mock out the kaggle CLI.

err_msg str, if provided, the kaggle CLI will raise a CalledProcessError and this will be the command output.

None, context will have kaggle CLI mocked out.