most-client 1.0.38__tar.gz → 1.0.40__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. {most_client-1.0.38/most_client.egg-info → most_client-1.0.40}/PKG-INFO +1 -2
  2. {most_client-1.0.38 → most_client-1.0.40}/most/async_api.py +0 -2
  3. {most_client-1.0.38 → most_client-1.0.40}/most/search_types.py +4 -6
  4. {most_client-1.0.38 → most_client-1.0.40/most_client.egg-info}/PKG-INFO +1 -2
  5. most_client-1.0.38/requirements.txt → most_client-1.0.40/most_client.egg-info/requires.txt +0 -1
  6. most_client-1.0.38/most_client.egg-info/requires.txt → most_client-1.0.40/requirements.txt +1 -2
  7. {most_client-1.0.38 → most_client-1.0.40}/setup.py +1 -1
  8. {most_client-1.0.38 → most_client-1.0.40}/MANIFEST.in +0 -0
  9. {most_client-1.0.38 → most_client-1.0.40}/README.md +0 -0
  10. {most_client-1.0.38 → most_client-1.0.40}/most/__init__.py +0 -0
  11. {most_client-1.0.38 → most_client-1.0.40}/most/_constrants.py +0 -0
  12. {most_client-1.0.38 → most_client-1.0.40}/most/api.py +0 -0
  13. {most_client-1.0.38 → most_client-1.0.40}/most/async_searcher.py +0 -0
  14. {most_client-1.0.38 → most_client-1.0.40}/most/async_trainer_api.py +0 -0
  15. {most_client-1.0.38 → most_client-1.0.40}/most/score_calculation.py +0 -0
  16. {most_client-1.0.38 → most_client-1.0.40}/most/searcher.py +0 -0
  17. {most_client-1.0.38 → most_client-1.0.40}/most/trainer_api.py +0 -0
  18. {most_client-1.0.38 → most_client-1.0.40}/most/types.py +0 -0
  19. {most_client-1.0.38 → most_client-1.0.40}/most_client.egg-info/SOURCES.txt +0 -0
  20. {most_client-1.0.38 → most_client-1.0.40}/most_client.egg-info/dependency_links.txt +0 -0
  21. {most_client-1.0.38 → most_client-1.0.40}/most_client.egg-info/top_level.txt +0 -0
  22. {most_client-1.0.38 → most_client-1.0.40}/most_client.egg-info/zip-safe +0 -0
  23. {most_client-1.0.38 → most_client-1.0.40}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: most-client
3
- Version: 1.0.38
3
+ Version: 1.0.40
4
4
  Summary: Most AI API for https://the-most.ai
5
5
  Home-page: https://github.com/the-most-ai/most-client
6
6
  Author: George Kasparyants
@@ -27,7 +27,6 @@ Requires-Dist: tox
27
27
  Requires-Dist: twine
28
28
  Requires-Dist: httpx
29
29
  Requires-Dist: pydub
30
- Requires-Dist: bson
31
30
  Dynamic: author
32
31
  Dynamic: author-email
33
32
  Dynamic: classifier
@@ -112,8 +112,6 @@ class AsyncMostClient(object):
112
112
 
113
113
  def with_model(self, model_id):
114
114
  client = self.clone()
115
- if not is_valid_id(self.model_id):
116
- raise RuntimeError("Please choose valid model to apply. [try list_models()]")
117
115
  client.model_id = model_id
118
116
  client.score_modifier = None
119
117
  return client
@@ -1,17 +1,15 @@
1
1
  from dataclasses import dataclass, field
2
2
  from typing import List, Optional
3
-
4
- from bson import ObjectId
5
3
  from dataclasses_json import DataClassJsonMixin, dataclass_json
6
4
 
7
5
 
8
6
  @dataclass_json
9
7
  @dataclass
10
8
  class IDCondition(DataClassJsonMixin):
11
- equal: Optional[ObjectId] = None
12
- in_set: Optional[List[ObjectId]] = None
13
- greater_than: Optional[ObjectId] = None
14
- less_than: Optional[ObjectId] = None
9
+ equal: Optional[str] = None
10
+ in_set: Optional[List[str]] = None
11
+ greater_than: Optional[str] = None
12
+ less_than: Optional[str] = None
15
13
 
16
14
 
17
15
  @dataclass_json
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: most-client
3
- Version: 1.0.38
3
+ Version: 1.0.40
4
4
  Summary: Most AI API for https://the-most.ai
5
5
  Home-page: https://github.com/the-most-ai/most-client
6
6
  Author: George Kasparyants
@@ -27,7 +27,6 @@ Requires-Dist: tox
27
27
  Requires-Dist: twine
28
28
  Requires-Dist: httpx
29
29
  Requires-Dist: pydub
30
- Requires-Dist: bson
31
30
  Dynamic: author
32
31
  Dynamic: author-email
33
32
  Dynamic: classifier
@@ -12,5 +12,4 @@ pytest
12
12
  tox
13
13
  twine
14
14
  httpx
15
- pydub
16
- bson
15
+ pydub
@@ -8,7 +8,7 @@ with open('requirements.txt', 'r') as f:
8
8
 
9
9
  setup(
10
10
  name='most-client',
11
- version='1.0.38',
11
+ version='1.0.40',
12
12
  python_requires=f'>=3.6',
13
13
  description='Most AI API for https://the-most.ai',
14
14
  url='https://github.com/the-most-ai/most-client',
File without changes
File without changes
File without changes
File without changes
File without changes