File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 33"""
44
55import io
6- from typing import Any , Dict , List
6+ from typing import List
77from urllib .parse import urljoin
88
99import requests
1010from urllib3 .filepost import encode_multipart_formdata
1111from vws_auth_tools import authorization_header , rfc_1123_date
1212
13- from ._result_codes import raise_for_result_code
14- from .exceptions import (
13+ from vws ._result_codes import raise_for_result_code
14+ from vws .exceptions import (
1515 ConnectionErrorPossiblyImageTooLarge ,
1616 MatchProcessing ,
1717 MaxNumResultsOutOfRange ,
1818)
19- from .include_target_data import CloudRecoIncludeTargetData
19+ from vws .include_target_data import CloudRecoIncludeTargetData
20+ from vws .reports import QueryResult
2021
2122
2223class CloudRecoService :
@@ -46,7 +47,7 @@ def query(
4647 max_num_results : int = 1 ,
4748 include_target_data :
4849 CloudRecoIncludeTargetData = CloudRecoIncludeTargetData .TOP ,
49- ) -> List [Dict [ str , Any ] ]:
50+ ) -> List [QueryResult ]:
5051 """
5152 Use the Vuforia Web Query API to make an Image Recognition Query.
5253
You can’t perform that action at this time.
0 commit comments