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
Since this library sits on top of boto3, it makes it really easy to integrate it with DAX.
https://pypi.org/project/amazon-dax-client/
On instantiation, perhaps in resource_kwargs, we should have an option for dax_endpoint_url, which, if set, would return a DAX client instance.
resource_kwargs
dax_endpoint_url
Over here, we just add something like:
if `dax_endpoint_url` in resource_kwargs: return AmazonDaxClient.resource(endpoint_url=resource_kwargs['dax_endpoint_url'])
and import the DAX client library at the top of the file.
Everything else remains the same. The calls are automatically mapped to DAX. The one caveat being:
The Amazon DAX client does not support table operations. Any table manipulation operations must use the regular Boto3 or botocore DynamoDB client.
So in our table operations method, we'd need to check if we're using DAX or not, and raise an error accordingly.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Since this library sits on top of boto3, it makes it really easy to integrate it with DAX.
https://pypi.org/project/amazon-dax-client/
On instantiation, perhaps in
resource_kwargs
, we should have an option fordax_endpoint_url
, which, if set, would return a DAX client instance.Example:
Over here, we just add something like:
and import the DAX client library at the top of the file.
Everything else remains the same. The calls are automatically mapped to DAX. The one caveat being:
So in our table operations method, we'd need to check if we're using DAX or not, and raise an error accordingly.
The text was updated successfully, but these errors were encountered: