Skip to content

Commit a03b840

Browse files
authored
Fix for docstrings for Command.command setter and getter (Azure#36520)
Setter and getter docstrings were reversed.
1 parent 6e3961b commit a03b840

File tree

1 file changed

+2
-2
lines changed
  • sdk/ml/azure-ai-ml/azure/ai/ml/entities/_builders

1 file changed

+2
-2
lines changed

sdk/ml/azure-ai-ml/azure/ai/ml/entities/_builders/command.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def component(self) -> Union[str, CommandComponent]:
394394

395395
@property
396396
def command(self) -> Optional[str]:
397-
"""Sets the command to be executed.
397+
"""The command to be executed.
398398
399399
:rtype: Optional[str]
400400
"""
@@ -408,7 +408,7 @@ def command(self) -> Optional[str]:
408408

409409
@command.setter
410410
def command(self, value: str) -> None:
411-
"""The command to be executed.
411+
"""Sets the command to be executed.
412412
413413
:param value: The command to be executed.
414414
:type value: str

0 commit comments

Comments
 (0)