Skip to content

Commit ce28f18

Browse files
committed
refactor(data_classes): further remove duplicated code
Manually checked with: $ pip install pylint $ pylint --disable=all --enable=R0801 --min-similarity-lines=1 aws_lambda_powertools/utilities/data_classes
1 parent 1a29d1a commit ce28f18

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

aws_lambda_powertools/utilities/data_classes/vpc_lattice.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -169,16 +169,6 @@ def version(self) -> str:
169169
"""The VPC Lattice v2 Event version"""
170170
return self["version"]
171171

172-
@property
173-
def is_base64_encoded(self) -> bool | None:
174-
"""A boolean flag to indicate if the applicable request payload is Base64-encode"""
175-
return self.get("isBase64Encoded")
176-
177-
@property
178-
def path(self) -> str:
179-
"""The VPC Lattice v2 Event path"""
180-
return self["path"]
181-
182172
@property
183173
def request_context(self) -> vpcLatticeEventV2RequestContext:
184174
"""The VPC Lattice v2 Event request context."""

0 commit comments

Comments
 (0)