Skip to content

Commit

Permalink
Refactor GetPromptTemplate class to remove optional types
Browse files Browse the repository at this point in the history
  • Loading branch information
abubakarsohail committed Jan 15, 2024
1 parent 8928ba0 commit 1e3e8b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions promptlayer/types/prompt_template.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from typing import Dict, TypedDict, Union
from typing import Dict, TypedDict


class GetPromptTemplate(TypedDict, total=False):
version: Union[int, None]
label: Union[str, None]
provider: Union[str, None]
input_variables: Union[Dict[str, str], None]
version: int
label: str
provider: str
input_variables: Dict[str, str]

0 comments on commit 1e3e8b5

Please sign in to comment.