From ff6125d848c31dd5b1e93ba37fe94495a814e0f1 Mon Sep 17 00:00:00 2001 From: joseph-sentry Date: Wed, 13 Nov 2024 14:03:47 -0500 Subject: [PATCH] fix: simple import typing fix --- codecov_cli/services/report/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codecov_cli/services/report/__init__.py b/codecov_cli/services/report/__init__.py index 4ecdad19..da2b5127 100644 --- a/codecov_cli/services/report/__init__.py +++ b/codecov_cli/services/report/__init__.py @@ -1,7 +1,7 @@ import json import logging import time -from typing import Union +import typing import requests @@ -28,7 +28,7 @@ def create_report_logic( enterprise_url: str, pull_request_number: int, fail_on_error: bool = False, - args: Union[dict, None] = None, + args: typing.Union[dict, None] = None, ): encoded_slug = encode_slug(slug) sending_result = send_create_report_request( @@ -73,7 +73,7 @@ def create_report_results_logic( token: typing.Optional[str], enterprise_url: str, fail_on_error: bool = False, - args: Union[dict, None] = None, + args: typing.Union[dict, None] = None, ): encoded_slug = encode_slug(slug) sending_result = send_reports_result_request(