Skip to content

Comments

Rename aconnect to aio_connect#683

Merged
laughingman7743 merged 2 commits intomasterfrom
refactor/rename-aconnect-to-aio-connect
Feb 21, 2026
Merged

Rename aconnect to aio_connect#683
laughingman7743 merged 2 commits intomasterfrom
refactor/rename-aconnect-to-aio-connect

Conversation

@laughingman7743
Copy link
Member

Summary

  • Rename aconnect() to aio_connect() to align with the Aio* prefix convention used by all async classes (AioConnection, AioCursor, AioPandasCursor, etc.)
  • Update all references across source code, documentation, and tests
  • No deprecated alias since aconnect was only introduced in v3.29.0

Test plan

  • make chk passes (lint, format, mypy)
  • CI tests pass
  • Verify documentation renders correctly

🤖 Generated with Claude Code

All async classes use the `Aio` prefix (AioConnection, AioCursor, etc.)
but the factory function used just `a` as prefix. Rename to `aio_connect`
to align with the established naming convention.

No deprecated alias is added since `aconnect` was only introduced in v3.29.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@laughingman7743 laughingman7743 marked this pull request as ready for review February 21, 2026 15:31
@laughingman7743 laughingman7743 merged commit 424d564 into master Feb 21, 2026
15 checks passed
@laughingman7743 laughingman7743 deleted the refactor/rename-aconnect-to-aio-connect branch February 21, 2026 17:16
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.

1 participant