Skip to content

Commit

Permalink
feat: add headers property to nbia client
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Dec 16, 2023
1 parent b9727a6 commit 52dafe8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nbiatoolkit/nbia.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ def __init__(self,
self._oauth2_client = OAuth2(username=username, password=password)
self.api_headers = self._oauth2_client.getToken()

@property
def headers(self):
return self.api_headers

# setter method to update logger with a new instance of setup_logger
def setLogger(
self,
Expand Down

0 comments on commit 52dafe8

Please sign in to comment.