Skip to content

Commit 7783aad

Browse files
committed
chore: remove set as mandatory method (temporarily)
Signed-off-by: heitorlessa <[email protected]>
1 parent 647e3b8 commit 7783aad

File tree

1 file changed

+3
-5
lines changed
  • aws_lambda_powertools/utilities/parameters

1 file changed

+3
-5
lines changed

aws_lambda_powertools/utilities/parameters/base.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Base for Parameter providers
33
"""
4+
45
from __future__ import annotations
56

67
import base64
@@ -153,7 +154,6 @@ def _get(self, name: str, **sdk_options) -> Union[str, bytes, Dict[str, Any]]:
153154
"""
154155
raise NotImplementedError()
155156

156-
@abstractmethod
157157
def _set(self, name: str, **sdk_options) -> Union[str, bytes]:
158158
"""
159159
Sets a parameter value from the underlying parameter store
@@ -379,8 +379,7 @@ def transform_value(
379379
transform: TransformOptions,
380380
raise_on_transform_error: bool = False,
381381
key: str = "",
382-
) -> Dict[str, Any]:
383-
...
382+
) -> Dict[str, Any]: ...
384383

385384

386385
@overload
@@ -389,8 +388,7 @@ def transform_value(
389388
transform: TransformOptions,
390389
raise_on_transform_error: bool = False,
391390
key: str = "",
392-
) -> Optional[Union[str, bytes, Dict[str, Any]]]:
393-
...
391+
) -> Optional[Union[str, bytes, Dict[str, Any]]]: ...
394392

395393

396394
def transform_value(

0 commit comments

Comments
 (0)