Improve some attribute/method names

This commit is contained in:
Julian Stirling 2026-05-07 09:47:55 +01:00
parent 1b69b19ec3
commit c7bb3e3c11
4 changed files with 18 additions and 16 deletions

View file

@ -15,12 +15,12 @@ class OFMThing(lt.Thing):
_data_dir: Optional[str] = None
_show_in_gallery: bool = False
_show_data_in_gallery: bool = False
@property
def show_in_gallery(self) -> bool:
def show_data_in_gallery(self) -> bool:
"""Whether to show in the Gallery."""
return self._show_in_gallery
return self._show_data_in_gallery
def __enter__(self) -> Self:
"""Set the data directory when the Thing is entered."""