Chet Lemon
04/05/2021, 7:06 PM{Solid,CompositeSolid,Pipeline}ExecutionResult
objects and solids are contained as attributes in these
simple example:
import pickle
import dagster
@dagster.solid
def test(context):
pass
with open('/home/chet/data/testpickle.pkl', 'w') as p:
pickle.dump(test, p)
---------------------------------------------------------------------------
PicklingError Traceback (most recent call last)
<ipython-input-45-e900432760d1> in <module>
13
14 with open('/home/chet/data/testpickle.pkl', 'w') as p:
---> 15 pickle.dump(test, p)
16
17
PicklingError: Can't pickle <function test at 0x7f9bf70ab9d8>: it's not the same object as __main__.test
adamd
04/05/2021, 7:22 PMalex
04/05/2021, 7:43 PMChet Lemon
04/05/2021, 7:59 PMalex
04/05/2021, 8:33 PMDagsterInstance
then could just interact with the instance to investigate results.
Assuming you know what information you want off of the result object, you could make your own serializable object from stuff fetched off of the result. The event_list
property should be serializable for example.Chet Lemon
04/07/2021, 4:10 PM