Skip to content

Commit 7c358ca

Browse files
committed
Add missing docstring
1 parent a1783f9 commit 7c358ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/clabe/apps/_bonsai.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ class BonsaiAppSettings(ServiceSettings):
5656
@pydantic.field_validator("workflow", "executable", mode="after", check_fields=True)
5757
@classmethod
5858
def _resolve_path(cls, value: os.PathLike) -> os.PathLike:
59+
"""Resolves the path to an absolute path."""
5960
return Path(value).resolve()
6061

6162
@pydantic.model_validator(mode="after")
6263
def _set_start_flag(self) -> Self:
64+
"""Ensures that the start flag is set correctly based on the editor mode"""
6365
self.is_start_flag = self.is_start_flag if not self.is_editor_mode else True
6466
return self
6567

0 commit comments

Comments
 (0)