There's not a lot of information to go on here, but your error message is 
pretty clear in one respect:

TypeError: __call__() missing 1 required positional argument: 'request'

You need to supply a request when you invoke your stub (which is presumably 
what you're doing in this snippet).
On Friday, June 4, 2021 at 8:51:23 PM UTC-7 sheikh...@gmail.com wrote:

> Hi Team,
>
> I have created a proto file for a method which dont not take any argument 
> nor return back any thing,
>
> but when i run my code it throws the below exception
>
>
> Connected to pydev debugger (build 211.7442.45)
> 1041
> 1041
> Traceback (most recent call last):
>   File "/Applications/PyCharm 
> CE.app/Contents/plugins/python-ce/helpers/pydev/pydevd.py", line 1483, in 
> _exec
>     pydev_imports.execfile(file, globals, locals)  # execute the script
>   File "/Applications/PyCharm 
> CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py",
>  
> line 18, in execfile
>     exec(compile(contents+"\n", file, 'exec'), glob, loc)
>   File "/Users/sheikhjebran/Desktop/new/mySocket.py", line 52, in <module>
>     sample()
>   File "/Users/sheikhjebran/Desktop/new/mySocket.py", line 35, in sample
>     stub.Reset()
> TypeError: __call__() missing 1 required positional argument: 'request'
> python-BaseException
>
> Process finished with exit code 1
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/0d89d7ba-9a5a-404b-b1f8-522b13b80f11n%40googlegroups.com.

Reply via email to