Martin Carlsson
10/24/2021, 1:36 PMget_access_token
in the dependency graphchris
10/24/2021, 3:19 PMMartin Carlsson
10/24/2021, 3:19 PMresource
in the way it is supposed to be used? 😄
The API I’m calling needs a bearer token - so first need to get a bearer token, and then I can do the work I need to do on the API.
So, the way I’m using resource
here is just to return the bearer token as a string, and then I want to use it in all subsequent API calls.resource
in the way it was supposed to be used?raaid
10/26/2021, 10:18 AMprha
10/26/2021, 5:46 PMresource
correctly. The code snapshot that you posted should work (e.g. should log the bearer status code), if you are passing the get_access_token
resource to your job. Can you paste a shot of what the resource initialization entries look like in the run logs in Dagit?