Skip to content

Conversation

@SprGrf
Copy link
Contributor

@SprGrf SprGrf commented Nov 27, 2025

Description

Small fixes in the README that I noticed. More of a draft, if you notice there is something else to fix, we can probably squeeze it here.

Review guidelines

Estimated Time of Review: x5minutes

Checklist before merging:

  • Confirm that the relevant changelog(s) are up-to-date in case of any user-facing changes

@SprGrf SprGrf requested a review from eeberhard as a code owner November 27, 2025 15:39
@SprGrf SprGrf changed the title fix: README python: update REAMDE Nov 27, 2025
@SprGrf SprGrf changed the title python: update REAMDE python: update README Nov 27, 2025
python/README.md Outdated

# connect to a non-default port on the local network
aica = AICA(port=55000)
aica = AICA(url='http://localhost:55005/api')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well if anything, this constructor should also do the api_key= which has become mandatory in v4 of the api client.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then we should add it in every AICA() call from there to the top? If yes, shouldn't we just move the Authentication section on top, even maybe before Basic Usage?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes that might be a good thing to do now that it has become required. We could then mention that this was not always the case instead of the other way around

python/README.md Outdated

# connect to a non-default port on the local network
aica = AICA(url='http://localhost:55005/api')
aica = AICA(url='http://localhost:55005/api', api_key=AICA_API_KEY)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you switch the arguments around here please, even though not striclty required

@domire8 domire8 requested a review from LouisBrunner December 1, 2025 15:01
Copy link
Member

@domire8 domire8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me but happy for at least one other review 👍 thanks

@SprGrf SprGrf merged commit e3426cd into main Dec 2, 2025
1 check passed
@SprGrf SprGrf deleted the fix/python-api-readme branch December 2, 2025 08:11
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.

5 participants