<#5586 [BUG] flytekit runs the user code during re...
# flytekit
a
#5586 [BUG] flytekit runs the user code during registration Issue created by pingsutw Describe the bug
Copy code
(flyte-conformance) ➜  flyte-conformance git:(actor-in-dynamic) pyflyte -vv run --remote workflow/integration_tests.py my_spark
16:18:55.724615 INFO     __init__.py:67 - We won't register bigquery handler for structured dataset because we can't find the packages google-cloud-bigquery-storage and google-cloud-bigquery            
16:18:55.791410 WARNING  type_engine.py:1343 - Unsupported Type typing.Any found, Flyte will default to use PickleFile as the transport. Pickle can only be used to send objects between the exact same   
                         version of Python, and we strongly recommend to use python type that flyte support.                                                                                              
16:18:56.037417 INFO     utils.py:340 - Translate literal to python value. [Time: 0.000027s]                                                                                                              
16:18:56.037968 INFO     base_task.py:731 - Invoking flytesnacks.examples.basics.basics.workflow.slope with inputs: {'x': [-3, 0, 3], 'y': [7, 4, -2]}                                                    
16:18:56.038488 INFO     utils.py:340 - Execute user level code. [Time: 0.000013s]                                                                                                                        
16:18:56.038837 INFO     utils.py:340 - Translate the output to literals. [Time: 0.000013s]                                                                                                               
16:18:56.039543 INFO     utils.py:340 - Translate literal to python value. [Time: 0.000020s]                                                                                                              
16:18:56.039843 INFO     base_task.py:731 - Invoking flytesnacks.examples.basics.basics.workflow.intercept with inputs: {'x': [-3, 0, 3], 'y': [7, 4, -2], 'slope': -1.5}                                 
16:18:56.040302 INFO     utils.py:340 - Execute user level code. [Time: 0.000009s]                                                                                                                        
16:18:56.040634 INFO     utils.py:340 - Translate the output to literals. [Time: 0.000011s]                                                                                                               
16:18:56.041532 INFO     utils.py:340 - Translate literal to python value. [Time: 0.000017s]                                                                                                              
16:18:56.041850 INFO     base_task.py:731 - Invoking flytesnacks.examples.basics.basics.workflow.slope with inputs: {'x': [-3, 0, 3], 'y': [7, 4, -2]}                                                    
16:18:56.042240 INFO     utils.py:340 - Execute user level code. [Time: 0.000012s]
Expected behavior should not run the user code Additional context to reproduce No response Screenshots No response Are you sure this issue hasn't been raised already? • Yes Have you read the Code of Conduct? • Yes flyteorg/flyte