Did I find the right examples for you? yes no

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

src/c/i/ciel-HEAD/src/python/ciel/runtime/executors/proc.py   ciel(Download)
from ciel.public.io_helpers import write_framed_json, read_framed_json
import logging
from ciel.runtime.fetcher import retrieve_filename_for_ref,\
    retrieve_file_or_string_for_ref, OngoingFetch
import datetime
                    if isinstance(task_private["command"], SWRealReference):
                        # Command has been passed in as a reference.
                        command = [retrieve_filename_for_ref(arg, self.task_record, False)]
                        os.chmod(command_line[0], stat.S_IRWXU)
                    else:
        ref = self.task_record.retrieve_ref(ref)
        if not accept_string:   
            ctx = retrieve_filename_for_ref(ref, self.task_record, return_ctx=True)
        else:
            ctx = retrieve_file_or_string_for_ref(ref, self.task_record)

src/c/i/ciel-HEAD/src/python/ciel/runtime/executors/stdinout.py   ciel(Download)
from ciel.runtime.executors.simple import ProcessRunningExecutor
from ciel.runtime.exceptions import BlameUserException
from ciel.runtime.fetcher import retrieve_filename_for_ref
from ciel.runtime.executors import list_with
 
            if isinstance(arg, SWRealReference):
                # Command line argument has been passed in as a reference.
                command_line[i] = retrieve_filename_for_ref(arg, self.task_record, False)
                if i == 0:
                    # First argument must be executable.

src/c/i/ciel-HEAD/src/python/ciel/runtime/executors/java2.py   ciel(Download)
from ciel.runtime.executors import hash_update_with_structure,\
    add_package_dep, test_program
from ciel.runtime.fetcher import retrieve_filename_for_ref
import ciel
import os
    def get_command(self):
        jar_filenames = []
        for ref in self.task_private['jar_lib']:
            obj_store_filename = retrieve_filename_for_ref(ref, self.task_record, False)
            with open(obj_store_filename, 'r') as f:

src/c/i/ciel-HEAD/src/python/ciel/runtime/executors/environ.py   ciel(Download)
from ciel.runtime.executors.simple import ProcessRunningExecutor
from ciel.runtime.exceptions import BlameUserException
from ciel.runtime.fetcher import retrieve_filename_for_ref
import logging
 
            if isinstance(arg, SWRealReference):
                # Command line argument has been passed in as a reference.
                command_line[i] = retrieve_filename_for_ref(arg, self.task_record, False)
                if i == 0:
                    # First argument must be executable.