<#1655 feat: boto3 connector> Pull request opened ...
# meltano-repo-activity
g
#1655 feat: boto3 connector Pull request opened by pnadolny13 Closes #1651 • Adds a boto3 connector for simplifying the interface between taps and boto3. Providing default config options to inject into the tap then using those to authenticate with boto3 in all the variations that are common e.g. using config keys, env vars, local profiles, assuming roles, overriding endpoint urls, etc. There might be more ways that I'm missing but this would give us a consistent mechanism to add them to all taps/targets that want to use boto3. • Includes tests that all passed for me locally. I needed to add moto in the dev group for poetry. • I didnt install any new dependency to the SDK itself though because boto3 isnt always needed. I have the boto3 import statement raise an error telling the user to install boto3 in their connector implementation project. • I wanted to add docs to explain how to inject the default configs like I did in https://github.com/MeltanoLabs/tap-dynamodb/blob/6d1e2a17ff9c7a6e84704d7ae7e74e15f8ef70de/tap_dynamodb/tap.py#L60. Or if theres a better way. But I didnt know the best place for them and I had trouble getting even the class docs added locally. I'm seeing similar errors in the CI tests as well. Any suggestions? • tested using this feature branch in tap-dynamodb and everything worked as expected https://github.com/MeltanoLabs/tap-dynamodb/blob/use_sdk_boto_connector/tap_dynamodb/dynamodb_connector.py @edgarrmondragon I see in #1649 that you're working on a base connector implementation. I'm happy to refactor this to match that structure once its ready. --- 📚 Documentation preview 📚: https://meltano-sdk--1655.org.readthedocs.build/en/1655/ meltano/sdk