Did I find the right examples for you? yes no

All Samples(16)  |  Call(8)  |  Derive(0)  |  Import(8)

src/p/y/pyf.services-2.0.2/pyf/services/model/events.py   pyf.services(Download)
    def get_file(self):
        from pyf.services.core.storage import get_storage
        if self.file_uuid:
            storage = get_storage('output')
            storage_filename = storage.get_filename(self.file_uuid)
    def get_source_file(self):
        from pyf.services.core.storage import get_storage
        if self.storage_file_uuid:
            storage = get_storage('input')
            storage_filename = storage.get_filename(self.storage_file_uuid)

src/p/y/pyf.services-2.0.2/pyf/services/controllers/events.py   pyf.services(Download)
from pyf.services.core.events import create_event_track, get_logger
from pyf.services.core.router import Router
from pyf.services.core.storage import get_storage
 
from tgscheduler.scheduler import add_single_task
    def download_output(self, outputfile_id):
        if outputfile_id:
            outputfile = DBSession.query(EventOutputFile).get(outputfile_id)
            if outputfile:
                storage = get_storage('output')
    def download_input(self, eventtrack_id):
        eventtrack = DBSession.query(EventTrack).get(eventtrack_id)
        if eventtrack.storage_file_uuid:
            storage = get_storage('input')
            storage_filename = storage.get_filename(eventtrack.storage_file_uuid)

src/p/y/pyf.services-2.0.2/pyf/services/core/events.py   pyf.services(Download)
import transaction
 
from pyf.services.core.storage import get_storage
 
import logging
    def add_files(self, filenames):
        storage = get_storage('output')
        rows = list()
 
        for temp_filename, filename in filenames:

src/p/y/pyf.services-2.0.2/pyf/services/controllers/dispatch.py   pyf.services(Download)
from pyf.services.core.router import Router
 
from pyf.services.core.storage import get_storage
 
from pyf.services.versionning.base import get_repository
        check_dispatch(repository, dispatch, variant=variant)
 
        storage = get_storage('input')
        uuid = storage.store(doc.file)
 

src/p/y/pyf.components.postprocess.email_sender-0.2/pyf/components/postprocess/email_sender/postprocess.py   pyf.components.postprocess.email_sender(Download)
from pyf.componentized.components import Component
from pyf.componentized.configuration.keys import SimpleKey, CDATAKey
from pyf.services.core.storage import get_storage
 
 
        self.process_name = process_name
 
        self.storage = get_storage('output')
 
    @component('IN', 'OUT')

src/p/y/pyf.components.postprocess.files_post_handler-0.2/pyf/components/postprocess/files_post_handler/postprocess.py   pyf.components.postprocess.files_post_handler(Download)
from pyf.componentized.components import Component
from pyf.dataflow import component
from pyf.services.core.storage import get_storage
 
 
        self.process_name = process_name
 
        self.storage = get_storage('output')
 
        self.output_folder = self.get_config_key('output_folder')

src/p/y/pyf.services-2.0.2/pyf/services/core/__init__.py   pyf.services(Download)
from pyf.services.core.events import create_event_track, get_logger, EventLogger
from pyf.services.core.storage import Storage, get_storage