Merge pull request #81 from cvandeplas/master

Minor documentation clarification
pull/41/head
Alexandre Dulaunoy 2017-01-18 09:48:40 +01:00 committed by GitHub
commit ce26db6712
1 changed files with 1 additions and 1 deletions

View File

@ -1012,7 +1012,7 @@ class PyMISP(object):
# ############## Export Attributes in text #################################### # ############## Export Attributes in text ####################################
def get_all_attributes_txt(self, type_attr): def get_all_attributes_txt(self, type_attr):
"""Get all attributes from a specific type as plain text. Only published and IDS flagged attributes are exported."""
session = self.__prepare_session('txt') session = self.__prepare_session('txt')
url = urljoin(self.root_url, 'attributes/text/download/%s' % type_attr) url = urljoin(self.root_url, 'attributes/text/download/%s' % type_attr)
response = session.get(url) response = session.get(url)