In all contracts for improvements the cost of which is to be paid by assessment upon the property abutting or benefited, the city shall not be liable for any claim for the amount to be collected from such assessment, but the contractor shall look to the assessment for his compensation.
53 P.S. § 12674