Open Ahuge opened 5 years ago
This PR is designed to add additional support for Mockgun allowing me to load a local database cache with data from my production server.
I do this by introducing a new module shotgun_api3/lib/mockgun/data.py It follows a similar structure to the SchemaFactory.
shotgun_api3/lib/mockgun/data.py
I also provide a new mockgun interface to generate_data which also mimics the generate_schema from the shotgun_api3/lib/mockgun/schema.py file.
generate_data
generate_schema
shotgun_api3/lib/mockgun/schema.py
This is my first PR to shotgunsoftware I think so let me know if I need to sign some contribution agreement.
Thanks
I think it's all going to fail because it is missing the "tests/config" file.
Where do I get such a file?
Bump?
This PR is designed to add additional support for Mockgun allowing me to load a local database cache with data from my production server.
I do this by introducing a new module
shotgun_api3/lib/mockgun/data.py
It follows a similar structure to the SchemaFactory.I also provide a new mockgun interface to
generate_data
which also mimics thegenerate_schema
from theshotgun_api3/lib/mockgun/schema.py
file.This is my first PR to shotgunsoftware I think so let me know if I need to sign some contribution agreement.
Thanks