Results 14 comments of Phillip

From https://help.tcgplayer.com/hc/en-us/articles/201577976-How-can-I-get-access-to-your-card-pricing-data- > Interested in adding this valuable resource to your site/app along with an additional revenue stream? Then [Send us an Email] for more information. Please be sure to...

You could use DeckBrew API to get access to the TCG Player pricing: http://deckbrew.com/api/

You should take advantage of these fine applications: www.mtgjson.com www.mtgimage.com

www.mtgimage.com :) https://github.com/Sembiance/mtgimage

I'm running into this problem myself as well. Pardon my ignorance, but shouldn't SQLModel do this for us? Or is this just something that must be done when using MySQL...

I discovered a solution for this: As it turns out, the object I was passing to the REST endpoint had an ID specified (the ID was 0). When I either...

Although... again... shouldn't SQLModel (or FastAPI?) determine that since `default=None` is specified that it pass `id=None` inside the `/docs` endpoint? Right now, it passes `id=0` for the primary key when...

After HOURS of debugging, I figured out the following: 1. You need to be using `session.commit()` instead of `session.flush()`. This is also indicated in SQLModel's (and FastAPI's) documentation: https://sqlmodel.tiangolo.com/tutorial/fastapi/simple-hero-api/#create-heroes-path-operation https://fastapi.tiangolo.com/tutorial/sql-databases/#read-data...