Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Conversation

@bunnyc1986
Copy link
Contributor

  1. Updated documents
  2. Included tests
  3. Travis setup

self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Square-Connect-Python/2.0.2'
self.user_agent = 'Swagger-Codegen/2.0.2/python'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ugh, its annoying that this is changing and all the templates use different conventions. I'm going to ask someone if there is a group who can decide on a standard for all codegen languages.

Copy link
Collaborator

@tristansokol tristansokol Mar 4, 2017

Choose a reason for hiding this comment

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

oh wait, this is because we don't explicitly set our user agent in configuration. We should probably add a line like UserAgent: "Square-Connect-Language/X.X.X" to each of our configuration files so that we can keep a handle on them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bunnyc1986 bunnyc1986 requested a review from tristansokol March 10, 2017 22:26
@bunnyc1986 bunnyc1986 merged commit 7d628b3 into master Mar 13, 2017
gkchestertron pushed a commit that referenced this pull request Feb 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants