{"id":26737,"library":"async-lambda-unstable","title":"async-lambda-unstable","description":"A Python framework for creating AWS Lambda Async Workflows. Version 0.6.12 targets the unstable development branch, offering experimental features for building asynchronous Lambda functions with step function orchestration. Release cadence is irregular; breaking changes are frequent.","status":"active","version":"0.6.12","language":"python","source_language":"en","source_url":"https://github.com/marklane/async-lambda-unstable","tags":["aws-lambda","async","step-functions","workflow"],"install":[{"cmd":"pip install async-lambda-unstable","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"AWS SDK for Lambda and Step Functions interactions","package":"boto3","optional":false},{"reason":"Tracing support for Lambda","package":"aws-xray-sdk","optional":true}],"imports":[{"note":"The module name includes '_unstable' suffix; omitting it leads to ModuleNotFoundError.","wrong":"from async_lambda import AsyncLambdaHandler","symbol":"AsyncLambdaHandler","correct":"from async_lambda_unstable import AsyncLambdaHandler"},{"note":"Workflow is a top-level export; using dotted path may fail or import wrong object.","wrong":"from async_lambda.workflow import Workflow","symbol":"Workflow","correct":"from async_lambda_unstable import Workflow"},{"note":"StepFunction is re-exported at package level; submodule import may not exist.","wrong":"from async_lambda_unstable.step_function import StepFunction","symbol":"StepFunction","correct":"from async_lambda_unstable import StepFunction"}],"quickstart":{"code":"from async_lambda_unstable import AsyncLambdaHandler\n\ndef handler(event, context):\n    handler = AsyncLambdaHandler()\n    return handler.run(event)\n","lang":"python","description":"Minimal handler example. Actual workflow definition requires StepFunction and Workflow classes, omitted here for brevity."},"warnings":[{"fix":"Pin exact version in requirements.txt and review changelog before upgrading.","message":"API surface is unstable; major internal refactors occur between minor versions without deprecation.","severity":"breaking","affected_versions":"<0.7.0"},{"fix":"Update calls from `handler.run(event, async_mode=True)` to `handler.run(event)`.","message":"The `run()` method signature changed in 0.5.0: removed `async_mode` parameter.","severity":"deprecated","affected_versions":"0.4.x -> 0.5.0+"},{"fix":"Rewrite workflows using the new `Step` and `Parallel` classes from `async_lambda_unstable.steps`.","message":"Workflow state machine definitions changed in 0.6.0; old definitions cause silent failures.","severity":"gotcha","affected_versions":"<0.6.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `pip install async-lambda-unstable` and ensure import uses underscores: `import async_lambda_unstable`.","cause":"Package not installed or import name misspelled.","error":"ModuleNotFoundError: No module named 'async_lambda_unstable'"},{"fix":"Use `from async_lambda_unstable import AsyncLambdaHandler` or check the package's __init__.py for exports.","cause":"Incorrect import path; symbol may have been renamed or moved.","error":"ImportError: cannot import name 'AsyncLambdaHandler' from 'async_lambda_unstable'"},{"fix":"Remove `async_mode` argument; call `handler.run(event)` instead.","cause":"Using outdated API after upgrade.","error":"TypeError: run() got an unexpected keyword argument 'async_mode'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}