Skip to content

Change method for getting content of snippet - #484

Merged
gpocentek merged 2 commits into
python-gitlab:masterfrom
matusf:docs-example-raises-attribute-error
May 10, 2018
Merged

Change method for getting content of snippet#484
gpocentek merged 2 commits into
python-gitlab:masterfrom
matusf:docs-example-raises-attribute-error

Conversation

@matusf

@matusf matusf commented Apr 13, 2018

Copy link
Copy Markdown
Contributor

There is an example in snippet section of the docs (get content) that raises AttributeError. The raw method was supported in APIv3. Maybe the example should use APIv4 method.

@gpocentek

Copy link
Copy Markdown
Contributor

Thanks for this PR @matusf

Could you update your change to have both v3 and v4 examples? v3 is still used so the documentation should still exist.

@matusf

matusf commented Apr 28, 2018

Copy link
Copy Markdown
Contributor Author

Sure, sorry for the delay

@gpocentek
gpocentek merged commit 85f2388 into python-gitlab:master May 10, 2018
@gpocentek

Copy link
Copy Markdown
Contributor

Thank you!

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