Skip to content

Commit 8cbeb08

Browse files
rephrase model docstrings to explicitly denote that they are representations and not used over the wire
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent 7c483f2 commit 8cbeb08

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/databricks/sql/backend/sea/models/requests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
@dataclass
66
class CreateSessionRequest:
7-
"""Request to create a new session."""
7+
"""Representation of a request to create a new session."""
88

99
warehouse_id: str
1010
session_confs: Optional[Dict[str, str]] = None
@@ -29,7 +29,7 @@ def to_dict(self) -> Dict[str, Any]:
2929

3030
@dataclass
3131
class DeleteSessionRequest:
32-
"""Request to delete a session."""
32+
"""Representation of a request to delete a session."""
3333

3434
warehouse_id: str
3535
session_id: str

src/databricks/sql/backend/sea/models/responses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
@dataclass
66
class CreateSessionResponse:
7-
"""Response from creating a new session."""
7+
"""Representation of the response from creating a new session."""
88

99
session_id: str
1010

0 commit comments

Comments
 (0)