Skip to content

Commit

Permalink
Formatting with yapf
Browse files Browse the repository at this point in the history
  • Loading branch information
jboucourt committed Aug 6, 2024
1 parent 59a8dee commit c48c550
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions gestalt/vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@


class Vault(Provider):

def __init__(
self,
cert: Optional[Tuple[str, str]] = None,
Expand Down Expand Up @@ -127,12 +126,13 @@ def stop(self) -> None:
def __del__(self) -> None:
self.stop()

def get(self,
key: str,
path: str,
filter: str,
sep: Optional[str] = "."
) -> Union[str, int, float, bool, List[Any]]:
def get(
self,
key: str,
path: str,
filter: str,
sep: Optional[str] = "."
) -> Union[str, int, float, bool, List[Any]]:
"""Gets secret from vault
Args:
key (str): key to get secret from
Expand Down Expand Up @@ -270,4 +270,4 @@ def _validate_token_expiration(self) -> None:
else:
print(f"Token still valid for: {delta_time} days")
else:
print("Token information not retreived")
print("Token information not retreived")

0 comments on commit c48c550

Please sign in to comment.