Jeff Rose
Nate
» ipython #[1] from prefect import flow #[2] @flow def foo(x: int, y: str, z: bool = False): ... #[3] foo.parameters Out[3]: ParameterSchema(title='Parameters', type='object', properties={'x': {'position': 0, 'title': 'x', 'type': 'integer'}, 'y': {'position': 1, 'title': 'y', 'type': 'string'}, 'z': {'default': False, 'position': 2, 'title': 'z', 'type': 'boolean'}}, required=['x', 'y'], definitions={}) #[4] import inspect #[5] inspect.signature(foo) Out[5]: <Signature (x: int, y: str, z: bool = False)>
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.