Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

async=False | SyntaxError: invalid syntax #98

Open
cnr91 opened this issue Mar 13, 2023 · 1 comment
Open

async=False | SyntaxError: invalid syntax #98

cnr91 opened this issue Mar 13, 2023 · 1 comment

Comments

@cnr91
Copy link

cnr91 commented Mar 13, 2023

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

@borax00
Copy link

borax00 commented Sep 19, 2023

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants