pin_versions_prune
=None, days=None) boards.BaseBoard.pin_versions_prune(name, n
Delete old versions of a pin.
Parameters
Name | Type | Description | Default |
---|---|---|---|
name | Pin name. | required | |
n | int | None | Pick one of n or days to choose how many versions to keep. n = 3 will keep the last three versions; days = 14 will keep all the versions in the last 14 days. |
None |
days | int | None | Pick one of n or days to choose how many versions to keep. n = 3 will keep the last three versions; days = 14 will keep all the versions in the last 14 days. |
None |
Notes
Regardless of what values you set, pin_versions_prune
will never delete the most recent version.