Commit b09a5a3
Promote parse_address to public API; fix _check_in_use docstring
The _parse_address helper was the canonical "host:port" parser for
DqliteConnection but lived under a leading-underscore name; cycle
20's URL pre-validator and the dbapi entry-points imported it
directly across package boundaries, re-introducing the cross-package
private-API drift the project's import discipline was designed to
discourage.
Promote parse_address to public; keep the leading-underscore alias
for backwards compatibility. Update the dbapi sync + async entry-
points and the SA URL pre-validator to import the public name.
Also align the _check_in_use docstring with the four guards the
function performs (cycle 20 added the fork-pid check; the docstring
still listed three).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 59755ea commit b09a5a3
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
665 | | - | |
| 665 | + | |
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
672 | 678 | | |
673 | 679 | | |
674 | 680 | | |
| |||
760 | 766 | | |
761 | 767 | | |
762 | 768 | | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
763 | 775 | | |
764 | 776 | | |
765 | 777 | | |
| |||
0 commit comments