Canals

Latest version: v0.11.0

Safety actively analyzes 623860 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.10.1

What's Changed
* feat: read defaults from `run()` signature by ZanSara in https://github.com/deepset-ai/canals/pull/166
* Use full import path as 'type' in serialization. by masci in https://github.com/deepset-ai/canals/pull/167


**Full Changelog**: https://github.com/deepset-ai/canals/compare/v0.10.0...v0.10.1

0.10.0

What's Changed
* Properly annotate classmethods by masci in https://github.com/deepset-ai/canals/pull/139
* feat: add `Pipeline.inputs()` by ZanSara in https://github.com/deepset-ai/canals/pull/120
* Add missing `typing_extensions` dependency by silvanocerza in https://github.com/deepset-ai/canals/pull/152
* feat: use full connection data to route I/O by ZanSara in https://github.com/deepset-ai/canals/pull/148
* feat: Add Component inputs/outputs functions by vblagoje in https://github.com/deepset-ai/canals/pull/158
* feat: Fix find_component_inputs, update unit tests by vblagoje in https://github.com/deepset-ai/canals/pull/162
* Fix API docs by ZanSara in https://github.com/deepset-ai/canals/pull/164
* make Variadic wrap an iterable by masci in https://github.com/deepset-ai/canals/pull/163
* feat: Add Pipeline outputs method by vblagoje in https://github.com/deepset-ai/canals/pull/150
* Update __about__.py by vblagoje in https://github.com/deepset-ai/canals/pull/165

New Contributors
* vblagoje made their first contribution in https://github.com/deepset-ai/canals/pull/158

**Full Changelog**: https://github.com/deepset-ai/canals/compare/v0.9.0...v0.10.0

0.9.0

What's Changed
* fix package name, change _parse_connection_name function name, add tests by masci in https://github.com/deepset-ai/canals/pull/126
* move sockets into components package by masci in https://github.com/deepset-ai/canals/pull/127
* chore: remove extras by ZanSara in https://github.com/deepset-ai/canals/pull/125
* fix: Sockets named "text/plain" or containing a "/" fail during pipeline.to_dict by julian-risch in https://github.com/deepset-ai/canals/pull/131
* chore: remove missing module from docs to fix documentation by ZanSara in https://github.com/deepset-ai/canals/pull/132
* Remove stray print by ZanSara in https://github.com/deepset-ai/canals/pull/123
* chore: add sockets docs by ZanSara in https://github.com/deepset-ai/canals/pull/133
* chore: group up utils about types by ZanSara in https://github.com/deepset-ai/canals/pull/129
* Update canals.md by ZanSara in https://github.com/deepset-ai/canals/pull/134
* make `__canals_output__` and `__canals_input__` management consistent by masci in https://github.com/deepset-ai/canals/pull/128
* Do not use a dict as intermediate format and use `Socket`s directly by masci in https://github.com/deepset-ai/canals/pull/135
* Move `is_optional` evaluation for `InputSocket` to `post_init` by masci in https://github.com/deepset-ai/canals/pull/136
* re-introduce variadics to support Joiner node by masci in https://github.com/deepset-ai/canals/pull/122
* chore: bumb version to 0.9.0 by julian-risch in https://github.com/deepset-ai/canals/pull/140

New Contributors
* julian-risch made their first contribution in https://github.com/deepset-ai/canals/pull/131

**Full Changelog**: https://github.com/deepset-ai/canals/compare/v0.8.1...v0.9.0

0.8.1

What's Changed
* fix default serialization and adjust sample components accordingly by masci in https://github.com/deepset-ai/canals/pull/109
* fix: `draw` function vs init parameters by ZanSara in https://github.com/deepset-ai/canals/pull/115
* Update version to 0.8.1 by ZanSara in https://github.com/deepset-ai/canals/pull/118


**Full Changelog**: https://github.com/deepset-ai/canals/compare/v0.8.0...v0.8.1

0.8.0

What's Changed
* Downgrade log from ERROR to DEBUG by ZanSara in https://github.com/deepset-ai/canals/pull/104
* Make to/from_dict optional by masci in https://github.com/deepset-ai/canals/pull/107
* feat: check returned dictionary by ZanSara in https://github.com/deepset-ai/canals/pull/106

New Contributors
* masci made their first contribution in https://github.com/deepset-ai/canals/pull/107

**Full Changelog**: https://github.com/deepset-ai/canals/compare/v0.7.0...v0.8.0

0.4.0

New release with decorator-based I/O API.

Previous component API:
python
component
class Component:

component.input
def input(self):
class Input:
value: str

return Input

component.output
def output(self):
class Output:
value: int

return Output

def run(self, data):
return self.output(value=data.value)


New component API:

python
component
class Component:

component.output_types(value=int)
def run(self, value: str):
return {"value": value}


What's Changed
* Simplify public interface imports by silvanocerza in https://github.com/deepset-ai/canals/pull/53
* Move draw in pipeline module and clearly define public interface by silvanocerza in https://github.com/deepset-ai/canals/pull/54
* Format pyproject.toml by silvanocerza in https://github.com/deepset-ai/canals/pull/56
* Include only required files in built wheel by silvanocerza in https://github.com/deepset-ai/canals/pull/57
* Move sample components out of tests by silvanocerza in https://github.com/deepset-ai/canals/pull/58
* Decorator based I/O by ZanSara in https://github.com/deepset-ai/canals/pull/60
* Simplify method to get string representation of types by silvanocerza in https://github.com/deepset-ai/canals/pull/63
* Remove Component's I/O type checks at run time by silvanocerza in https://github.com/deepset-ai/canals/pull/64
* Split __canals_io__ field in __canals_input__ and __canals_output__ by silvanocerza in https://github.com/deepset-ai/canals/pull/65
* Add component class factory by silvanocerza in https://github.com/deepset-ai/canals/pull/62
* Fix: slightly reorganize API docs by ZanSara in https://github.com/deepset-ai/canals/pull/66

**Full Changelog**: https://github.com/deepset-ai/canals/compare/v0.3.2...v0.4.0

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.