shippo-python-client icon indicating copy to clipboard operation
shippo-python-client copied to clipboard

async=False | SyntaxError: invalid syntax

Open cnr91 opened this issue 2 years ago • 1 comments

async treats it as a function, not a parameter. What am I doing wrong?

shipments = shippo.Shipment.create(
        address_from = address_from,
        address_to = address_to,
        parcels = [parcel],
        async=False
    )

2023-03-13 143118

cnr91 avatar Mar 13 '23 11:03 cnr91

I don't think you're doing anything wrong, I'm getting the same problem. 'async' became a reserved keyword in python 3.6 (https://stackoverflow.com/questions/55170794/shippo-python-package-async-issue).

But no answer here and no fix... I'm experimenting with Shippo -- am I wasting my time?

borax00 avatar Sep 19 '23 12:09 borax00