Skip to content

Commit 7bc6728

Browse files
author
Jeel Mehta
committed
Fixed a linting error
1 parent 091986c commit 7bc6728

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_bedrock_patches.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010

1111
from botocore.response import StreamingBody
1212

13-
_logger = logging.getLogger(__name__)
14-
# Set logger level to DEBUG
15-
_logger.setLevel(logging.DEBUG)
16-
1713
from amazon.opentelemetry.distro._aws_attribute_keys import (
1814
AWS_BEDROCK_AGENT_ID,
1915
AWS_BEDROCK_DATA_SOURCE_ID,
@@ -47,6 +43,10 @@
4743
_MODEL_ID: str = "modelId"
4844
_AWS_BEDROCK_SYSTEM: str = "aws_bedrock"
4945

46+
_logger = logging.getLogger(__name__)
47+
# Set logger level to DEBUG
48+
_logger.setLevel(logging.DEBUG)
49+
5050

5151
class _BedrockAgentOperation(abc.ABC):
5252
"""

0 commit comments

Comments
 (0)