Commit 8f08252
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.
Co-authored-by: thomas <18520168+yaythomas@users.noreply.github.com>1 parent af063e6 commit 8f08252
File tree
2 files changed
+13
-0
lines changed- src/aws_durable_execution_sdk_python
- tests
2 files changed
+13
-0
lines changed| 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