Skip to content

Commit

Permalink
remove types
Browse files Browse the repository at this point in the history
  • Loading branch information
jxnl committed Jul 22, 2023
1 parent 9802a74 commit 84424a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openai_function_call/dsl/multitask.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from openai_function_call import OpenAISchema


class MultiTaskBase(OpenAISchema):
class MultiTaskBase:
task_type = None # type: ignore

@classmethod
Expand Down Expand Up @@ -51,7 +51,7 @@ def MultiTask(
subtask_class: Type[BaseModel],
name: Optional[str] = None,
description: Optional[str] = None,
) -> Union[MultiTaskBase | OpenAISchema]:
):
"""
Dynamically create a MultiTask OpenAISchema that can be used to segment multiple
tasks given a base class. This creates class that can be used to create a toolkit
Expand Down

0 comments on commit 84424a4

Please sign in to comment.