Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tfds.testing.mock_kaggle_api

Mock out the kaggle CLI.

tfds.testing.mock_kaggle_api(
    *args,
    **kwds
)

Args:

  • filenames: list<str>, names of the competition files.
  • err_msg: str, if provided, the kaggle CLI will raise a CalledProcessError and this will be the command output.

Yields:

None, context will have kaggle CLI mocked out.