Did I find the right examples for you? yes no

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)

src/u/n/UnitScan-HEAD/scrapy/tests/test_djangoitem/__init__.py   UnitScan(Download)
 
if django:
    from .models import Person, IdentifiedPerson
else:
    Person = None

src/s/c/scrapy-HEAD/scrapy/tests/test_djangoitem/__init__.py   scrapy(Download)
 
if 'django' in optional_features:
    from .models import Person, IdentifiedPerson
 
    class BasePersonItem(DjangoItem):

src/o/h/oh-mainline-HEAD/vendor/packages/scrapy/scrapy/tests/test_djangoitem/__init__.py   oh-mainline(Download)
 
if django:
    from .models import Person, IdentifiedPerson
else:
    Person = None

src/s/c/Scrapy-0.22.2/scrapy/tests/test_djangoitem/__init__.py   Scrapy(Download)
 
if 'django' in optional_features:
    from .models import Person, IdentifiedPerson
 
    class BasePersonItem(DjangoItem):