(dispatch_release_scope: str)
| 164 | |
| 165 | |
| 166 | def _dispatch_release_scope_spec(dispatch_release_scope: str) -> DispatchReleaseScopeSpec: |
| 167 | spec = DISPATCH_RELEASE_SCOPE_SPECS.get(dispatch_release_scope) |
| 168 | if spec is None: |
| 169 | raise RuntimeError(f"unsupported dispatch_release_scope: {dispatch_release_scope}") |
| 170 | return spec |
| 171 | |
| 172 | |
| 173 |
no test coverage detected