Skip to content

Adding doc in pypi for boto/botocore#242

Merged
palazzem merged 4 commits into
masterfrom
raphael/docs_boto_botocore
Apr 4, 2017
Merged

Adding doc in pypi for boto/botocore#242
palazzem merged 4 commits into
masterfrom
raphael/docs_boto_botocore

Conversation

@raphaelgavache

@raphaelgavache raphaelgavache commented Apr 3, 2017

Copy link
Copy Markdown
Member
  • added descriptions in init
  • compatible versions
  • automodule

Comment thread ddtrace/contrib/boto/__init__.py Outdated
from ddtrace import patch

# If not patched yet, you can patch cassandra specifically
patch(cassandra=True)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why there is a cassandra example here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good question :p

@palazzem palazzem added the docs label Apr 3, 2017
Comment thread ddtrace/contrib/botocore/__init__.py Outdated
patch(botocore=True)

# This will report spans with the default instrumentation
lamb = self.session.create_client('lambda', region_name='us-east-1')

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is that a valid example? what is self in the context of this script? about the name I think you can call it lambda (or simply client) instead of lamb (just because of the meaning).

@palazzem palazzem merged commit c53c2a5 into master Apr 4, 2017
@palazzem palazzem deleted the raphael/docs_boto_botocore branch April 4, 2017 07:43
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.

2 participants