Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search tasks are returning ions one after the other making it impossible to query the attributes #21

Open
shrutimantri opened this issue Aug 21, 2024 · 0 comments
Labels
area/plugin Plugin-related issue or feature request bug Something isn't working good first issue Great issue for new contributors

Comments

@shrutimantri
Copy link
Contributor

Expected Behavior

The result of the search task should be queryable via Pebble expression.

Actual Behaviour

The Github Repos Search task is giving out result as follows:

{name:"superset",description:"Apache Superset is a Data Visualization and Data Exploration Platform",owner:null,updated:2024-08-21T03:15:07.000Z,created:2015-07-21T18:55:34.000Z,language:"TypeScript",full_name:"apache/superset",url:"https://github.com/apache/superset",task_count:13346,stars_count:61278,pull_request_count:0,issues_count:934}
{name:"echarts",description:"Apache ECharts is a powerful, interactive charting and data visualization library for browser",owner:null,updated:2024-08-21T03:00:22.000Z,created:2013-04-03T03:18:59.000Z,language:"TypeScript",full_name:"apache/echarts",url:"https://github.com/apache/echarts",task_count:19590,stars_count:59968,pull_request_count:0,issues_count:2210}

I am unable to query the name from these results. Lets say I want only the list of repository names:

superset
echarts

I am unable to get it using the Pebble expression.
I am not sure if it is the problem with the result output, or I am unable to get the correct Pebble expression to extract the names.

Steps To Reproduce

  1. Use the example flow to get the Github Repos Search result.
  2. Try to extract the names from the result. I am unable to do it.

Environment Information

  • Kestra Version: 0.18.1
  • Plugin version: 0.18.1
  • Operating System (OS / Docker / Kubernetes): Docker
  • Java Version (If not docker):

Example flow

id: github_repos
namespace: company.team
tasks:
  - id: top_apache_repos_java
    type: io.kestra.plugin.github.repositories.Search
    query: "org:apache stars:>10000"
    language: java
    visibility: PUBLIC
    sort: STARS
    order: DESC
@shrutimantri shrutimantri added the bug Something isn't working label Aug 21, 2024
@kestrabot kestrabot bot added this to Issues Aug 21, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Issues Aug 21, 2024
@anna-geller anna-geller added the area/plugin Plugin-related issue or feature request label Aug 25, 2024
@anna-geller anna-geller added the good first issue Great issue for new contributors label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugin Plugin-related issue or feature request bug Something isn't working good first issue Great issue for new contributors
Projects
Status: Backlog
Development

No branches or pull requests

2 participants