Interfaces for dependencies and products#
There are different interfaces for dependencies and products and it might be confusing when to use what. The tables gives you an overview to decide which interface is most suitable for you.
Legend#
✅ = True
❌ = False
➖ = Does not apply
Products#
|
|
|
|
|
|
---|---|---|---|---|---|
Not deprecated |
✅ |
✅ |
✅ |
✅ |
❌ |
No type annotations required |
❌ |
✅ |
✅ |
❌ |
✅ |
Flexible choice of argument name |
✅ |
✅ |
❌ |
➖ |
❌ |
Supports third-party functions as tasks |
❌ |
✅ |
❌ |
❌ |
❌ |
Allows to pass custom node while preserving type of value |
✅ |
✅ |
✅ |
✅ |
✅ |
Dependencies#
|
|
|
|
---|---|---|---|
Not deprecated |
✅ |
✅ |
❌ |
No type annotations required |
❌ |
✅ |
✅ |
Flexible choice of argument name |
✅ |
✅ |
❌ |
Supports third-party functions as tasks |
❌ |
✅ |
❌ |