Skip to content

Commit 97bd70f

Browse files
committed
Fix some lint issues
1 parent f701d6e commit 97bd70f

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/vws/query.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,17 @@ def __init__(
2727

2828
def query(self, image: io.BytesIO) -> str:
2929
"""
30-
TODO docstring
30+
Use the Vuforia Web Query API to make an Image Recognition Query.
31+
32+
See
33+
https://library.vuforia.com/articles/Solution/How-To-Perform-an-Image-Recognition-Query
34+
for parameter details.
35+
36+
Args:
37+
image: The image to make a query against.
38+
39+
Returns:
40+
An ordered list of target details of matching targets.
3141
"""
3242
image_content = image.getvalue()
3343
body = {

tests/test_query.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
import io
66
import uuid
77

8-
import pytest
9-
108
from vws import VWS, CloudRecoService
119

1210

0 commit comments

Comments
 (0)