Did I find the right examples for you? yes no

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)

src/i/0/i-am-cc-HEAD/cc/profiles/views.py   i-am-cc(Download)
from external_apis import instagram
 
from models import InstagramInfo, InstagramPhoto
from utils import get_access_token, from_unix_time, to_unix_time
 
        caption = caption.get('text', None)
    photo = InstagramPhoto(
        license_info=info,
        caption=caption,
        created_time=from_unix_time(int(api_result.get('created_time'))),

src/i/0/i-am-cc-HEAD/cc/profiles/resources.py   i-am-cc(Download)
from tastypie import fields
from tastypie.resources import ModelResource, ALL, ALL_WITH_RELATIONS
 
from models import InstagramInfo, InstagramPhoto