Skip to content

bug: add method to retreive all metadata for attachments not just ids#38

Closed
aruiz wants to merge 1 commit intopython-bugzilla:masterfrom
aruiz:master
Closed

bug: add method to retreive all metadata for attachments not just ids#38
aruiz wants to merge 1 commit intopython-bugzilla:masterfrom
aruiz:master

Conversation

@aruiz
Copy link

@aruiz aruiz commented May 5, 2017

No description provided.

@crobinso
Copy link
Member

crobinso commented May 9, 2017

Thanks for the patch. I pushed a change that went in a slightly different direction:

  • Adds a get_attachments function to class Bugzilla, which is a wrapper around XMLRPC Bug.attachments
  • Adds a get_attachments function to class Bug, which is a convenience wrapper around Bugzilla.get_attachments

So to do the equivalent of get_attachments_metadata, do bug.get_attachments(exclude_fields=["data"])

@crobinso crobinso closed this May 9, 2017
@aruiz
Copy link
Author

aruiz commented May 9, 2017

Thanks!

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