vast-ai / vast-python

Vast.ai python and cli api client
MIT License
124 stars 49 forks source link

Delete Tempalate Redesign - CLI component #156

Open Marcoh572 opened 5 days ago

Marcoh572 commented 5 days ago

@jsbcannell I removed the ability to delete via hash id because:

  1. if multiple people are using essentially the same templates with the same hash id, we wouldn't want the delete to affect more than just the one template a user is trying to delete
  2. The main component of deleting templates has to do with the user_template relationship, which is based on the template_id itself, not the hash id, so it makes sense to just revert this back to only using the template id for deleting