The Environment Agency had installed a temporary flood defence along the River Sheaf in Sheffield.