Skip to content

Commit

Permalink
Fixed logger error
Browse files Browse the repository at this point in the history
  • Loading branch information
trn024 committed Aug 29, 2024
1 parent c0abaf4 commit c3f6393
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dsmlp/ext/awsed.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class ExternalAwsedClient(AwsedClient):
def __init__(self):
self.client = awsed.client.DefaultAwsedClient(endpoint=os.environ.get('AWSED_ENDPOINT'),
awsed_api_key=os.environ.get('AWSED_API_KEY'))
self.logger = logging.getLogger(__name__) # Initialize the logger

def describe_user(self, username: str) -> UserResponse:
usrResultJson = self.client.describe_user(username)
Expand Down

0 comments on commit c3f6393

Please sign in to comment.