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():
2828 long_description_content_type = "text/markdown" ,
2929 url = "https://github.com/video-db/videodb-python" ,
3030 packages = find_packages (exclude = ["tests" , "tests.*" ]),
31- python_requires = ">=3.9 " ,
31+ python_requires = ">=3.8 " ,
3232 install_requires = [
3333 "requests>=2.25.1" ,
3434 "backoff>=2.2.1" ,
@@ -37,6 +37,11 @@ def get_version():
3737 classifiers = [
3838 "Intended Audience :: Developers" ,
3939 "Programming Language :: Python :: 3" ,
40+ "Programming Language :: Python :: 3.8" ,
4041 "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" ,
4146 ],
4247)
Original file line number Diff line number Diff line change 2323
2424logger : logging .Logger = logging .getLogger ("videodb" )
2525
26- __version__ = "0.0.4 "
26+ __version__ = "0.0.5a1 "
2727__author__ = "videodb"
2828
2929__all__ = [
Original file line number Diff line number Diff line change @@ -69,12 +69,12 @@ def delete_image(self, image_id: str) -> None:
6969 def search (
7070 self ,
7171 query : str ,
72- type : Optional [str ] = SearchType .semantic ,
72+ search_type : Optional [str ] = SearchType .semantic ,
7373 result_threshold : Optional [int ] = None ,
7474 score_threshold : Optional [int ] = None ,
7575 dynamic_score_percentage : Optional [int ] = None ,
7676 ) -> SearchResult :
77- search = SearchFactory (self ._connection ).get_search (type )
77+ search = SearchFactory (self ._connection ).get_search (search_type )
7878 return search .search_inside_collection (
7979 self .id ,
8080 query ,
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ def search_inside_video(
172172 )
173173 return SearchResult (self ._connection , ** search_data )
174174
175- def search_inside_collection (** kwargs ):
175+ def search_inside_collection (self , ** kwargs ):
176176 raise NotImplementedError ("Keyword search will be implemented in the future" )
177177
178178
You can’t perform that action at this time.
0 commit comments