Skip to content

Conversation

@Iamrodos
Copy link

@Iamrodos Iamrodos commented Feb 4, 2026

Issue #, if available:

N/A

Description of changes:

Re-export __version__ from __about__ module at package level and
add it to __all__ for explicit public API declaration.

This enables the standard Python version access pattern:

import aws_durable_execution_sdk_python
print(aws_durable_execution_sdk_python.__version__)

Currently, users must know about the internal __about__ submodule:

from aws_durable_execution_sdk_python.__about__ import __version__

This change aligns with the convention used by:

  • boto3
  • botocore
  • AWS Lambda Powertools

A test has been added to durable_executions_python_language_sdk_test.py
to verify __version__ is accessible from the package root.

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.

- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant