Martin Roy

Results 17 comments of Martin Roy

This quick fix seems to work for me: ``` schema = JSONSchema().dump(MySchema(many=True)) # Note that the many=true is ignored schema.update( type='array', items={ 'type': 'object', '$ref': schema.pop('$ref'), }, ) ```

`model.registry._class_registry` was a valid replacement for the way we use it. Would be great to have an official way of listing all ~~tables~~ classes in the registry. Maybe there is...

Our personal use case is to use data generation in tests. We pass in a model and the generation will make sure the foreign keys exists by itself. This is...

Yes i'm sorry for the confusion, i just realized it trying to use metadata tables, i do need class objects

@zzzeek very sorry for the confusion, I'm trying to get the class not the table.

Well it would seem that i overlooked that a process is created with the server that persists after the python program ends, so i couldn't start a new server on...

Okay, that sounds fine. My use case being exactly connecting without going through redislite so it was confusing for me. My suggestion was merely to add a little note to...

@offbyone Hi, it does seem to be working with latest mypy, thank you!

Hi @laeeq80 , thanks for your interest. I saw your issue and yeah in my example, i create the database in the setup.sql. `CREATE DATABASE myexample;` If i had more...

I was under the impression that the the partial attributes [recently implemented](https://github.com/Goldziher/pydantic-factories/pull/52) was to solve this. would go like ``` test_event = SqsModelFactory.build( Records = [{"body": {"details": {"resource_id": item_of_interest_fixture.id}}}] )...