Skip to content

Commit

Permalink
docs: Add docstring for _container_image setter
Browse files Browse the repository at this point in the history
Signed-off-by: JiangJiaWei1103 <[email protected]>
  • Loading branch information
JiangJiaWei1103 committed Feb 4, 2025
1 parent bb6e187 commit e66743f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flytekit/core/python_auto_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ def _container_image(self) -> Optional[Union[str, ImageSpec]]:

@_container_image.setter
def _container_image(self, image: Optional[Union[str, ImageSpec]]):
"""Deprecated, please use `image` instead.
This setter is for backward compatibility, so that setting `_container_image`
will adjust the new `_image` parameter directly.
"""
self._image = image

@property
Expand Down

0 comments on commit e66743f

Please sign in to comment.