File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ravendb/documents/session Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1919from ravendb .documents .indexes .definitions import AbstractCommonApiForIndexes
2020from ravendb .documents .operations .attachments import (
2121 GetAttachmentOperation ,
22- AttachmentName ,
22+ AttachmentName , CloseableAttachmentResult ,
2323)
2424from ravendb .documents .operations .batch import BatchOperation
2525from ravendb .documents .operations .executor import OperationExecutor , SessionOperationExecutor
@@ -1127,7 +1127,7 @@ def get(
11271127 name : str = None ,
11281128 # att_requests: Optional[List[AttachmentRequest]] = None,
11291129 # todo: fetching multiple attachments with single command
1130- ):
1130+ ) -> CloseableAttachmentResult :
11311131 # if att_requests is not None:
11321132 # if entity_or_document_id or name:
11331133 # raise ValueError("Specify either <att_requests> or <entity/document_id, name>")
You can’t perform that action at this time.
0 commit comments