I am developing a new tap with the SDK which is ba...
# singer-tap-development
a
I am developing a new tap with the SDK which is basically a wrapper for
googleapiclient
. This involves instantiating a single
service
object with credentials at a high level which multiple streams make use of for their stream-specific calls. The way I have done it so far is to instantiate this
service
object on the tap, and then access from the stream level via
self._tap.service
, but I feel like there should be a better way to do it that doesn't involve accessing an underscored object (!). Any tips welcome
v
Authenticators do, I think, what you're saying. Are you talking about something else?
a
v
Yes
The example I'm showing there is an older way of doing the same thing, definitely follow the docs but that should be helpful and it's google as well
a
IDK why I didn't think of that, cheers 🙂
np 1
cheers 1
🍻 1