I'm trying to access the values of a python dictionary, but the line is too long so it doesn't match PEP-8 rules. (I'm using flake8 linter on vscode)
example:
class GoFirstSpider():
    def __init__(self, flight_search_request):
        self.name = 'goFirst'
     -> self.date = flight_search_request["FlightSearchRequest"]["FlightDetails"]["DepartureDate"]
I've tried:
self.date = flight_search_request["FlightSearchRequest"]\
    ["FlightDetails"]["DepartureDate"]
and got:
whitespace before '['
Thanks.
 
     
    