@staticmethod
def _get_pacer_doc_id(row):
    'Take in a row from the attachment table and return the pacer_doc_id\n        for the item in that row. Return None if the ID cannot be found.\n        '
    try:
        url = row.xpath(u'.//a')[0]
    except IndexError:
        return None
    else:
        doc1_url = url.xpath('./@href')[0]
        return get_pacer_doc_id_from_doc1_url(doc1_url)
Take in a row from the attachment table and return the pacer_doc_id
for the item in that row. Return None if the ID cannot be found.
@staticmethod
def _get_pacer_doc_id(row):
    'Take in a row from the attachment table and return the pacer_doc_id\n        for the item in that row. Return None if the ID cannot be found.\n        '
    try:
        url = row.xpath(u'.//a')[0]
    except IndexError:
        return None
    else:
        doc1_url = url.xpath('./@href')[0]
        return get_pacer_doc_id_from_doc1_url(doc1_url)