File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def get_version():
28
28
long_description_content_type = "text/markdown" ,
29
29
url = "https://github.com/video-db/videodb-python" ,
30
30
packages = find_packages (exclude = ["tests" , "tests.*" ]),
31
- python_requires = ">=3.9 " ,
31
+ python_requires = ">=3.8 " ,
32
32
install_requires = [
33
33
"requests>=2.25.1" ,
34
34
"backoff>=2.2.1" ,
@@ -37,6 +37,11 @@ def get_version():
37
37
classifiers = [
38
38
"Intended Audience :: Developers" ,
39
39
"Programming Language :: Python :: 3" ,
40
+ "Programming Language :: Python :: 3.8" ,
40
41
"Programming Language :: Python :: 3.9" ,
42
+ "Programming Language :: Python :: 3.10" ,
43
+ "Programming Language :: Python :: 3.11" ,
44
+ "Programming Language :: Python :: 3.12" ,
45
+ "License :: OSI Approved :: Apache Software License" ,
41
46
],
42
47
)
Original file line number Diff line number Diff line change 23
23
24
24
logger : logging .Logger = logging .getLogger ("videodb" )
25
25
26
- __version__ = "0.0.4 "
26
+ __version__ = "0.0.5a1 "
27
27
__author__ = "videodb"
28
28
29
29
__all__ = [
Original file line number Diff line number Diff line change @@ -69,12 +69,12 @@ def delete_image(self, image_id: str) -> None:
69
69
def search (
70
70
self ,
71
71
query : str ,
72
- type : Optional [str ] = SearchType .semantic ,
72
+ search_type : Optional [str ] = SearchType .semantic ,
73
73
result_threshold : Optional [int ] = None ,
74
74
score_threshold : Optional [int ] = None ,
75
75
dynamic_score_percentage : Optional [int ] = None ,
76
76
) -> SearchResult :
77
- search = SearchFactory (self ._connection ).get_search (type )
77
+ search = SearchFactory (self ._connection ).get_search (search_type )
78
78
return search .search_inside_collection (
79
79
self .id ,
80
80
query ,
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ def search_inside_video(
172
172
)
173
173
return SearchResult (self ._connection , ** search_data )
174
174
175
- def search_inside_collection (** kwargs ):
175
+ def search_inside_collection (self , ** kwargs ):
176
176
raise NotImplementedError ("Keyword search will be implemented in the future" )
177
177
178
178
You can’t perform that action at this time.
0 commit comments