This message was deleted.
# opal
s
This message was deleted.
a
One more thing… in your postgres example for
Connectionparams
it says
port number (defaults to 5432 if not provided)
. It seems like that assignment is coming from the base class. So if I don’t override it then that value will default to a postgres value in other fetchers? Am I understanding that
o
Hi @Avo Sepp - for sure ; sorry for the late reply- was in a meeting.
could get a little background on how the
_process_()
function comes in
The idea is that fetch - brings the data, and process converts it to the right format needed for OPA. It could have been just one method - but this way creating variants (with inheritance) that cherry pick data from a source is much easier. And in general makes that flow and debugging it more elegant.
One more thing… in your postgres example for
Connectionparams
it says
port number (defaults to 5432 if not provided)
. It seems like that assignment is coming from the base class. So if I don’t override it then that value will default to a postgres value in other fetchers? Am I understanding that
I believe the default comes from the underlying asyncpg lib, so it’s unrelated to the
BaseFetchProvider
👍 1