29d07aa5f1
Adds unit test for SetFields ( fixes #341 ).
2019-06-02 16:43:11 +02:00
dc3dea8241
Make sure that we can also add nodes inbetween branches.
2019-06-02 09:45:12 +02:00
25329b768d
Adds ability to concatenate cursors in between other cursors.
2019-06-02 09:42:10 +02:00
e0d2295adb
Adds the ability to concatenate independently created cursors.
2019-06-02 09:20:19 +02:00
670d893db9
Adds simple test for #326 .
2019-06-02 09:06:48 +02:00
34194925d1
New syntax: Forks & merge polishing
2019-06-02 08:53:57 +02:00
caef022b56
Minor documentation tuning, moving get_pseudo_nodes to bonobo.util.testing.
2019-06-02 08:40:14 +02:00
c998708923
New syntax: adding test cases and syntactic sugar tools in graph api for merges and forks (related to #323 and #324 , allows #328 ).
2019-06-01 12:31:38 +02:00
0d17881928
Merge pull request #333 from hartym/314_connect_two_chains
...
Implements #314 , make index_of() public in graph api, document node c…
2019-06-01 11:26:34 +02:00
af8ad2e2a8
Merge pull request #332 from hartym/211_forbid_fs_related_nodes_to_join_cwd_silently
...
Do not allow to provide absolute paths as filesystem will join it sil…
2019-06-01 11:07:16 +02:00
705dea3215
Implements #314 , make index_of() public in graph api, document node connections and let outputs_of() take anything resolvable by index_of().
2019-06-01 11:06:16 +02:00
31bf0dfc7a
Do not allow to provide absolute paths as filesystem will join it silently ( fixes #211 ).
2019-06-01 09:51:47 +02:00
dee719f070
#302 : adds unit test and doc tidying.
2019-06-01 09:32:22 +02:00
72a855729c
wip: version bumps & formating.
2019-05-08 12:01:59 +02:00
0e1cfa26cf
Merge pull request #300 from KPilnacek/285_update_all_fields_in_a_row
...
Add MapFields transformation
2018-10-29 17:45:37 +01:00
f93f6bb62e
fixup! Add MapFields transformation
2018-10-29 13:52:20 +01:00
721bdb4318
Add MapFields transformation
2018-10-29 07:36:03 +01:00
b3a56e9767
Merge remote-tracking branch 'upstream/develop' into develop
2018-10-29 07:23:58 +01:00
07160cdccc
Fix problem with csv writer writing every field on own line, if not header information.
...
Update tests to accommodate change.
2018-10-27 16:24:21 +02:00
5499c548b0
Allows to provide False fields to CsvWriter, or to override field headers using the fields= option.
2018-10-27 15:29:19 +02:00
ca464ef6f7
Enforcing quote format with black in develop.
2018-08-11 16:15:26 +02:00
2eea3c6ad6
Merge branch 'master' into develop
2018-08-11 15:04:35 +02:00
ba08931020
smell: fixes assert in container constructor.
2018-08-11 07:33:11 +02:00
3ea0952bd3
fix: Setting.set was incorrectly instanciating ValidationError.
2018-08-11 07:26:14 +02:00
d1c9beae97
style: switching from yapf to isort/black
2018-08-11 06:34:37 +02:00
89dda0dca6
feat: new alternate syntax and switch to black + isort (yeah, maybe not the best time, but that is done).
2018-07-29 18:21:56 +01:00
980a76399b
feat, wip: refactoring and simplification of how casts are made.
2018-07-29 11:59:47 +01:00
66451d03bb
work in progress: working on nodes lifecycle.
2018-07-22 07:34:11 +02:00
8b3215ad25
wip: refactoring context to share base.
2018-07-11 17:09:53 +02:00
38e0a2fe12
Adds create_reader/create_writer tests.
2018-05-21 12:30:43 +02:00
a9c55de270
Update requirements / format.
2018-05-16 07:43:15 +02:00
02eeaff883
Fix #249 : Quoting format is integer, not string.
2018-02-03 17:11:23 +01:00
464d08a4a2
Generalize tuplize decorator to cast(...) decorator.
2017-12-27 14:21:50 +01:00
e39ab0e62e
Fixes packaging: *.py-tpl are now included using recursive-include in MANIFEST.in
2017-12-03 09:57:56 +01:00
a8ff1b4df1
[tests] adding a spec to magicmock of nodes to avoid it being seen as partially configured nodes
2017-12-02 14:51:33 +01:00
d8c0dfe11a
Inheritance of bags and better jupyter output for pretty printer.
2017-11-28 21:58:01 +01:00
5e0b6567cd
Rewritting Bags from scratch using a namedtuple approach, along with other (less major) updates.
...
New bag implementation improves a lot how bonobo works, even if this is
highly backward incompatible (sorry, that's needed, and better sooner
than later).
* New implementation uses the same approach as python's namedtuple,
by dynamically creating the python type's code. This has drawbacks, as
it feels like not the right way, but also a lot of benefits that
cannot be achieved using a regular approach, especially the
constructor parameter order, hardcoded.
* Memory usage is now much more efficient. The "keys" memory space will
be used only once per "io type", being spent in the underlying type
definition instead of in the actual instances.
* Transformations now needs to use tuples as output, which will be bound
to its "output type". The output type can be infered from the tuple
length, or explicitely set by the user using either
`context.set_output_type(...)` or `context.set_output_fields(...)` (to
build a bag type from a list of field names).
Jupyter/Graphviz integration is more tight, allowing to easily display
graphs in a notebook, or displaying the live transformation status in an
html table instead of a simple <div>.
For now, context processors were hacked to stay working as before but
the current API is not satisfactory, and should be replaced. This new
big change being unreasonable without some time to work on it properly,
it is postponed for next versions (0.7, 0.8, ...). Maybe the best idea
is to have some kind of "local services", that would use the same
dependency injection mechanism as the execution-wide services.
Services are now passed by keywoerd arguments only, to avoid confusion
with data-arguments.
2017-11-27 00:04:51 +01:00
c87775f090
Core: refactoring contexts with more logical responsibilities, stopping to rely on kargs ordering for compat with python3.5
2017-11-12 16:36:11 +01:00
c2f17296f6
[stdlib] Adds Update(...) and FixedWindow(...) the the standard nodes provided with bonobo.
2017-11-12 10:06:15 +01:00
d1481fbfe8
Moves jupyter extension to both bonobo.contrib.jupyter (for the jupyter widget) and to bonobo.plugins (for the executor-side plugin).
2017-11-12 09:08:05 +01:00
eb393331cd
Adds a "bare" template, containing the very minimum you want to have in 90% of cases.
2017-11-05 14:59:25 +01:00
674f9348e7
Skip failing order test for python 3.5 (temporary).
2017-11-05 14:45:30 +01:00
0b969d31e0
Adds basic test for convert command.
2017-11-04 14:55:08 +01:00
25e919ab96
[tests] adds node context lifecycle test.(
2017-11-04 13:36:54 +01:00
83fc1743fc
Small changes in events, and associated tests.
2017-11-04 13:20:53 +01:00
28884231b3
[core] Moves bonobo.execution context related package to new bonobo.execution.contexts package, also moves bonobo.strategies to new bonobo.execution.strategies package, so everything related to execution is now contained under the bonobo.execution package.
2017-11-04 13:13:47 +01:00
2c9729c4ca
Remove the sleep() in tick() that causes a minimum execution time of 2*PERIOD, more explicit status display and a small test case for console plugin.
2017-11-04 13:01:43 +01:00
0b8168f7da
[tests] Fix path usage for python 3.5
2017-11-04 12:29:46 +01:00
017bb4a9a6
Adds a test for default file init command.
2017-11-04 12:24:30 +01:00
9037d94654
Fix imports.
2017-11-02 07:25:38 +01:00