Joe Schmid
12/04/2019, 3:18 PMBen Doremus
12/12/2019, 8:51 PMMark McDonald
12/18/2019, 2:04 AMBraun Reyes
12/26/2019, 10:51 PMJeremiah
Jeremiah
rich
01/13/2020, 2:47 PMVitor Avancini
01/14/2020, 9:06 PMChris Eberly
01/15/2020, 4:14 AMBraun Reyes
01/29/2020, 3:19 PMAiden Price
01/30/2020, 12:45 AMAlex Cano
02/02/2020, 12:20 AMquery {
flow {
name
task {
slug
}
}
}
vs
query {
flow {
name
}
}
Zachary Hughes
02/02/2020, 12:33 AMpytest.mark.parametrize
is definitely our friend)
TL;DR Test that fields are being surfaced as expected, test object relationships, and test permissions. Happy to go deeper/broader if you'd like (we have an inordinate number of tests), but these were the items I found most useful when starting out with GraphQL.bardovv
03/18/2020, 6:57 PMAlex Cano
03/25/2020, 8:10 PMitay livni
03/26/2020, 4:05 AMUserWarning: DEPRECATED: the result_handler Task option will be deprecated in 0.11.0, and removed in 0.12.0, in favor of the `result` option instead.
UserWarning,
Armin
03/27/2020, 8:50 AMclass SomeTask(Task):
def __init__(self, **kwargs):
super().__init__(**kwargs)
# SomeTask specific init code
def run(self, input):
output = process(input)
return output
And flow:
some_task = SomeTask(checkpoint=True, output_handler=LocalResultHandler(dir=cache_location))
def some_flow():
with Flow():
output_handler(input)
if __name__ == '__main__':
some_flow()
The cache_location
remains empty and on multiple runs of the flow (with same input to some_task
) the result is recomputed every time. Could somebody please suggest what am I missing?Zach
04/01/2020, 4:20 PMThoth Jedi
04/03/2020, 12:37 AMconda install
and now getting this No such file or directory: 'docker-compose'
for prefect server
.ocet
04/07/2020, 7:37 PMAlex Cano
04/07/2020, 9:00 PMKostas Chalikias
04/08/2020, 10:25 AMLaura Lorenz (she/her)
04/08/2020, 1:51 PMLeo Meyerovich (Graphistry)
04/08/2020, 3:59 PMAlex Cano
04/08/2020, 4:13 PMAn Hoang
04/13/2020, 4:15 PMdf_B
is obtained from df_A
by passing it through some function A_to_B_func()
. df_D
is made by merging df_B
with df_C
etc.
If it’s a complex function, yes we can write prefect Tasks to visualize it, but usually it’s an aggregate of small pandas functions and merge, so it would be a pain to wrap each of those into its own prefect task. Maybe I would need to write a complex context manager/decorator or a meta class wrapper around dataframe to record these operations automatically into a prefect task graph? Sorry the idea is not so clear in my head right now…Leo Meyerovich (Graphistry)
04/13/2020, 5:08 PMLeo Meyerovich (Graphistry)
04/13/2020, 5:08 PMLashwin
04/16/2020, 12:13 AMJacob Blanco
04/16/2020, 1:22 PM__file__
and "navigate" from there, but I feel like that's not the right way.