after reading the docs and stackoverflow i got some rudimentary understanding of Request vs request. i still don't understand why i PyCharm won't show properties, but it is tool centric question that hardly belongs to this group.
On Sun, Mar 11, 2018 at 10:02 AM, Andrew Z <form...@gmail.com> wrote: > Sorry guys. i realized i was "mumbling" . > > What is the difference between Request and request? - RTFM > <http://flask.pocoo.org/docs/0.12/api/#flask.Request>, Andrew > > Questions: > a. when do i use Request? > b. why can't I see any properties of the request? For example, in > Michael's tutorial, there is a call for request.json. PyCharm brings no > suggestions when i type in "request. " > > > > > On Sat, Mar 10, 2018 at 11:30 PM, Mark Lawrence <breamore...@gmail.com> > wrote: > >> On 11/03/18 04:09, Christopher Mullins wrote: >> >>> In the code you linked, I don't see where the *R*equest is used. The >>> request variable is setup by flask when you annotate the function with >>> the >>> resource endpoint and POST method. It contains the content of the request >>> which can be converted to json if that content type was specified. >>> >>> >> Could you please give some context when you reply, TIA. >> >> -- >> My fellow Pythonistas, ask not what our language can do for you, ask >> what you can do for our language. >> >> Mark Lawrence >> >> -- >> https://mail.python.org/mailman/listinfo/python-list >> > > -- https://mail.python.org/mailman/listinfo/python-list