Skip to content
Snippets Groups Projects
Commit 911427e2 authored by Robert Latta's avatar Robert Latta
Browse files

removed redundant code

parent 50a8859a
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,6 @@ class IMS(object):
response.raise_for_status()
cls.bearer_token_init_time = re_init_time
cls.bearer_token = response.json()
print(f'New token issued: {cls.bearer_token}') # Remove after demo
def _get_entity(
self,
......@@ -139,7 +138,6 @@ class IMS(object):
cache_key = f'{cache_key}::{s}'
entity = IMS.cache.get(cache_key, None)
if entity:
# print('Got from cache') # Remove after demo
return entity
if not IMS.bearer_token:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment