Skip to content

fix: initialization of the client without auth credentials #443

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

Merged
merged 5 commits into from
May 23, 2022

Conversation

bednar
Copy link
Contributor

@bednar bednar commented May 21, 2022

Closes #442

Proposed Changes

Fixed initialisation of the client without auth credentials:

from influxdb_client import InfluxDBClient

client = InfluxDBClient("localhost:8086")

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • pytest tests completes successfully
  • Commit messages are conventional
  • Sign CLA (if not already signed)

@codecov-commenter
Copy link

codecov-commenter commented May 21, 2022

Codecov Report

Merging #443 (5e66a69) into master (1cad3f2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 5e66a69 differs from pull request most recent head 38d19ca. Consider uploading reports for the commit 38d19ca to get more accurate results

@@           Coverage Diff           @@
##           master     #443   +/-   ##
=======================================
  Coverage   89.32%   89.33%           
=======================================
  Files          38       38           
  Lines        3242     3243    +1     
=======================================
+ Hits         2896     2897    +1     
  Misses        346      346           
Impacted Files Coverage Δ
influxdb_client/client/_base.py 98.13% <100.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1cad3f2...38d19ca. Read the comment docs.

@bednar bednar merged commit 712552b into master May 23, 2022
@bednar bednar deleted the fix_without_token branch May 23, 2022 08:33
@bednar bednar added this to the 1.30.0 milestone May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release 1.29.0 broken, AttributeError: 'InfluxDBClient' object has no attribute 'auth_header_value'
3 participants