| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
It appears folks are using the taskflow.utils code in there own
code-bases (likely taking it from the examples) which we do not
want to encourage, so remove the usage of **most** of
taskflow.utils code from the examples so that people are less
likely to copy/paste/reference it.
Change-Id: I0ce3c520de347e3e746e7912aa1366a515458424
|
| |
|
|
|
|
|
|
|
|
|
| |
Since this module contains more than the logbook
class and really is a our generic models that are used
to hold the runtime structure it is more appropriate to
place it under a models module and deprecate the usage
of the old module by placing a warning there (so that
when it is imported that warning is triggered).
Change-Id: I79def5ee08f560d38f2c9dcefd0b33becc2a4d36
|
| |
|
|
|
|
|
| |
Some things that popped out while reading the
comments/documentation.
Change-Id: I0ccecae3381447ede44bb855d91f997349be1562
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To avoid having one set of options coming from `engine_conf`
and another set of options coming from `kwargs` and another set
coming from `engine_conf` if it is a URI just start to shift
toward `engine_conf` being deprecated and `engine` being a string
type only (or a URI with additional query parameters) and having
any additional **kwargs that are provided just get merged into the
final engine options.
This adds a new helper function that handles all these various
options and adds in a keyword argument `engine` that will be shifted
to in a future version (in that future version we can also then
remove the `engine_conf` and just stick to a smaller set of option
mechanisms).
It also adjusts all examples to use this new and more easier to
understand format and adjusts tests, conductor interface to use
this new more easily understandable style of getting an engine.
Change-Id: Ic7617057338e0c63775cf38a24643cff6e454950
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This commit makes a set of small adjustments to examples.
- Rework some of the comments to be more clear.
- Add links to the original source tree file.
- Rename some of the examples to make it clear the
concept the example is intented to show.
- Move some common example functionality to the
example utility file.
Change-Id: I858e0dbf72fe8cb40a05bfdbb0857720ffb71c7f
|
| |
|
|
|
|
|
|
|
| |
Remove line containing
comment - # vim: tabstop=4 shiftwidth=4 softtabstop=4
Change-Id: I7581cc88b8de433d5609ed06c6570b0b45c13573
Closes-Bug:#1229324
|
| |
|
|
|
|
|
|
| |
* Added missing period for doc strings
* Correct syntax errors
* Remove H402 from flake8 ignore list
Change-Id: Ia8592bf99378e3658d6cca2ceb148bf9eb0b5de8
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Adjust tests to skip the sqlalchemy test if
sqlalchemy is not installed. Adjust examples
to fallback to a directory based backend if
the sqlalchemy does not load or is not available.
Include a updated tox.ini (generated from the
toxgen.py script) that includes the new venv
variations.
Change-Id: I7686f09901a9b65d7c81b4e037b5bffc24aa7ef7
|
| |
|
|
| |
Change-Id: Iecf7693239d93e5a43cf5470bcfcdec605410ce4
|
| |
|
|
| |
Change-Id: Ibd137ea7017bdf248e6ea524cfa7e5b39f4ad37f
|
| |
|
|
|
|
|
|
| |
It is quite useful to be able to dump what is in a
logbook in a human readable format so this adds a
helper utility function to do just this.
Change-Id: I84d8a9caf531de018fb361211624fc5b8c030260
|
|
|
Add an example that will use a sqlite layer for
persisting flow and task information, and will use
the layer for future resumption.
Show how to output what a logbook contains as well.
Change-Id: If5f936fe100cb43ed857b99e3fae0c6e6baba5ed
|