populationgenomics / hail

Scalable genomic data analysis.
https://hail.is
MIT License
1 stars 1 forks source link

Implement the metadata server .../service-accounts/.../scopes endpoint #338

Closed jmarshall closed 3 months ago

jmarshall commented 3 months ago

Follow-up to PR #337, context: https://centrepopgen.slack.com/archives/C04M1G5HLM9/p1716767294970409?thread_ts=1716528932.818119&cid=C04M1G5HLM9

The code that parses this response (in apitools/base/py/utils.py's NormalizeScopes()) appears to be wanting a whitespace-separated bunch of words. We write this one-per-line as per other endpoints, e.g. user_service_account().