Skip to content

Incompatibility between documentation and source code #276

@buraketmen

Description

@buraketmen

Expected behavior:

For the same version (1.18.0), I was expecting the source code on Github and pypi to be the same as on my own computer.

Actual behavior:

When I download the current latest version 1.18.0, I see that there is an incompatibility between the documentation and the source code. I thought it might be because of the old version, I cleared the pip cache and downloaded it with --no-cache-dir but it didn't solve my problem. For example, the create_bucket function in BucketApi differs, so I cannot create a bucket without using org_id via python.

  • The pypi version of the create_bucket function in the BucketApi class.

def create_bucket(self, bucket=None, bucket_name=None, org_id=None, retention_rules=None, description=None, org=None) -> Bucket:

  • On my computer

def create_bucket(self, bucket=None, bucket_name=None, org_id=None, retention_rules=None, description=None) -> Bucket:

Specifications:

  • Client Version: 1.18.0
  • InfluxDB Version: 2.0.7
  • Platform: Windows 10

If it's my problem, which I don't think it is, can you tell me how I can solve this problem?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions