Skip to content

Commit

Permalink
Remove Literal typing
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Aug 30, 2023
1 parent 44bded9 commit 7877aa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indra/literature/pubmed_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import logging
import requests
from time import sleep
from typing import List, Literal
from typing import List
from functools import lru_cache
import xml.etree.ElementTree as ET
from indra.util import UnicodeXMLTreeBuilder as UTB
Expand Down Expand Up @@ -331,7 +331,7 @@ def _get_issue_info(journal: ET.Element):

def get_issn_info(
medline_citation: ET.Element,
get_issns_from_nlm: Literal["never", "missing", "always"] = "never"
get_issns_from_nlm: str = "never"
):
"""Given a medline citation, get the issn info from the article
Expand Down

0 comments on commit 7877aa1

Please sign in to comment.