pyiron_base.database.jobtable.get_job_id#
- pyiron_base.database.jobtable.get_job_id(database: FileTable | DatabaseAccess, sql_query: str, user: str, project_path: str, job_specifier: str) int | None[source]#
get the job_id for job named job_name in the local project path from database
- Parameters:
database (DatabaseAccess) – Database object
sql_query (str) – SQL query to enter a more specific request
user (str) – username of the user whoes user space should be searched
project_path (str) – root_path - this is in contrast to the project_path in GenericPath
job_specifier (str) – name of the job or job ID
- Returns:
job ID of the job
- Return type:
int