Skip to content

Commit 8040f43

Browse files
committed
chore: removed useless args, updated readme
1 parent 49e098e commit 8040f43

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ my_secret = lockbox.create_secret(
9797
name="my-secret",
9898
version_payload_entries=[
9999
INewSecretPayloadEntry(key="secret_entry_1", text_value="secret_entry_text_value"),
100-
INewSecretPayloadEntry(key="secret_entry_2", binary_value="secret_entry_binary_value"),
100+
INewSecretPayloadEntry(key="secret_entry_2", binary_value="secret_entry_binary_value".encode()),
101101
],
102102
)
103103
)

‎yc_lockbox/_abc.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import yc_lockbox._constants as C
66

77
from abc import ABC, abstractmethod
8-
from typing import Any, TypeVar, Union
8+
from typing import Any, TypeVar
99
from yc_lockbox._exceptions import InvalidCredentials
1010

1111
T = TypeVar("T")
@@ -44,7 +44,6 @@ def request(
4444
headers: dict[str, Any] | None = None,
4545
response_model: T | None = None,
4646
raise_for_status: bool = True,
47-
inject_client: Union["AbstractYandexLockboxClient", None] = None,
4847
**kwargs,
4948
) -> Any:
5049
raise NotImplementedError

0 commit comments

Comments
 (0)