orca-python 0.7.11__tar.gz → 0.7.12__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.
Potentially problematic release.
This version of orca-python might be problematic. Click here for more details.
- {orca_python-0.7.11 → orca_python-0.7.12}/PKG-INFO +3 -1
- {orca_python-0.7.11 → orca_python-0.7.12}/orca_python/main.py +8 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/pyproject.toml +3 -1
- {orca_python-0.7.11 → orca_python-0.7.12}/LICENSE +0 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/README.md +0 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/orca/core/protobufs/python/__init__.py +0 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/orca/core/protobufs/python/service_pb2.py +0 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/orca/core/protobufs/python/service_pb2.pyi +0 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/orca/core/protobufs/python/service_pb2_grpc.py +0 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/orca/core/protobufs/python/vendor/__init__.py +0 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/orca/core/protobufs/python/vendor/validate_pb2.py +0 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/orca/core/protobufs/python/vendor/validate_pb2.pyi +0 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/orca/core/protobufs/python/vendor/validate_pb2_grpc.py +0 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/orca_python/__init__.py +0 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/orca_python/envs.py +0 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/orca_python/exceptions.py +0 -0
- {orca_python-0.7.11 → orca_python-0.7.12}/orca_python/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: orca-python
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.12
|
|
4
4
|
Summary: Python SDK for the Predixus Orca product
|
|
5
5
|
Author: Frederick Mannings
|
|
6
6
|
Author-email: contact@predixus.com
|
|
@@ -11,7 +11,9 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
13
|
Requires-Dist: grpcio (>=1.71.0,<2.0.0)
|
|
14
|
+
Requires-Dist: grpcio-reflection (>=1.74.0,<2.0.0)
|
|
14
15
|
Requires-Dist: grpcio-tools (>=1.71.0,<2.0.0)
|
|
16
|
+
Requires-Dist: mypy (>=1.18.1,<2.0.0)
|
|
15
17
|
Description-Content-Type: text/markdown
|
|
16
18
|
|
|
17
19
|
# 🐳 Orca Python SDK
|
|
@@ -47,6 +47,7 @@ import service_pb2_grpc
|
|
|
47
47
|
import google.protobuf.struct_pb2 as struct_pb2
|
|
48
48
|
from google.protobuf import json_format
|
|
49
49
|
from service_pb2_grpc import OrcaProcessorServicer
|
|
50
|
+
from grpc_reflection.v1alpha import reflection
|
|
50
51
|
|
|
51
52
|
from orca_python import envs
|
|
52
53
|
from orca_python.exceptions import (
|
|
@@ -692,6 +693,13 @@ class Processor(OrcaProcessorServicer): # type: ignore
|
|
|
692
693
|
# add our servicer to the server
|
|
693
694
|
service_pb2_grpc.add_OrcaProcessorServicer_to_server(self, server)
|
|
694
695
|
|
|
696
|
+
# Enable reflection for service discovery
|
|
697
|
+
SERVICE_NAMES = (
|
|
698
|
+
pb.DESCRIPTOR.services_by_name["OrcaProcessor"].full_name,
|
|
699
|
+
reflection.SERVICE_NAME,
|
|
700
|
+
)
|
|
701
|
+
reflection.enable_server_reflection(SERVICE_NAMES, server)
|
|
702
|
+
|
|
695
703
|
# add the server port
|
|
696
704
|
port = server.add_insecure_port(self._processorConnStr)
|
|
697
705
|
if port == 0:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "orca-python"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.12"
|
|
4
4
|
description = "Python SDK for the Predixus Orca product"
|
|
5
5
|
authors = [
|
|
6
6
|
"Frederick Mannings <contact@predixus.com>"
|
|
@@ -18,6 +18,8 @@ build-backend = "poetry.core.masonry.api"
|
|
|
18
18
|
python = ">=3.10"
|
|
19
19
|
grpcio-tools = "^1.71.0"
|
|
20
20
|
grpcio = "^1.71.0"
|
|
21
|
+
mypy = "^1.18.1"
|
|
22
|
+
grpcio-reflection = "^1.74.0"
|
|
21
23
|
|
|
22
24
|
[tool.poetry.group.dev.dependencies]
|
|
23
25
|
poethepoet = "^0.34.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{orca_python-0.7.11 → orca_python-0.7.12}/orca/core/protobufs/python/vendor/validate_pb2.pyi
RENAMED
|
File without changes
|
{orca_python-0.7.11 → orca_python-0.7.12}/orca/core/protobufs/python/vendor/validate_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|