yr.InstanceProxy.list_checkpoints#
- InstanceProxy.list_checkpoints(namespace: str = '') list[source]#
List all checkpoints for this instance’s function type.
- Parameters:
namespace (str) – Namespace filter. Default is empty string.
- Returns:
List of checkpoint ID strings.
- Return type:
list
Example
>>> ins = Counter.invoke() >>> ins.snapshot(leave_running=False) >>> checkpoints = ins.list_checkpoints()