Skip to content

Commit ef75cef

Browse files
committed
fix: removed unused eventbridge client
1 parent fc8eabf commit ef75cef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

unicorn_web/src/approvals_service/publication_approved.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
# SPDX-License-Identifier: MIT-0
33
import os
4-
54
import boto3
65
from aws_lambda_powertools.logging import Logger
76
from aws_lambda_powertools.tracing import Tracer
@@ -23,7 +22,7 @@
2322
metrics: Metrics = Metrics()
2423

2524
# Initialise boto3 clients
26-
event_bridge = boto3.client('events')
25+
2726
dynamodb = boto3.resource('dynamodb')
2827
table = dynamodb.Table(DYNAMODB_TABLE) # type: ignore
2928

0 commit comments

Comments
 (0)