Skip to content

Commit 0285235

Browse files
committed
docstring and logging update
1 parent ef545b7 commit 0285235

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/tasks/validation_tasks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,14 @@ def process_validation_task_by_metadata(
106106
:param crate_json: A string containing the RO-Crate JSON metadata to validate.
107107
:param profile_name: The name of the validation profile to use. Defaults to None.
108108
:param webhook_url: The webhook URL to send notifications to. Defaults to None.
109+
:param profiles_path: The path to the profiles definition directory. Defaults to None.
109110
:raises Exception: If an error occurs during the validation process.
110111
111112
:todo: Replace the Crate ID with a more comprehensive system, and replace profile name with URI.
112113
"""
113114

114115
try:
115-
logging.info(f"Processing validation task for provided metadata string")
116+
logging.info("Processing validation task for provided metadata string")
116117

117118
# Perform validation:
118119
validation_result = perform_metadata_validation(crate_json,

0 commit comments

Comments
 (0)