Skip to content

Commit

Permalink
fix: add type hint for public property name (Azure#30101)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotzh authored Apr 27, 2023
1 parent 4679262 commit 058b0e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def __init__(
self._init = False

@property
def name(self):
def name(self) -> str:
"""Name of the node."""
return self._name

Expand Down

0 comments on commit 058b0e0

Please sign in to comment.