Skip to content

Commit

Permalink
Switch to __repr__
Browse files Browse the repository at this point in the history
  • Loading branch information
rajveerappan committed Aug 5, 2024
1 parent 2fb6383 commit 4a19dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boto3/dynamodb/conditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __eq__(self, other):
def __ne__(self, other):
return not self.__eq__(other)

def __str__(self) -> str:
def __repr__(self) -> str:
format_str = EXPR_STR_FORMAT_REGEX.sub(
r"{values[\1]}", self.expression_format
)
Expand Down Expand Up @@ -141,7 +141,7 @@ def __eq__(self, other):
def __ne__(self, other):
return not self.__eq__(other)

def __str__(self) -> str:
def __repr__(self) -> str:
return self.name


Expand Down

0 comments on commit 4a19dec

Please sign in to comment.