influxdata / influxdata/influxdb-client-python

Rename `Point` to `Points`

Open
#567 0 comments 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:__
According to [Point definition](https://docs.influxdata.com/influxdb/v2.6/reference/key-concepts/data-elements/#point), `Point` has only one field. However, `influxdb-client-python` allows `Point` class to has fields, like so:
https://github.com/influxdata/influxdb-client-python/blob/854fc6c9d844ca4ea801529af5e34c4efaed9df2/tests/test_point.py#L71-L94

So, I think that we should rename `Point` class to `Points` class.

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 referenced tests/test_point.py lines 71-94 and review the linked InfluxDB Point definition. Search the client for uses of the Point class and determine the full impact of renaming it to Points. Done means the public class name and its references are consistently updated and the affected tests pass.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.