ConstruireCarte(realtor_id=2248)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
ConstruireCarte(realtor_id=2248)
GeoJSONSilver(realtor_id=2248)
GeoJSONGold(realtor_id=2248)
ClassementAgence(address_id=1)
CollectData(realtor_id=2248)
ClassementAgence(address_id=2)
ClassementAgence(address_id=3)
import luigi
class MyTask(luigi.Task):
param = luigi.Parameter(default=42)
def requires(self):
return SomeOtherTask(self.param)
def run(self):
with self.output().open("w") as output:
output.write("Hello, world")
def output(self):
return luigi.LocalTarget("/tmp/foo/bar-%s.txt" % self.params)
import contextlib
import luigi
class MyTarget(luigi.Target):
def exists(self):
""" Return true if data already exists """
@contextlib.contextmanager
def open(self):
""" Not required but recommanded """
luigi --module CarteVisibilite ConstruireCarte --realtor_id 2248 [--local-scheduler]
import luigi
from carte_visibilite import ConstruireCarte
luigi.build([ConstruireCarte(realtor_id=2248)], workers=10)
import itertools
class DummyTarget(luigi.Target):
def __init__(self):
self.result_gen = itertools.chain(
(False, ), itertools.repeat(True)
)
def exists(self):
return next(self.result_gen)
Pattern COMMANDE