Did I find the right examples for you? yes no

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

src/n/e/neurotrends-HEAD/neurotrends/model/article.py   neurotrends(Download)
from neurotrends.config import mongo, re
 
from .config import VERIFY_THRESHOLD, SAVE_DIRS, EXTENSIONS, \
    DOCUMENT_TYPES, OPENURL_URL, EMAIL_ADDR, SCRAPE_CLASS, SCRAPE_KWARGS, \
    DOCUMENT_TYPES_TO_FIELDS
        # Get default arguments
        scraper = scraper or SCRAPE_CLASS(**SCRAPE_KWARGS)
        document_types = document_types or DOCUMENT_TYPES
 
        # Skip files if document field and associated file already exist
        # Delete existing documents fields and files
        else:
            for document_type in DOCUMENT_TYPES:
                self._remove_document(document_type)