Ambiguous reference to member 'dataTask(with:completionHandler:)' swift 3.0
<p>I've tried to look at other answers with this same problem but I still can not fix this. Please help me with this code which is for a weather app. The problem is on my <code>let task = sessionDataTask</code> line.</p>

<pre><code>import Foundation

protocol WeatherServiceDelegate {
    func setWeather(weather: Weather)
}
class WeatherService {
    var delegate: WeatherServiceDelegate?
    func getWeather(city: String)  {
        let path = "http://api.openweathermap.org/data/2.5/weather?q=London,uk&amp;appid=79933f5c001b81aecc59976577f8134f"
        let url = NSURL(string: path)
        let session = URLSession.shared
        let task = session.dataTask(with: url) { (data, response, error) in
            print(data)
        }
        task.resume()
    }
}
</code></pre>