Skip to content

Commit 349c09a

Browse files
xxx-pyi
1 parent 6939882 commit 349c09a

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

python/substrait_mlir/_mlir_libs/_substraitDialects/substrait.pyi

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
# Generated with plus manual fixes:
2-
# pybind11-stubgen substrait_mlir._mlir_libs._substraitDialects -o python`
2+
# pybind11-stubgen substrait_mlir._mlir_libs._substraitDialects -o python
33
from __future__ import annotations
4-
from typing import Optional
5-
from substrait_mlir.ir import Context, Module, Operation
6-
__all__ = ['from_binpb', 'from_json', 'from_textpb', 'register_dialect', 'to_binpb', 'to_json', 'to_textpb']
4+
from typing import Iterable, Optional
5+
6+
from substrait_mlir.ir import Context, Module, Operation, Type
7+
8+
__all__ = ['from_binpb', 'from_json', 'from_textpb', 'register_dialect', 'RelationType', 'to_binpb', 'to_json', 'to_textpb']
9+
10+
class RelationType(Type):
11+
@staticmethod
12+
def isinstance(type: Type) -> bool: ...
13+
14+
@staticmethod
15+
def get(types: Iterable[Type], context: Context | None = None) -> RelationType: ...
16+
717
def from_binpb(input, context: Optional[Context] = None) -> Module:
818
"""
919
Import a Substrait plan in the binary protobuf format

0 commit comments

Comments
 (0)