Skip to content

Conversation

@ianardee
Copy link
Contributor

PR Details

Add a User-Agent header with SDK and Python versions, and platform.

Description

Add a new file versions.py allowing retrieving this info.

Motivation and Context

Having this info allows us to better serve our API users by letting us know which versions are in use.

How Has This Been Tested

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@ianardee ianardee marked this pull request as ready for review January 13, 2022 13:05
Copy link
Contributor

@jonathanMindee jonathanMindee left a comment

Choose a reason for hiding this comment

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

LGTM

@ianardee ianardee merged commit 4827964 into main Jan 13, 2022
@ianardee ianardee deleted the add-version-header branch January 13, 2022 13:19
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.

3 participants