seltz 0.1.3__py3-none-any.whl → 0.1.4__py3-none-any.whl

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.
seltz/client.py CHANGED
@@ -1,6 +1,7 @@
1
- import grpc
2
1
  from typing import Optional
3
2
 
3
+ import grpc
4
+
4
5
 
5
6
  class SeltzClient:
6
7
  """Low-level gRPC client for Seltz API."""
seltz/exceptions.py CHANGED
@@ -1,5 +1,7 @@
1
1
  """Custom exceptions for the Seltz SDK."""
2
2
 
3
+ from typing import Optional
4
+
3
5
  import grpc
4
6
 
5
7
 
@@ -33,8 +35,8 @@ class SeltzAPIError(SeltzError):
33
35
  def __init__(
34
36
  self,
35
37
  message: str,
36
- grpc_code: grpc.StatusCode | None = None,
37
- grpc_details: str | None = None,
38
+ grpc_code: Optional[grpc.StatusCode] = None,
39
+ grpc_details: Optional[str] = None,
38
40
  ):
39
41
  super().__init__(message)
40
42
  self.grpc_code = grpc_code
@@ -16,7 +16,7 @@ from . import SearchRequest, SeltzServiceStub
16
16
  class SearchService:
17
17
  """Service for performing search operations via gRPC."""
18
18
 
19
- def __init__(self, channel: grpc.Channel, api_key: str | None):
19
+ def __init__(self, channel: grpc.Channel, api_key: Optional[str]):
20
20
  """Initialize the search service.
21
21
 
22
22
  Args:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: seltz
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Seltz Python SDK for AI-powered search
5
5
  Author-email: Seltz <support@seltz.ai>
6
6
  Project-URL: Homepage, https://seltz.ai
@@ -1,14 +1,14 @@
1
1
  seltz/__init__.py,sha256=oFZzZxyentKvxIODB2Ijt28SFBU_UhM9GPBbe6olhoQ,642
2
- seltz/client.py,sha256=J--NRchb6DxOTOxfy1DEYOVUAky24EjMn6ReOGaoL1g,1237
3
- seltz/exceptions.py,sha256=PCFXFY0c5lJuczoB0oWwSMlCAEvVM_HOrU2RR69aZXA,994
2
+ seltz/client.py,sha256=6NsMoa6UpYfR6aBjwICExHBqm2KDdKc5E_f-gjna-40,1238
3
+ seltz/exceptions.py,sha256=oDPXlRfUVLcQGTj17jY7iTQ7YGy0YCRCAq6Cxc9ZgGo,1029
4
4
  seltz/seltz.py,sha256=dOzLFuEWxSV1LhcgzzjPUeihsL_-j5Xoo7CQEfYwXbk,2841
5
5
  seltz/types.py,sha256=1Es8aV4xvJJo-OXrsXgMyvYZMMm6kAU2l7Pxjs8avz4,8382
6
6
  seltz/services/__init__.py,sha256=hPncxVXXYyEjvBCwe0a6l4KGOKfKuarSONL1MjSekmk,457
7
- seltz/services/search_service.py,sha256=otUhlWc-YLEiLxxLerQ622JseQXg9cG70MPkDWlJ5Lk,2805
7
+ seltz/services/search_service.py,sha256=CK8s68NlBVoTieVtgcMIAQuAQoATSdKvE_S3oWLxQFk,2808
8
8
  seltz_public_api/proto/v1/seltz_pb2.py,sha256=_xU5gknqT9TgfzB3PYc7v7QqQDO9de5bldsStygwbqk,2684
9
9
  seltz_public_api/proto/v1/seltz_pb2.pyi,sha256=UnMchkgCad9csmvhYYww5Koc-Fko-K2LgTNgHDQ4bnY,1719
10
10
  seltz_public_api/proto/v1/seltz_pb2_grpc.py,sha256=Gt-sDKmEsNYzRbzXKvQKIDFoVVnjU8LtEm_sbKyTuro,3024
11
- seltz-0.1.3.dist-info/METADATA,sha256=Ph6857z-tYo_C5vbJNfB2bBvL68j0RXBi94orDODx_M,5762
12
- seltz-0.1.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
13
- seltz-0.1.3.dist-info/top_level.txt,sha256=omV6Wwfxo_CgGHOAIE8aKEwm2-3c4ETyBCP-0ZIaZs0,23
14
- seltz-0.1.3.dist-info/RECORD,,
11
+ seltz-0.1.4.dist-info/METADATA,sha256=VppB8wJoGKefBV2e3wr_JcOCN7-JMab2ni8peGx4Kc8,5762
12
+ seltz-0.1.4.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
13
+ seltz-0.1.4.dist-info/top_level.txt,sha256=omV6Wwfxo_CgGHOAIE8aKEwm2-3c4ETyBCP-0ZIaZs0,23
14
+ seltz-0.1.4.dist-info/RECORD,,
File without changes