Did I find the right examples for you? yes no

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/c/i/ciel-HEAD/src/python/ciel/runtime/fetcher.py   ciel(Download)
from ciel.runtime.pycurl_data_fetch import HttpTransferContext
from ciel.runtime.tcp_data_fetch import TcpTransferContext
from ciel.runtime.block_store import filename_for_ref, producer_filename,\
    get_own_netloc, create_datavalue_file
from ciel.runtime.producer import get_producer_for_id,\
        else:
            create_datavalue_file(self.ref)
            self.set_filename(filename_for_ref(self.ref), True)
            self.result(True, None)
 
    def use_local_file(self):
        filename = filename_for_ref(self.ref)

src/c/i/ciel-HEAD/src/python/ciel/runtime/producer.py   ciel(Download)
import ciel.runtime.tcp_server
import ciel.runtime.file_watcher as fwt
from ciel.runtime.block_store import get_own_netloc, producer_filename,\
    filename_for_ref
from ciel.public.references import SWDataValue, encode_datavalue, SW2_ConcreteReference, \
def write_fixed_ref_string(string, fixed_ref):
    output_ctx = make_local_output(fixed_ref.id)
    with open(filename_for_ref(fixed_ref), "w") as fp:
        fp.write(string)
    output_ctx.close()

src/c/i/ciel-HEAD/src/python/ciel/runtime/executors/__init__.py   ciel(Download)
from ciel.runtime.exceptions import BlameUserException, ReferenceUnavailableException,\
    MissingInputException, TaskFailedError
from ciel.runtime.block_store import get_own_netloc, filename_for_ref
 
from ciel.runtime.producer import make_local_output