Skip to content

Commit

Permalink
FlightSQL python client
Browse files Browse the repository at this point in the history
  • Loading branch information
madesroches-ubi committed Dec 19, 2024
1 parent 468f9bb commit 9082dcb
Show file tree
Hide file tree
Showing 10 changed files with 4,092 additions and 2 deletions.
1 change: 1 addition & 0 deletions python/micromegas/micromegas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from . import request
from . import client
from . import perfetto
from . import flightsql

def connect():
"connect to the analytics service using default values"
Expand Down
166 changes: 166 additions & 0 deletions python/micromegas/micromegas/flightsql/FlightSql_pb2.py

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions python/micromegas/micromegas/flightsql/FlightSql_pb2_grpc.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import warnings


GRPC_GENERATED_VERSION = '1.68.1'
GRPC_VERSION = grpc.__version__
_version_not_supported = False

try:
from grpc._utilities import first_version_is_lower
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
except ImportError:
_version_not_supported = True

if _version_not_supported:
raise RuntimeError(
f'The grpc package installed is at version {GRPC_VERSION},'
+ f' but the generated code in FlightSql_pb2_grpc.py depends on'
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
)
116 changes: 116 additions & 0 deletions python/micromegas/micromegas/flightsql/Flight_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9082dcb

Please sign in to comment.