Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pandaserver/api/v1/task_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ def get_details(req: PandaRequest, task_id: int, include_parameters: bool = Fals

Returns:
dict: The system response `{"success": success, "message": message, "data": data}`.
When succesful, there data field contains the task details.
When successful, the data field contains the task details.
When there was an error, the message field contains the description.
"""
tmp_logger = LogWrapper(_logger, f"get_details < task_id={task_id} include_parameters={include_parameters} include_status={include_status} >")
Expand Down
2 changes: 1 addition & 1 deletion pandaserver/jobdispatcher/Watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def run(self):
# event service
if EventServiceUtils.isEventServiceJob(job) and not EventServiceUtils.isJobCloningJob(job):
eventStat = self.taskBuffer.getEventStat(job.jediTaskID, job.PandaID)
# set sub status when no sucessful events
# set sub status when no successful events
if EventServiceUtils.ST_finished not in eventStat:
job.jobSubStatus = "es_heartbeat"
# update job
Expand Down
2 changes: 1 addition & 1 deletion pandaserver/taskbuffer/JediDatasetSpec.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def getMergeProcessTypes(cls):

getMergeProcessTypes = classmethod(getMergeProcessTypes)

# get type of unkown input
# get type of unknown input
def getUnknownInputType(cls):
return "trn_unknown"

Expand Down
2 changes: 1 addition & 1 deletion pandaserver/taskbuffer/db_proxy_mods/entity_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def reset_resource_type_task(self, jedi_task_id, use_commit=True):
if use_commit:
if not self._commit():
raise RuntimeError("Commit error")
tmp_log.debug("commited...")
tmp_log.debug("committed...")
except Exception:
# roll back
if use_commit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ def getLockDatasets(self, sqlQuery, varMapGet, modTimeOffset="", getVersion=Fals
# commit
if not self._commit():
raise RuntimeError("Commit error")
# retrun
# return
return retList
except Exception:
# roll back
Expand Down
2 changes: 1 addition & 1 deletion pandaserver/workflow/pcwl_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def convert_params_in_condition_to_parent_ids(condition_item, input_data, id_map
setattr(condition_item, item, id_map[tmp_data["parent_id"]])
break
if not isOK:
raise ReferenceError(f"unresolved paramter {param} in the condition string")
raise ReferenceError(f"unresolved parameter {param} in the condition string")
elif isinstance(param, ConditionItem):
convert_params_in_condition_to_parent_ids(param, input_data, id_map)

Expand Down