shotgunsoftware / python-api

A Python-based library for accessing Flow Production Tracking API.
https://developer.shotgridsoftware.com/python-api
Other
306 stars 198 forks source link

Allow Mockgun to load data from a production sever #197

Open Ahuge opened 5 years ago

Ahuge commented 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.

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.

This is my first PR to shotgunsoftware I think so let me know if I need to sign some contribution agreement.

Thanks

Ahuge commented 5 years ago

I think it's all going to fail because it is missing the "tests/config" file.

Where do I get such a file?

Ahuge commented 5 years ago

Bump?