Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dfangl committed Jun 14, 2024
1 parent 4d66792 commit 1c6ae0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion moto/sts/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ def get_federation_token(self) -> str:
name = self.querystring.get("Name")[0] # type: ignore
token = self.backend.get_federation_token(duration=duration, name=name)
template = self.response_template(GET_FEDERATION_TOKEN_RESPONSE)
return template.render(token=token, account_id=self.current_account, partition=self.partition)
return template.render(
token=token, account_id=self.current_account, partition=self.partition
)

def assume_role(self) -> str:
role_session_name = self.querystring.get("RoleSessionName")[0] # type: ignore
Expand Down

0 comments on commit 1c6ae0c

Please sign in to comment.