Skip to content

Missing Type Hints #622

@hf-kklein

Description

@hf-kklein

Proposal:

  • There should be type hints in this library.
  • The type hints shall be available to users of the library.

Current behavior:

  • There are no type hints.
  • When type checking my own code with mypy, I get the error message:

error: Skipping analyzing "influxdb_client": module is installed, but missing library stubs or py.typed marker [import-untyped]

Desired behavior:

  • There shall be type hints in the code, especially in the user facing signatures.
  • there shall be a py.typed file that is contained in the package (see PEP 561).

Alternatives considered:
None that I know of.

Use case:

  • Better developer experience
  • Type checks in code using this client (aka "Compile" time safety)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions