Skip to content
New issue

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

Add examples for searching repositories (#874) #918

Merged
merged 1 commit into from
Oct 8, 2018

Conversation

vishalsodani
Copy link
Contributor

No description provided.

... print(repo.html_url)
...
https://github.com/vinta/awesome-python
Copy link
Member

Choose a reason for hiding this comment

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

To have a consistent format, maybe you can just print(repo) instead, and let the repr() do its job?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sfdye ok. My thinking was that as a user I would want to have the full repo urls.

Copy link
Member

Choose a reason for hiding this comment

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

Got it. As a getting-started guide, we try to make it as generic as possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sfdye Done.

... print(repo.html_url)
...
'https://github.com/aws-amplify/amplify-js'
Copy link
Member

Choose a reason for hiding this comment

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

Same here, print(repo) should be enough

@sfdye sfdye merged commit 8f4f40e into PyGithub:master Oct 8, 2018
candrikos pushed a commit to candrikos/PyGithub that referenced this pull request Sep 25, 2020
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.

None yet

2 participants