Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ivukotic committed Oct 4, 2023
1 parent edb3561 commit b9fc72d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/servicex_did_finder_lib/servicex_adaptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def __init__(self, endpoint, dataset_id, request_id=None, file_prefix=None):
self.logger = logging.getLogger(__name__)
self.logger.addHandler(logging.NullHandler())

# TODO - remove. did finder should not know about request_id and call any
# endpoint with request_id.
def post_status_update(self, status_msg, severity="info"):
success = False
attempts = 0
Expand All @@ -64,8 +66,7 @@ def post_status_update(self, status_msg, severity="info"):
self.logger.error(f'After {attempts} tries, failed to send ServiceX App a status '
f'message: {str(status_msg)} - Ignoring error.')

# not needed anymore
# ????
# TODO - remove
def _prefix_file(self, file_path):
return file_path if not self.file_prefix else self.file_prefix+file_path

Expand Down

0 comments on commit b9fc72d

Please sign in to comment.