Commit f7d8fd2
committed
feat: export __version__ from package root
- Re-export __version__ from __about__ module at package level
- Add __version__ to __all__ for explicit public API declaration
- Add test to verify __version__ is accessible
Enables the standard Python version access pattern:
import aws_durable_execution_sdk_python
print(aws_durable_execution_sdk_python.__version__)
This follows the convention used by boto3, botocore, and AWS Lambda
Powertools, allowing users to access version information without
knowledge of internal module structure.1 parent 6ac4feb commit f7d8fd2
2 files changed
Lines changed: 13 additions & 0 deletions
File tree
- src/aws_durable_execution_sdk_python
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments