Short question to you programming folks:

What does Pythons (flask)

request.args.get(..) return?

A string / varchar?

Thanks! 😬

#python #programming

@TFG That will return a string. `args` is a MultiDict[str, str]
according to devdocs.io/flask~2.0/api/index.

`varchar` isn't really a thing in python, but whatever requests returns should be compatible with a varchar field in your db.

@Natris1979 @mc @FisaCourtHoarder

Thank you all for your replies! .. I was looking for a documentation for ~2 days with no succes...always ended up with the "requests" module although adding "flask" to the searchterm 🙄 But now I know what I wanted thanks to you helpful people! 🙂

I needed the info for a work for my studies I have to write. I'm a networking/hardware guy who likes programming as much as going to the dentist.. thus it was hard to even find a point where to begin the search 🙈

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.