pub(crate) fn to_partial_graph_id( database_id: DatabaseId, creating_job_id: Option<JobId>, ) -> PartialGraphId