i'm trying to figure out if i should have known, from the docs or otherwise, that the threatMatches.find() method takes an object, presumably a dict, instead of a string (which is an object).
https://developers.google.com/safe-browsing/v4/reference/rest/v4/threatMatches/find
is this a python thing? that is, in a docstring declaration, if an argument is declared as type 'object', is it always a dict? or can it be anything, including a string?
could, or should, the find() method docstring specify a type more specific than 'object'? or is 'object' more than nothing in that it at least implies that the argument should maybe not be 'just' a string?
the find() method was accepting my string but then gave me a weird error:
the argument i was passing in was a (json) string, but apparently it needed to be a dict (that presumably represents a json string somehow?).
thanks.