Skip to content

Commit 7feecb9

Browse files
committed
formatting problem
1 parent 67ecb88 commit 7feecb9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

plexe/internal/common/utils/pydantic_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def map_to_basemodel(name: str, schema: dict | Type[BaseModel]) -> Type[BaseMode
6666
try:
6767
# Handle both Dict[str, type] and Dict[str, str] formats
6868
annotated_schema = {}
69-
69+
7070
type_mapping = {
7171
"int": int,
7272
"float": float,

plexe/models.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ def __init__(
111111
# The model's identity is defined by these fields
112112
self.intent: str = intent
113113
self.input_schema: Optional[Type[BaseModel]] = map_to_basemodel("in", input_schema) if input_schema else None
114-
self.output_schema: Optional[Type[BaseModel]] = map_to_basemodel("out", output_schema) if output_schema else None
114+
self.output_schema: Optional[Type[BaseModel]] = (
115+
map_to_basemodel("out", output_schema) if output_schema else None
116+
)
115117
self.training_data: Dict[str, Dataset] = dict()
116118
self.distributed: bool = distributed
117119

0 commit comments

Comments
 (0)