Files
Marcus Mewsandintellij-monorepo-bot 992a8cdfb5 PY-83066 extract method doesn't add imports
- add imports for types of arguments and return values
- sort new imports by name

GitOrigin-RevId: 861c4733b47a4b056582b359c62c9f1360814178
2025-08-22 14:18:05 +00:00

11 lines
169 B
Python

from enum import Enum
class Color(Enum):
RED = 1
GREEN = 2
BLUE = 3
def f(color):
if color == Color.RED:
<selection>1
color</selection>