Skip to content

Commit ef7bdf7

Browse files
Auto-generated from proto v1.0.395
1 parent 13fab7d commit ef7bdf7

File tree

4 files changed

+155
-1
lines changed

4 files changed

+155
-1
lines changed

dbtlabs/proto/public/v1/events/fusion/log/show_data_pb2.py

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
"""
2+
@generated by mypy-protobuf. Do not edit manually!
3+
isort:skip_file
4+
"""
5+
6+
import builtins
7+
import collections.abc
8+
import google.protobuf.descriptor
9+
import google.protobuf.internal.containers
10+
import google.protobuf.internal.enum_type_wrapper
11+
import google.protobuf.message
12+
import sys
13+
import typing
14+
15+
if sys.version_info >= (3, 10):
16+
import typing as typing_extensions
17+
else:
18+
import typing_extensions
19+
20+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
21+
22+
class _ShowDataOutputFormat:
23+
ValueType = typing.NewType("ValueType", builtins.int)
24+
V: typing_extensions.TypeAlias = ValueType
25+
26+
class _ShowDataOutputFormatEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ShowDataOutputFormat.ValueType], builtins.type):
27+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
28+
SHOW_DATA_OUTPUT_FORMAT_UNSPECIFIED: _ShowDataOutputFormat.ValueType # 0
29+
SHOW_DATA_OUTPUT_FORMAT_TEXT: _ShowDataOutputFormat.ValueType # 1
30+
SHOW_DATA_OUTPUT_FORMAT_CSV: _ShowDataOutputFormat.ValueType # 2
31+
SHOW_DATA_OUTPUT_FORMAT_TSV: _ShowDataOutputFormat.ValueType # 3
32+
SHOW_DATA_OUTPUT_FORMAT_JSON: _ShowDataOutputFormat.ValueType # 4
33+
SHOW_DATA_OUTPUT_FORMAT_NDJSON: _ShowDataOutputFormat.ValueType # 5
34+
SHOW_DATA_OUTPUT_FORMAT_YML: _ShowDataOutputFormat.ValueType # 6
35+
36+
class ShowDataOutputFormat(_ShowDataOutputFormat, metaclass=_ShowDataOutputFormatEnumTypeWrapper):
37+
"""Output format for list command"""
38+
39+
SHOW_DATA_OUTPUT_FORMAT_UNSPECIFIED: ShowDataOutputFormat.ValueType # 0
40+
SHOW_DATA_OUTPUT_FORMAT_TEXT: ShowDataOutputFormat.ValueType # 1
41+
SHOW_DATA_OUTPUT_FORMAT_CSV: ShowDataOutputFormat.ValueType # 2
42+
SHOW_DATA_OUTPUT_FORMAT_TSV: ShowDataOutputFormat.ValueType # 3
43+
SHOW_DATA_OUTPUT_FORMAT_JSON: ShowDataOutputFormat.ValueType # 4
44+
SHOW_DATA_OUTPUT_FORMAT_NDJSON: ShowDataOutputFormat.ValueType # 5
45+
SHOW_DATA_OUTPUT_FORMAT_YML: ShowDataOutputFormat.ValueType # 6
46+
global___ShowDataOutputFormat = ShowDataOutputFormat
47+
48+
@typing.final
49+
class ShowDataOutput(google.protobuf.message.Message):
50+
"""Event emitted when displaying inline data (e.g., from show command).
51+
This event replaces the dbt-core ShowNode event (Q041) for inline data display.
52+
"""
53+
54+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
55+
56+
OUTPUT_FORMAT_FIELD_NUMBER: builtins.int
57+
CONTENT_FIELD_NUMBER: builtins.int
58+
NODE_NAME_FIELD_NUMBER: builtins.int
59+
IS_INLINE_FIELD_NUMBER: builtins.int
60+
UNIQUE_ID_FIELD_NUMBER: builtins.int
61+
COLUMNS_FIELD_NUMBER: builtins.int
62+
DBT_CORE_EVENT_CODE_FIELD_NUMBER: builtins.int
63+
output_format: global___ShowDataOutputFormat.ValueType
64+
"""Format of the output"""
65+
content: builtins.str
66+
"""The data in the specified format (e.g., pretty-printed table)"""
67+
node_name: builtins.str
68+
"""Name of the node being shown (e.g., "my_model" or "inline")"""
69+
is_inline: builtins.bool
70+
"""Whether this is an inline/ad-hoc query (true) or a defined node (false)"""
71+
unique_id: builtins.str
72+
"""The unique_id of the node being shown (e.g., "model.my_project.my_model").
73+
Unset for ad-hoc queries
74+
"""
75+
dbt_core_event_code: builtins.str
76+
"""Legacy dbt core event code for backward compatibility (always "Q041")"""
77+
@property
78+
def columns(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
79+
"""Column names for the data"""
80+
81+
def __init__(
82+
self,
83+
*,
84+
output_format: global___ShowDataOutputFormat.ValueType = ...,
85+
content: builtins.str = ...,
86+
node_name: builtins.str = ...,
87+
is_inline: builtins.bool = ...,
88+
unique_id: builtins.str | None = ...,
89+
columns: collections.abc.Iterable[builtins.str] | None = ...,
90+
dbt_core_event_code: builtins.str = ...,
91+
) -> None: ...
92+
def HasField(self, field_name: typing.Literal["_unique_id", b"_unique_id", "unique_id", b"unique_id"]) -> builtins.bool: ...
93+
def ClearField(self, field_name: typing.Literal["_unique_id", b"_unique_id", "columns", b"columns", "content", b"content", "dbt_core_event_code", b"dbt_core_event_code", "is_inline", b"is_inline", "node_name", b"node_name", "output_format", b"output_format", "unique_id", b"unique_id"]) -> None: ...
94+
def WhichOneof(self, oneof_group: typing.Literal["_unique_id", b"_unique_id"]) -> typing.Literal["unique_id"] | None: ...
95+
96+
global___ShowDataOutput = ShowDataOutput
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2+
"""Client and server classes corresponding to protobuf-defined services."""
3+
import grpc
4+
import warnings
5+
6+
7+
GRPC_GENERATED_VERSION = '1.64.1'
8+
GRPC_VERSION = grpc.__version__
9+
EXPECTED_ERROR_RELEASE = '1.65.0'
10+
SCHEDULED_RELEASE_DATE = 'June 25, 2024'
11+
_version_not_supported = False
12+
13+
try:
14+
from grpc._utilities import first_version_is_lower
15+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
16+
except ImportError:
17+
_version_not_supported = True
18+
19+
if _version_not_supported:
20+
warnings.warn(
21+
f'The grpc package installed is at version {GRPC_VERSION},'
22+
+ f' but the generated code in dbtlabs/proto/public/v1/events/fusion/log/show_data_pb2_grpc.py depends on'
23+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
24+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
25+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
26+
+ f' This warning will become an error in {EXPECTED_ERROR_RELEASE},'
27+
+ f' scheduled for release on {SCHEDULED_RELEASE_DATE}.',
28+
RuntimeWarning
29+
)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
long_description = fh.read()
55

66
package_name = "dbt-protos"
7-
package_version = "v1.0.394"
7+
package_version = "v1.0.395"
88

99
setuptools.setup(
1010
name=package_name,

0 commit comments

Comments
 (0)