Skip to content

Commit

Permalink
[Storage] STG 88 Archboard Review Feedback (#30129)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenttran-msft authored Apr 28, 2023
1 parent 2b63352 commit d3df623
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def list_directories_and_files(self, name_starts_with=None, **kwargs):

@distributed_trace
def list_handles(self, recursive=False, **kwargs):
# type: (bool, Any) -> ItemPaged
# type: (bool, Any) -> ItemPaged[Handle]
"""Lists opened handles on a directory or a file under the directory.
:param bool recursive:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ class Handle(DictMixin):
the handle has last been reconnected. (UTC)
:keyword ~datetime.datetime last_reconnect_time: Time handle was last connected to (UTC)
:keyword access_rights: Access rights of the handle.
:paramtype access_rights: List[Literal['Read', 'Write', 'Delete']]
:paramtype access_rights: Optional[List[Literal['Read', 'Write', 'Delete']]]
"""

def __init__(self, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def list_directories_and_files(self, name_starts_with=None, **kwargs):

@distributed_trace
def list_handles(self, recursive=False, **kwargs):
# type: (bool, Any) -> AsyncItemPaged
# type: (bool, Any) -> AsyncItemPaged[Handle]
"""Lists opened handles on a directory or a file under the directory.
:param bool recursive:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,7 @@ async def resize_file(self, size, **kwargs):

@distributed_trace
def list_handles(self, **kwargs):
# type: (Any) -> AsyncItemPaged
# type: (Any) -> AsyncItemPaged[Handle]
"""Lists handles for file.
:keyword int timeout:
Expand Down

0 comments on commit d3df623

Please # to comment.