Skip to content

Commit

Permalink
Update to latest ni-apis and add regenerated stubs for array.proto (#…
Browse files Browse the repository at this point in the history
…1062)

Co-authored-by: Avi Goel <[email protected]>
  • Loading branch information
Blahpapto1 and Avi Goel authored Feb 4, 2025
1 parent cd87034 commit 9d74407
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.

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

Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@typing.final
class Double2DArray(google.protobuf.message.Message):
"""---------------------------------------------------------------------
Defines a 2D array of double values. The 2D array is stored as
a repeated double, a 1D array. It is stored in row major order.
Defines a 2D array of values. The 2D array is stored as a repeated field of
the appropriate element type, a 1D array. It is stored in row major order.
Example:
Repeated Double: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
rows: 2
columns: 5
Expand Down Expand Up @@ -59,3 +60,25 @@ class Double2DArray(google.protobuf.message.Message):
def ClearField(self, field_name: typing.Literal["columns", b"columns", "data", b"data", "rows", b"rows"]) -> None: ...

global___Double2DArray = Double2DArray

@typing.final
class String2DArray(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

ROWS_FIELD_NUMBER: builtins.int
COLUMNS_FIELD_NUMBER: builtins.int
DATA_FIELD_NUMBER: builtins.int
rows: builtins.int
columns: builtins.int
@property
def data(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
def __init__(
self,
*,
rows: builtins.int = ...,
columns: builtins.int = ...,
data: collections.abc.Iterable[builtins.str] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing.Literal["columns", b"columns", "data", b"data", "rows", b"rows"]) -> None: ...

global___String2DArray = String2DArray

0 comments on commit 9d74407

Please sign in to comment.