Scott Driggers

Results 76 comments of Scott Driggers

I am also interested in this feature. Could you have a second method `update_dynamic(self, gyroscope, accelerometer, magnetometer, dt)` that internally mutates the sample rate and then calls `update`. I know...

Tested this PR with real world keys - Tested with `GOOGLE_APPLICATION_CREDENTIALS` and `~/.config/gcloud/application_default_credentials.json` and verified the new tagged enum is used in both cases - Tested with service account key,...

@djc I need to do real world testing on this part, but is this what you're looking for as of part 1?

Tested this PR with real world keys - Tested with `GOOGLE_APPLICATION_CREDENTIALS` and `~/.config/gcloud/application_default_credentials.json` and verified the new tagged enum is used in both cases - Tested with service account key...

This should be ready for final checks at this point

No rush. Just wanted to make sure it wasn't waiting on me.

This isn't restricted to impersonated service accounts. I am also seeing this with just using the standard `application_default_credentials` ## Version - gcloud sdk version 441.0.0 - gcp_auth version 0.9.0 ##...

Looking into this further, I found [a stack overflow posts from back in 2019](https://stackoverflow.com/questions/56497181/how-to-get-application-default-credentials-using-service-account) that reference the application_default_credentials matching the format I am seeing, so this isn't an issue with...

For others seeing this error due to docker, I can work around this by creating a non-root user with a home dir at `/app` and then mounting the host's `~/.config/gcloud`...

I think the enum approach from @djc sounds the most straightforward and idiomatic. But I think we could do it with a tagged enum instead of an untagged enum. Looking...