Skip to content

Docs: database in, bucket out? #143

Open
@scaleoutsean

Description

@scaleoutsean

Use Case

From README.md:

Use bucket name for the database argument.

That could be worded better.

Coming from v1 and requests, I've probably seen it and didn't register because it wasn't telling me anything.

But I've found out today after 30 minutes of troubleshooting, thinking it's my point data (which contained the string bucket)).

I'd rather suggest to not use bucket and move on. If the word must keep appearing in this docs (e.g. it's used throughout the code, and not just the docs), then maybe improve or emphasize that tip.

Expected behavior

database is used for database names.

Actual behavior

I had the string bucket in my data, and the error confused the heck out of me.

TypeError: influxdb_client_3.write_client.client.write_api.WriteApi.write() got multiple values for keyword argument 'bucket'

Additional info

No response

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions