src/globus_sdk/scopes/data/compute.py
raw| 1 | from ..collection import StaticScopeCollection, _url_scope |
| 2 | |
| 3 | |
| 4 | class _ComputeScopes(StaticScopeCollection): |
| 5 | # The Compute service breaks the scopes/resource server convention: its resource |
| 6 | # server is a service name and its scopes are built around the client ID. |
| 7 | resource_server = "funcx_service" |
| 8 | client_id = "facd7ccc-c5f4-42aa-916b-a0e270e2c2a9" |
| 9 | |
| 10 | all = _url_scope(client_id, "all") |
| 11 | |
| 12 | |
| 13 | ComputeScopes = _ComputeScopes() |