• k

    Kevin Hill

    2 years ago
    IRL, I'd expect that loop wouldn't be there, but for training online machine learning algorithms it would be
  • a

    alvin goh

    2 years ago
    what's the difference between caching all_parameters in all_inputs??
    a
    Chris White
    2 replies
    Copy to Clipboard
  • a

    alvin goh

    2 years ago
    So here's a use case that i'm having trouble with... I have a flask server running with waitress, and i want to run a prefect flow whenever i receive a request. At the same time, i want to enable caching in the prefect flow, which does not work IF i run waitress on more than 1 thread (seems like cache is local to the thread memory...), requests only hit the cache if it goes to the same worker thread. Is there a way to let the workers on different thread share the same cache? I'm not entirely sure what happens when waitress spawns threads...
    a
    Jenny
    2 replies
    Copy to Clipboard
  • d

    DiffyBron

    2 years ago
    how do you do flow.run(value=5) and only show the output instead of all the flow states?
    d
    Jenny
    +2
    22 replies
    Copy to Clipboard
  • d

    DiffyBron

    2 years ago
    hello, i'm trying to run a shell and it seems that it only outputs one line when i perform 'ls -lat' is that an expected behavior? (I've taken bits and pieces from here : https://github.com/PrefectHQ/prefect/issues/1013
    from prefect import Flow, task
    from prefect.tasks.shell import ShellTask
    
    my_task = ShellTask(helper_script="cd /etc")
    
    @task
    def print_output(output):
      print(output)
    
    with Flow("My shell") as flow:
      result = my_task(command='ls -lat')
      print_output(result)
    
    if __name__ == '__main__':
        out = flow.run()
    d
    Chris White
    2 replies
    Copy to Clipboard
  • n

    Nat Busa

    2 years ago
    Chaining tasks with no input: how to do that?
    n
    3 replies
    Copy to Clipboard
  • m

    Mihai H

    2 years ago
    Hi there!
  • m

    Mihai H

    2 years ago
    We are a startup from Netherlands that is currently evaluating different workflow engines
  • m

    Mihai H

    2 years ago
    Prefect seems really interesting to us and it seems that it overcomes some of Airflow limitations
  • m

    Mihai H

    2 years ago
    But I do have some quick questions for the time being.
    m
    1 replies
    Copy to Clipboard