Skip to content

Commit 73eed97

Browse files
committed
Update golden record
1 parent c9e569c commit 73eed97

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

end_to_end_tests/golden-record-custom/custom_e2e/models/an_enum.py

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
class AnEnum(str, Enum):
55
FIRST_VALUE = "FIRST_VALUE"
66
SECOND_VALUE = "SECOND_VALUE"
7+
8+
def __str__(self) -> str:
9+
return str(self.value)

end_to_end_tests/golden-record-custom/custom_e2e/models/an_int_enum.py

+3
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ class AnIntEnum(IntEnum):
55
VALUE_NEGATIVE_1 = -1
66
VALUE_1 = 1
77
VALUE_2 = 2
8+
9+
def __str__(self) -> str:
10+
return str(self.value)

end_to_end_tests/golden-record-custom/custom_e2e/models/different_enum.py

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
class DifferentEnum(str, Enum):
55
DIFFERENT = "DIFFERENT"
66
OTHER = "OTHER"
7+
8+
def __str__(self) -> str:
9+
return str(self.value)

end_to_end_tests/golden-record/my_test_api_client/models/an_enum.py

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
class AnEnum(str, Enum):
55
FIRST_VALUE = "FIRST_VALUE"
66
SECOND_VALUE = "SECOND_VALUE"
7+
8+
def __str__(self) -> str:
9+
return str(self.value)

end_to_end_tests/golden-record/my_test_api_client/models/an_int_enum.py

+3
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ class AnIntEnum(IntEnum):
55
VALUE_NEGATIVE_1 = -1
66
VALUE_1 = 1
77
VALUE_2 = 2
8+
9+
def __str__(self) -> str:
10+
return str(self.value)

end_to_end_tests/golden-record/my_test_api_client/models/different_enum.py

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
class DifferentEnum(str, Enum):
55
DIFFERENT = "DIFFERENT"
66
OTHER = "OTHER"
7+
8+
def __str__(self) -> str:
9+
return str(self.value)

0 commit comments

Comments
 (0)