We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe.
I would like to replace the default boto3 powertools client and provide my own boto3 session to record local calls using Placebo
Describe the solution you'd like
For example, here's how you could inject a Placebo client for local tests:
import placebo import boto3 from aws_lambda_powertools.utilities import Parameters session = boto3.Session() pill = placebo.attach(session, data_path=PLACEBO_PATH) pill.playback() client = session.client('appconfig') Parameters.set_boto3_client(client)
something like this...?
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue here! We'll come back to you as soon as we can.
Sorry, something went wrong.
This is now available as part of 1.21.0 release: https://github.com/awslabs/aws-lambda-powertools-python/releases/tag/v1.21.0
We've added others besides the parameters utility ;)
Legends!
to-mc
No branches or pull requests
Is your feature request related to a problem? Please describe.
I would like to replace the default boto3 powertools client and provide my own boto3 session to record local calls using Placebo
Describe the solution you'd like
For example, here's how you could inject a Placebo client for local tests:
something like this...?
The text was updated successfully, but these errors were encountered: