Jed Palmater

Results 4 comments of Jed Palmater

@OXERY && @scuervo91 - I was able to get something that works Using this: `regions: dict = Field(sa_column=Column(JSON), default={'all': 'true'})` That said: this is a postgresql JSONB column in my...

@psarka ``` j = J(j=1) db_j = J.from_orm(j) a = A(a=1, b=db_j) ``` This should resolve your issue in preparing the object for the database. What I'm seeing in the...

Hey @psarka I just actually tried what I told and sorry have mislead... I did get a working solution though 😄 It was actually the opposite function that you need...

It does type check when you create the `J` Object (which it should) So if you tried to supply a string it would fail `J(j="foo")` This allows for the type...