seltz 0.1.3__tar.gz → 0.1.4__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.
@@ -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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "seltz"
7
- version = "0.1.3"
7
+ version = "0.1.4"
8
8
  description = "Seltz Python SDK for AI-powered search"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -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."""
@@ -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
File without changes
File without changes
File without changes
File without changes
File without changes