influxdata / influxdata/influxdb-client-python

Support creating tasks that reference invokable scripts

Open
#582 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
793
Forks
186
Avg merge
3h 2m
Merged PRs (30d)
1

Description

Proposal:
The python client should allow users to create tasks that reference scripts, see https://docs.influxdata.com/influxdb/cloud/process-data/manage-tasks/create-task/#create-a-task-that-references-a-script

Current behavior:
It is not possible to create tasks that reference invokable scripts.

Desired behavior:
It should be possible to create tasks that reference invokable scripts. This is already supported by InfluxDB Cloud, the python client just needs updated to support doing so.

Alternatives considered:
The alternative is to use a HTTP client directly (I dno what the status of this is in other, non-python clients, but I need to use python.)

Use case:
There are various resources published online by the Influx people about how and why to use invokable scripts and how these can be utilized from tasks (amongst other resources), so it would be good if the official python client was capable of supporting this.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked InfluxDB Cloud documentation for creating a task that references an invokable script, then trace the Python client's task-creation API. The work is complete when the client can create tasks referencing invokable scripts, with coverage for that request shape.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.