File: service_test_grpc.fb.pyi

package info (click to toggle)
golang-github-google-flatbuffers 24.12.23-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 17,704 kB
  • sloc: cpp: 53,217; python: 6,900; cs: 5,566; java: 4,370; php: 1,460; javascript: 1,061; xml: 1,016; sh: 886; makefile: 13
file content (27 lines) | stat: -rw-r--r-- 1,253 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Generated by the gRPC FlatBuffers compiler. DO NOT EDIT!

from __future__ import annotations

import grpc
import typing

from service_test_generated import HelloRequest, HelloResponse


class HelloServiceStub(object):
  def __init__(self, channel: grpc.Channel) -> None: ...
  def Hello(self, request: HelloRequest) -> HelloResponse: ...
  def StreamClient(self, request_iterator: typing.Iterator[HelloRequest]) -> HelloResponse: ...
  def StreamServer(self, request: HelloRequest) -> typing.Iterator[HelloResponse]: ...
  def Stream(self, request_iterator: typing.Iterator[HelloRequest]) -> typing.Iterator[HelloResponse]: ...


class HelloServiceServicer(object):
  def Hello(self, request: HelloRequest, context: grpc.ServicerContext) -> HelloResponse: ...
  def StreamClient(self, request_iterator: typing.Iterator[HelloRequest], context: grpc.ServicerContext) -> HelloResponse: ...
  def StreamServer(self, request: HelloRequest, context: grpc.ServicerContext) -> typing.Iterator[HelloResponse]: ...
  def Stream(self, request_iterator: typing.Iterator[HelloRequest], context: grpc.ServicerContext) -> typing.Iterator[HelloResponse]: ...


def add_HelloServiceServicer_to_server(servicer: HelloServiceServicer, server: grpc.Server) -> None: ...