from concurrent.futures.thread import ThreadPoolExecutor
from google.protobuf.empty_pb2 import Empty
import grpc
from shared_code.my_lib import start_insecure
from stubbed_code.shared_class import SharedClass

# pyright: reportUnknownMemberType = false
server = grpc.server(ThreadPoolExecutor(), handlers=None)

class OverrideClass2(SharedClass):
    def GetStatus(self,
        request: Empty,
        context: grpc.ServicerContext,
    ) -> int: ...


# do even more special stuff

start_insecure("localhost:8080",server )
f063f9f75dc795c17cae972d3fda097a36b3068e
<mask token>


class OverrideClass2(SharedClass):

    def GetStatus(self, request: Empty, context: grpc.ServicerContext) ->int:
        ...


<mask token>

<mask token>


class OverrideClass2(SharedClass):

    def GetStatus(self, request: Empty, context: grpc.ServicerContext) ->int:
        ...


start_insecure('localhost:8080', server)

<mask token>
server = grpc.server(ThreadPoolExecutor(), handlers=None)


class OverrideClass2(SharedClass):

    def GetStatus(self, request: Empty, context: grpc.ServicerContext) ->int:
        ...


start_insecure('localhost:8080', server)

from concurrent.futures.thread import ThreadPoolExecutor
from google.protobuf.empty_pb2 import Empty
import grpc
from shared_code.my_lib import start_insecure
from stubbed_code.shared_class import SharedClass
server = grpc.server(ThreadPoolExecutor(), handlers=None)


class OverrideClass2(SharedClass):

    def GetStatus(self, request: Empty, context: grpc.ServicerContext) ->int:
        ...


start_insecure('localhost:8080', server)

from concurrent.futures.thread import ThreadPoolExecutor
from google.protobuf.empty_pb2 import Empty
import grpc
from shared_code.my_lib import start_insecure
from stubbed_code.shared_class import SharedClass

# pyright: reportUnknownMemberType = false
server = grpc.server(ThreadPoolExecutor(), handlers=None)

class OverrideClass2(SharedClass):
    def GetStatus(self,
        request: Empty,
        context: grpc.ServicerContext,
    ) -> int: ...


# do even more special stuff

start_insecure("localhost:8080",server )