Skip to content

Commit

Permalink
Store column keys in property
Browse files Browse the repository at this point in the history
  • Loading branch information
JokeWaumans committed Jul 12, 2024
1 parent d048e52 commit bf867d1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mlx/coverity_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ def checkers(self):
'''All checkers available'''
return self._checkers

@property
def column_keys(self):
'''All column keys'''
return self._column_keys

def retrieve_issues(self, filters, username, password):
'''Retrieve the contents of the specified url in Coverity Connect.
Expand All @@ -116,7 +121,8 @@ def retrieve_column_keys(self, username, password):
password (str): Password to log in
'''
url = str(urljoin(self.base_url, "/issues/columns?queryType=bySnapshot&retrieveGroupByColumns=true'"))
return self._get_request(url, username, password)
self._column_keys = self._get_request(url, username, password)
return self.column_keys

def retrieve_checkers(self, username, password):
'''Retrieves the available checkers
Expand Down

0 comments on commit bf867d1

Please sign in to comment.