From cf8c904b61f037544871b29c5fb2b329e49661c8 Mon Sep 17 00:00:00 2001 From: "Mikhail f. Shiryaev" Date: Mon, 28 Nov 2022 17:31:22 +0100 Subject: [PATCH] Fix typing errors --- tests/ci/runner_token_rotation_lambda/app.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/ci/runner_token_rotation_lambda/app.py b/tests/ci/runner_token_rotation_lambda/app.py index b8e54ed4e8d..70ee5da01f4 100644 --- a/tests/ci/runner_token_rotation_lambda/app.py +++ b/tests/ci/runner_token_rotation_lambda/app.py @@ -1,12 +1,14 @@ #!/usr/bin/env python3 -import requests import argparse -import jwt import sys import json import time +import boto3 # type: ignore +import jwt +import requests # type: ignore + def get_installation_id(jwt_token): headers = { @@ -51,8 +53,6 @@ def get_runner_registration_token(access_token): def get_key_and_app_from_aws(): - import boto3 - secret_name = "clickhouse_github_secret_key" session = boto3.session.Session() client = session.client(