Skip to content

Commit 38e8544

Browse files
committed
add example
Signed-off-by: Sidhant Kohli <sidhant.kohli@gmail.com>
1 parent 00386a7 commit 38e8544

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pynumaflow/sourcetransformer/servicer/_async_servicer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def _create_read_handshake_response() -> transform_pb2.SourceTransformResponse:
2727

2828
class SourceTransformAsyncServicer(transform_pb2_grpc.SourceTransformServicer):
2929
"""
30-
This class is used to create a new grpc Batch Map Servicer instance.
31-
It implements the MapServicer interface from the proto
30+
This class is used to create a new grpc SourceTransform Async Servicer instance.
31+
It implements the SourceTransformServicer interface from the proto
3232
transform_pb2_grpc.py file.
3333
Provides the functionality for the required rpc methods.
3434
"""
@@ -46,7 +46,7 @@ async def SourceTransformFn(
4646
context: NumaflowServicerContext,
4747
) -> AsyncIterable[transform_pb2.SourceTransformResponse]:
4848
"""
49-
Applies a batch map function to a MapRequest stream in a batching mode.
49+
Applies a transform function to a SourceTransformRequest stream
5050
The pascal case function name comes from the proto transform_pb2_grpc.py file.
5151
"""
5252
try:

0 commit comments

Comments
 (0)