Bump hvac to 2.3.* (#12168)

This commit is contained in:
Nikita Sobolev
2024-06-20 10:05:09 +03:00
committed by GitHub
parent fdce887b94
commit 852946f759
3 changed files with 11 additions and 1 deletions

View File

@@ -1,3 +1,3 @@
version = "2.2.*"
version = "2.3.*"
upstream_repository = "https://github.com/hvac/hvac"
requires = ["types-requests"]

View File

@@ -1,6 +1,8 @@
from _typeshed import Incomplete
from typing import Any
from hvac.api.system_backend.system_backend_mixin import SystemBackendMixin
from requests import Response
class Raft(SystemBackendMixin):
def join_raft_cluster(
@@ -16,3 +18,10 @@ class Raft(SystemBackendMixin):
def take_raft_snapshot(self): ...
def restore_raft_snapshot(self, snapshot): ...
def force_restore_raft_snapshot(self, snapshot): ...
def read_raft_auto_snapshot_status(self, name: str) -> Response: ...
def read_raft_auto_snapshot_config(self, name: str) -> Response: ...
def list_raft_auto_snapshot_configs(self) -> Response: ...
def create_or_update_raft_auto_snapshot_config(
self, name: str, interval: str, storage_type: str, retain: int = 1, **kwargs: Any
) -> Response: ...
def delete_raft_auto_snapshot_config(self, name: str) -> Response: ...

View File

@@ -4,3 +4,4 @@ from hvac.api.system_backend.system_backend_mixin import SystemBackendMixin
class Wrapping(SystemBackendMixin):
def unwrap(self, token: Incomplete | None = None): ...
def wrap(self, payload: dict[Incomplete, Incomplete] | None = None, ttl: int = 60): ...