aws / aws/bedrock-agentcore-sdk-python
bug: missing IDE autocomplete for passthrough methods.
Open
- Dominant language
- Python
- Stars
- 761
- Forks
- 147
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 7
Description
**Describe the bug**
IDE autocompletion does not work for passthrough methods.
**To Reproduce**
Install the SDK and attempt to get autocompletes in any IDE for `MemoryClient`.
**Expected behavior**
proper auto completes.
**Additional Context**
This is because the passthrough methods leverage python `__getattr__` to directly proxy to the boto client. The static analysis done by IDEs is not able to pick this up, resulting in missing autocompletes.
One potential solution could be to generate `.pyi` and ship them as part of the SDK.
Contributor guide
Assessment
This issue has not been assessed yet.