ecolab.get_permalink#
- etils.ecolab.get_permalink(
- *,
- url: str,
- template_params: dict[str, Any] | tuple[tuple[str, Any, Any], ...],
Get the permalink for the current colab.
- Parameters:
url – The base URL.
template_params – A dict of name to value. Can also be a list of (name, value, default) tuples, in which case only the value != default are added (to make the url shorter).
- Returns:
The permalink.