acoustic-carpenter-78188
07/06/2023, 2:31 PMSQLite3Task.
For example running the following task:
QUERY = "SELECT species, bill_length_mm, bill_depth_mm, flipper_length_mm, body_mass_g FROM penguins"
get_data = SQLite3Task(
name="get_penguins_data",
query_template=QUERY,
output_schema_type=PenquinsDataset,
task_config=SQLite3Config(
uri="<https://datasette-seaborn-demo.datasette.io/penguins.db>"
),
)
Produces an error:
[1/1] currentAttempt done. Last Error: USER::� │
│ /usr/local/lib/python3.9/site-packages/flytekit/exceptions/scopes.py:160 in │
│ system_entry_point │
│ │
│ ❱ 160 │ │ │ │ return wrapped(*args, **kwargs) │
│ │
│ /usr/local/lib/python3.9/site-packages/flytekit/bin/entrypoint.py:362 in │
│ _execute_task │
│ │
│ ❱ 362 │ │ _handle_annotated_task(ctx, _task_def, inputs, output_prefix) │
│ │
│ /usr/local/lib/python3.9/site-packages/flytekit/bin/entrypoint.py:304 in │
│ _handle_annotated_task │
│ │
│ ❱ 304 │ _dispatch_execute(ctx, task_def, inputs, output_prefix) │
│ │
│ /usr/local/lib/python3.9/site-packages/flytekit/bin/entrypoint.py:163 in │
│ _dispatch_execute │
│ │
│ ❱ 163 │ if not task_def.disable_deck: │
╰──────────────────────────────────────────────────────────────────────────────╯
AttributeError: 'ExecutableTemplateShimTask' object has no attribute
'disable_deck'
Expected behavior
The ExecutableTemplateShimTask class doesn't have a disable_deck attribute.
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/flyteacoustic-carpenter-78188
07/06/2023, 6:27 PM