We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
object
typing.Any
1 parent e50bff6 commit e380240Copy full SHA for e380240
1 file changed
oidc-exchange.py
@@ -202,7 +202,7 @@ def extract_claims(token: str) -> dict[str, object]:
202
return json.loads(base64.urlsafe_b64decode(payload))
203
204
205
-def render_claims(claims: dict[str, typing.Any]) -> str:
+def render_claims(claims: dict[str, object]) -> str:
206
def _get(name: str) -> str: # noqa: WPS430
207
return claims.get(name, 'MISSING')
208
@@ -218,7 +218,7 @@ def _get(name: str) -> str: # noqa: WPS430
218
)
219
220
221
-def warn_on_reusable_workflow(claims: dict[str, typing.Any]) -> None:
+def warn_on_reusable_workflow(claims: dict[str, object]) -> None:
222
# A reusable workflow is identified by having different values
223
# for its workflow_ref (the initiating workflow) and job_workflow_ref
224
# (the reusable workflow).
0 commit comments