You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nothing major, just a small annoyance that often the task runner plugin docs takes precedence when it shouldn't. To reproduce, try to navigate to any script plugin property defined after task runner -- instead of seeing script plugin docs, you'll see task runner docs.
reproducer - navigate the cursor to script or commands and open plugin docs. You'll see task runner docs even though you expect to see dbt or python docs:
id: dwh_and_analyticsnamespace: tutorialtasks:
- id: dbttype: io.kestra.plugin.core.flow.WorkingDirectorytasks:
- id: clone_repositorytype: io.kestra.plugin.git.Cloneurl: https://github.com/kestra-io/dbt-demobranch: main
- id: dbt_buildtype: io.kestra.plugin.dbt.cli.DbtCLItaskRunner:
type: io.kestra.plugin.scripts.runner.docker.DockercontainerImage: ghcr.io/kestra-io/dbt-duckdb:latestcommands:
- dbt deps
- dbt buildprofiles: | jaffle_shop: outputs: dev: type: duckdb path: dbt.duckdb extensions: - parquet fixed_retries: 1 threads: 16 timeout_seconds: 300 target: dev
- id: pythontype: io.kestra.plugin.scripts.python.ScriptoutputFiles:
- "*.csv"taskRunner:
type: io.kestra.plugin.scripts.runner.docker.DockercontainerImage: ghcr.io/kestra-io/duckdb:latestscript: > import duckdb import pandas as pd conn = duckdb.connect(database='dbt.duckdb', read_only=False) tables_query = "SELECT table_name FROM information_schema.tables WHERE table_schema = 'main';" tables = conn.execute(tables_query).fetchall() # Export each table to CSV, excluding tables that start with 'raw' or 'stg' for table_name in tables: table_name = table_name[0] # Skip tables with names starting with 'raw' or 'stg' if not table_name.startswith('raw') and not table_name.startswith('stg'): query = f"SELECT * FROM {table_name}" df = conn.execute(query).fetchdf() df.to_csv(f"{table_name}.csv", index=False) conn.close()
The text was updated successfully, but these errors were encountered:
Issue description
Nothing major, just a small annoyance that often the task runner plugin docs takes precedence when it shouldn't. To reproduce, try to navigate to any script plugin property defined after task runner -- instead of seeing script plugin docs, you'll see task runner docs.
Demo https://share.descript.com/view/p5dGR4nODx7
reproducer - navigate the cursor to script or commands and open plugin docs. You'll see task runner docs even though you expect to see dbt or python docs:
The text was updated successfully, but these errors were encountered: