Commit 69dde64
## Summary
The async `KeyValueStoreClientAsync.create_keys_public_url` assigned
`keys_public_url = urlparse(self._build_url('keys'))` early in the
method, but this value was unconditionally overwritten later by
`urlparse(self._build_url('keys', public=True))`. The sync counterpart
only has the single correct call — this was an asymmetric refactor
artifact.
No behavior change: the second assignment always won. Removing the dead
call eliminates a small wasted `_build_url`/`urlparse` on every call and
removes a latent foot-gun where code inserted between the two
assignments would silently see the non-public URL.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent fdc553e commit 69dde64
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
906 | 906 | | |
907 | 907 | | |
908 | 908 | | |
909 | | - | |
910 | | - | |
911 | 909 | | |
912 | 910 | | |
913 | 911 | | |
| |||
924 | 922 | | |
925 | 923 | | |
926 | 924 | | |
| 925 | + | |
927 | 926 | | |
928 | 927 | | |
929 | 928 | | |
| |||
0 commit comments