Datatamer / tamr-client

Programmatically interact with Tamr
https://tamr-client.readthedocs.io
Apache License 2.0
11 stars 25 forks source link

Add functionality to get, initiate and cancel Tamr backups and restores #438

Closed abafzal closed 3 years ago

abafzal commented 4 years ago

↪️ Pull Request

Resolves #313 Add functionality to initiate, get, and cancel Tamr backups and restores.

💻 Examples

tamr_client.instance.backup.get(...)
tamr_client.instance.backup.get_by_id(..., backup_id="")
tamr_client.instance.backup.initiate(...)
tamr_client.instance.backup.cancel(..., backup_id="")

✔️ PR Todo

abafzal commented 4 years ago

Added backup functionality. Restore to be added.

skalish commented 3 years ago

Would it make sense to include a poll function here? Backups are like operations in that their state is expected to change and a common task is checking if a backup is finished. I don't think I would go as far as creating a wait function or anything else synchronous, but that is an additional possibility.

skalish commented 3 years ago

LGTM

I actually don't think we need to docstring for Backup since we link to the Tamr docs.

Agreed. I think this is all set.