Skip to content

Commit 405b13f

Browse files
committed
fix output type
1 parent b502765 commit 405b13f

File tree

3 files changed

+3
-18
lines changed

3 files changed

+3
-18
lines changed

patchwork/steps/FixIssue/FixIssue.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
AnalyzeImplementStrategy,
1414
)
1515
from patchwork.common.tools import CodeEditTool, Tool
16+
from patchwork.logger import logger
1617
from patchwork.step import Step
1718
from patchwork.steps.FixIssue.typed import FixIssueInputs, FixIssueOutputs
1819

patchwork/steps/FixIssue/README.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

patchwork/steps/FixIssue/typed.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing_extensions import Annotated, Dict, TypedDict
1+
from typing_extensions import Annotated, Dict, TypedDict, List
22

33
from patchwork.common.constants import TOKEN_URL
44
from patchwork.common.utils.step_typing import StepTypeConfig
@@ -36,6 +36,4 @@ class FixIssueInputs(__FixIssueRequiredInputs, total=False):
3636

3737

3838
class FixIssueOutputs(TypedDict):
39-
status_code: int
40-
headers: Dict[str, str]
41-
body: str
39+
modified_files: List[Dict]

0 commit comments

Comments
 (0)