Skip to content
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

wrong syntax in python MINIO example in docs #780

Open
4 tasks
gespau opened this issue Sep 27, 2024 · 0 comments
Open
4 tasks

wrong syntax in python MINIO example in docs #780

gespau opened this issue Sep 27, 2024 · 0 comments

Comments

@gespau
Copy link

gespau commented Sep 27, 2024

User story

As an sysadmin, I want to add data via a python script so that we can automate data pipelines. I noticed that the syntax in the example is wrong, or at least does not work for me).
It should be:

client = Minio(
    endpoint=endpoint,
    access_key=WIS2BOX_STORAGE_USERNAME,
    secret_key=WIS2BOX_STORAGE_PASSWORD,
    secure=False)

instead of

client = Minio(
    endpoint=endpoint,
    access_key=WIS2BOX_STORAGE_USERNAME,
    secret_key=WIS2BOX_STORAGE_PASSWORD,
    secure=is_secure=False)

see the according section in the docs, in the source of the docs and the official syntax from the official MINIO docs.

  • Ubuntu 22.04.4 LTS
  • Python 3.10.12
  • minio (pip) 7.2.8

Acceptance criteria

  • adapt docs

Definition of done

  • unit/functional tests added/updated
  • documentation updated
  • live demonstration provided
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

No branches or pull requests

1 participant