influxdata / influxdata/influxdb-client-python

Add examples for BackupService and RestoreService

未关闭
#617 3 条评论 0 个 reaction 已指派 1 人 已被 @trevorbonas 认领 在 GitHub 查看
good first issue
主要语言
Python
星标
793
派生
186
平均合并
3 小时 2 分钟
30 天内合并 PR
1

描述

__Proposal:__
Add examples demonstrating how to use the `BackupService` and `RestoreService` as they are both currently undocumented.

__Current behavior:__
Examples are missing apart from brief comments in the source code.

__Desired behavior:__
It would be nice to have examples demonstrating how to use both services, possibly in the `examples` directory or in the README. Personally, I would like to use `BackupService` and `RestoreService` to perform migrations but am unsure how to use these services.

__Alternatives considered:__
Other alternatives to the BackupService and RestoreService is using the Influx CLI with Python subprocess calls, but this is less testable and not preferred.

__Use case:__
Performing backups or restores using the InfluxDB Python client would be much easier with documentation.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。