Commit c618ee2
chore(gooddata-sdk): make UpsertOutcome str() match StrEnum
str(UpsertOutcome.CREATED) returned "UpsertOutcome.CREATED"; with
__str__ = str.__str__ it returns "created", so swapping the base class
for StrEnum once py3.10 support is dropped is a no-op for callers.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent d9fb3ba commit c618ee2
2 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
140 | 144 | | |
141 | 145 | | |
| 146 | + | |
| 147 | + | |
0 commit comments