Fetch

stride.utils.fetch.fetch(origin, dest, token=None, assets=None)[source]

Fetch asset from GitHub repository. The asset is only fetched once.

Parameters:
  • origin (str) – Name of the asset to fetch.

  • dest (str) – Path to save file.

  • token (str, optional) – Access token to fetch the access if it lives in a private repo.

  • assets (dict, optional) –