Did I find the right examples for you? yes no

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

src/s/p/spartan-HEAD/spartan/worker.py   spartan(Download)
 
from . import config, util, rpc, core, blob_ctx
from .config import FLAGS, StrFlag, IntFlag, BoolFlag
from .rpc import zeromq, TimeoutException, rlock
from .util import Assert

src/s/p/spartan-HEAD/spartan/expr/optimize.py   spartan(Download)
'''
 
from ..config import FLAGS, BoolFlag
from . import local
from .filter import FilterExpr
def apply_pass(klass, dag):
  if not getattr(FLAGS, 'opt_' + klass.name):
    util.log_debug('Pass %s disabled', klass.name)
    return dag
 

src/s/p/spartan-HEAD/spartan/expr/base.py   spartan(Download)
from ..util import Assert, copy_docstring
from ..array import distarray
from ..config import FLAGS, BoolFlag
from ..rpc import TimeoutException
from traits.api import Any, Instance, Int, PythonValue

src/s/p/spartan-HEAD/spartan/expr/checkpoint.py   spartan(Download)
from .base import Expr, lazify
from ..config import FLAGS
from .. import master, util
from .fio import save
from ..array.distarray import from_replica

src/s/p/spartan-HEAD/spartan/array/distarray.py   spartan(Download)
from ..core import LocalKernelResult
from ..util import Assert
from ..config import FLAGS
from .. import master
 

src/s/p/spartan-HEAD/spartan/__init__.py   spartan(Download)
from .expr import *
from . import config
from .config import FLAGS
from .cluster import start_cluster