Pyungo

Latest version: v0.9.0

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

Scan your dependencies

Page 2 of 2

0.4.0

1. Fix single output when dealing with iterables
Previously, returning one output with an iterable was resulting in taking the first element. See 4 and 6.
2. Possible to use kwargs in functions
Args and kwargs can be used in functions, see 3.
python
graph.register(
inputs=['a', 'b'],
args=['c'],
kwargs=['d'],
outputs=['e']
)
def f_my_function(a, b, *args, **kwargs):
return a + b + args[0] + kwargs['d']

3. Can create a Node without using the decorator, 2
python
graph.add_node(f_my_function, inputs=['a', 'b'], outputs=['c'])

4. Dag pretty print, 1
Use `graph.dag`

0.3.0

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.