Skip to content

Commit ee7dfd9

Browse files
committed
Update JoinConfig descriptions
1 parent ea32cc2 commit ee7dfd9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sqlalchemy_crud_plus/types.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
class JoinConfig(BaseModel):
5757
model_config = ConfigDict(arbitrary_types_allowed=True)
5858

59-
model: type[Model] | AliasedClass = Field(description='')
60-
join_on: Any = Field(description='')
61-
join_type: JoinType = Field(default='left', description='')
62-
fill_result: bool = Field(default=False, description='Whether to populate this model columns to the query result')
59+
model: type[Model] | AliasedClass = Field(description='The target model or aliased class to join with')
60+
join_on: Any = Field(description='The join condition expression (e.g., model.id == other_model.id)')
61+
join_type: JoinType = Field(default='left', description='The type of join to perform')
62+
fill_result: bool = Field(default=False, description='Whether to populate this model to the query result')
6363

6464

6565
JoinConditions = list[str | JoinConfig] | dict[str, JoinType]

0 commit comments

Comments
 (0)