Skip to content

Commit

Permalink
convert jsonl to lowercase and update default image (#2438)
Browse files Browse the repository at this point in the history
Signed-off-by: Samhita Alla <[email protected]>
  • Loading branch information
samhita-alla authored May 22, 2024
1 parent d89181f commit 4fcfe71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flytekit/types/iterator/json_iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class JSONIteratorTransformer(TypeTransformer[Iterator[JSON]]):
A JSON iterator that handles conversion between an iterator/generator and a JSONL file.
"""

JSON_ITERATOR_FORMAT = "JSONL"
JSON_ITERATOR_FORMAT = "jsonl"

def __init__(self):
super().__init__("JSON Iterator", Iterator[JSON])
Expand Down
4 changes: 2 additions & 2 deletions plugins/flytekit-openai/flytekitplugins/openai/batch/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __init__(
self,
name: str,
task_config: OpenAIFileConfig,
container_image: str = OpenAIFileDefaultImages.default_image(),
container_image: str = OpenAIFileDefaultImages.find_image_for(),
**kwargs,
):
super().__init__(
Expand Down Expand Up @@ -140,7 +140,7 @@ def __init__(
self,
name: str,
task_config: OpenAIFileConfig,
container_image: str = OpenAIFileDefaultImages.default_image(),
container_image: str = OpenAIFileDefaultImages.find_image_for(),
**kwargs,
):
super().__init__(
Expand Down

0 comments on commit 4fcfe71

Please sign in to comment.