Jason Motley

    Jason Motley

    8 months ago
    Has anyone ever run into an issue where they get the error 
    Nonetype object has no attribute 'to_sql
     but only in production? I've spot checked and my load statement is constructed identically, registration is fine, etc. Local runs go fine as well.
    Kevin Kho

    Kevin Kho

    8 months ago
    I think this means your upstream task is returning
    None
    . I think it might help you to log some output inside the task before it’s returned to get an idea
    Jason Motley

    Jason Motley

    8 months ago
    This is a part of a case statement, so the upstream task is the condition check. I put in some print statements and its definitely returning things
    Kevin Kho

    Kevin Kho

    8 months ago
    Could you show the Flow definition (just the Flow block)?