| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Replace abc.abstractproperty with property and abc.abstractmethod,
as abc.abstractproperty has been deprecated since python3.3[1]
[1]https://docs.python.org/3.8/whatsnew/3.3.html?highlight=deprecated#abc
Change-Id: I1bcecd99d8856c26621a5304d9f7f01f8f111918
|
| |
|
|
|
|
|
|
| |
This library no longer supports Python 2, thus usage of six can be
removed. This also removes workaround about pickle library used in
Python 2 only.
Change-Id: I19d298cf0f402d65f0b142dea0bf35cf992332a9
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
These usages are not really needed and can just be
eliminated since they offer no benefit (and coverage
may classify them as dead/useless code).
Change-Id: I951c4cb9216a19ce37dc8fc390ae905fd525a3c7
|
| |
|
|
|
|
|
|
|
| |
You can now specify a "lazy" argument when asking a
persistence backend for a logbook for flowdetail.
This will return a logbook with no flowdetails in it,
or a flowdetail with no atomdetails in it, respectively.
Change-Id: Ie81a19a2107b44e2c35c2a92507bec03eee55c50
|
| |
|
|
|
|
|
| |
Factors lots of duplicate code out of persistence backends
Adds get_flows_for_book to all backends
Change-Id: I0434bd4931cd9274876f9e9c92909531f244bcac
|
| |
|
|
| |
Change-Id: Ic21a883b4eee827d90065f8ecfc5af2599ebece5
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To make it easy to add new type errors and to make the existing
ones have a common string pattern adjust the current type errors
to contain at least the following string format: '%s' (%s) where
these two places will be filled in with the object of the wrong
type and the type of that object. This information is useful when
analyzing the exception (by the user) to know exactly what they
passed in and what type it was.
This convention is not maintained where it would interpolate large
text blobs (such as in binary encoding/decoding and json decoding).
Change-Id: Id84b0e7ce684a543cc407b15016e77804e6f03ed
|
|
|
In order to match the directory/module layout of the
other pluggable backends better move the persistence
base module that defines the base abstract classes up
into the parent directory.
This makes it easier to look at the taskflow code-base
and understand the common layout.
Change-Id: I7887cb0241b8fe65cbdfee32c101c3df5f05d27c
|