Skip to content

Commit 259701c

Browse files
committed
Linting
1 parent 2312432 commit 259701c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

temporalio/contrib/openai_agents/_temporal_openai_agents.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,9 @@ def __init__(
284284
)
285285

286286
# Delay activity construction until they are actually needed
287-
def add_activities(activities: Optional[Sequence[Callable]]) -> Sequence[Callable]:
287+
def add_activities(
288+
activities: Optional[Sequence[Callable]],
289+
) -> Sequence[Callable]:
288290
if not register_activities:
289291
return activities or []
290292

tests/contrib/openai_agents/test_openai_replay.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,5 @@ async def test_replay(file_name: str) -> None:
4444
InputGuardrailWorkflow,
4545
OutputGuardrailWorkflow,
4646
],
47-
plugins=[
48-
OpenAIAgentsPlugin()
49-
],
47+
plugins=[OpenAIAgentsPlugin()],
5048
).replay_workflow(WorkflowHistory.from_json("fake", history_json))

0 commit comments

Comments
 (0)