Skip to content

Commit

Permalink
update by pingsu's advice
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier committed Jun 4, 2024
1 parent 33874c0 commit 40406d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flytekit/extend/backend/base_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class SyncAgentBase(AgentBase):

@abstractmethod
def do(
self, task_template: TaskTemplate, inputs: Optional[LiteralMap], output_prefix: Optional[str], **kwargs
self, task_template: TaskTemplate, output_prefix: str, inputs: Optional[LiteralMap] = None, **kwargs
) -> Resource:
"""
This is the method that the agent will run.
Expand Down Expand Up @@ -263,8 +263,8 @@ async def _do(
self: PythonTask,
agent: SyncAgentBase,
template: TaskTemplate,
output_prefix: str,
inputs: Dict[str, Any] = None,
output_prefix: Optional[str] = None,
) -> Resource:
try:
ctx = FlyteContext.current_context()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies = [
"flyteidl>=1.11.0b1",
"fsspec>=2023.3.0",
"gcsfs>=2023.3.0",
"googleapis-common-protos>=1.57,!=1.63.1",
"googleapis-common-protos>=1.57",
"grpcio",
"grpcio-status",
"importlib-metadata",
Expand Down

0 comments on commit 40406d4

Please sign in to comment.