Merge branch 'master' into develop

This commit is contained in:
Romain Dorgueil
2019-06-01 09:20:06 +02:00
13 changed files with 115 additions and 63 deletions

View File

@ -9,13 +9,51 @@ import sys
from pathlib import Path
from bonobo._api import (
CsvReader, CsvWriter, FileReader, FileWriter, Filter, FixedWindow, Format, Graph, JsonReader, JsonWriter,
LdjsonReader, LdjsonWriter, Limit, MapFields, OrderFields, PickleReader, PickleWriter, PrettyPrinter, RateLimited,
Rename, SetFields, Tee, UnpackItems, __all__, __doc__, count, create_reader, create_strategy, create_writer,
get_argument_parser, get_examples_path, identity, inspect, noop, open_examples_fs, open_fs, parse_args, run
CsvReader,
CsvWriter,
FileReader,
FileWriter,
Filter,
FixedWindow,
Format,
Graph,
JsonReader,
JsonWriter,
LdjsonReader,
LdjsonWriter,
Limit,
MapFields,
OrderFields,
PickleReader,
PickleWriter,
PrettyPrinter,
RateLimited,
Rename,
SetFields,
Tee,
UnpackItems,
__all__,
__doc__,
count,
create_reader,
create_strategy,
create_writer,
get_argument_parser,
get_examples_path,
identity,
inspect,
noop,
open_examples_fs,
open_fs,
parse_args,
run,
)
from bonobo._version import __version__
from bonobo._api import *
from bonobo._api import __all__, __doc__
from bonobo._version import __version__
if sys.version_info < (3, 5):
raise RuntimeError("Python 3.5+ is required to use Bonobo.")

View File

@ -1 +1 @@
__version__ = "0.6.3"
__version__ = "0.6.4"

View File

@ -2,13 +2,13 @@ from logging import getLogger
from types import GeneratorType
from colorama import Back, Fore, Style
from django.core.management import BaseCommand
from django.core.management.base import OutputWrapper
from mondrian import term
import bonobo
from bonobo.plugins.console import ConsoleOutputPlugin
from bonobo.util.term import CLEAR_EOL
from django.core.management import BaseCommand
from django.core.management.base import OutputWrapper
from .utils import create_or_update

View File

@ -7,7 +7,9 @@ at home if you want to give it a shot.
"""
from bonobo.execution.strategies.executor import (
AsyncThreadPoolExecutorStrategy, ProcessPoolExecutorStrategy, ThreadPoolExecutorStrategy
AsyncThreadPoolExecutorStrategy,
ProcessPoolExecutorStrategy,
ThreadPoolExecutorStrategy,
)
from bonobo.execution.strategies.naive import NaiveStrategy

View File

@ -6,7 +6,15 @@ and inspect transformations, graphs, and nodes.
from bonobo.util.collections import cast, ensure_tuple, sortedlist, tuplize
from bonobo.util.compat import deprecated, deprecated_alias
from bonobo.util.inspect import (
inspect_node, isconfigurable, isconfigurabletype, iscontextprocessor, isdict, ismethod, isoption, istuple, istype
inspect_node,
isconfigurable,
isconfigurabletype,
iscontextprocessor,
isdict,
ismethod,
isoption,
istuple,
istype,
)
from bonobo.util.objects import ValueHolder, get_attribute_or_create, get_name