Skip to content

Commit

Permalink
Switch to typing.List from list
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Dec 17, 2024
1 parent 674e043 commit 4b8ca76
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/indra_cogex/client/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,7 @@ def get_cell_types_for_marker(
@autoclient()
def is_marker_for_cell_type(
marker: Tuple[str, str], cell_type: Tuple[str, str], *, client: Neo4jClient
) -> list[Any]:
) -> List[Any]:
"""Return True if the marker is associated with the given cell type.
Parameters
Expand Down Expand Up @@ -1935,7 +1935,7 @@ def get_diseases_for_phenotype(
@autoclient()
def has_phenotype(
disease: Tuple[str, str], phenotype: Tuple[str, str], *, client: Neo4jClient
) -> list[Any]:
) -> List[Any]:
"""Return True if the disease has the given phenotype.
Parameters
Expand Down Expand Up @@ -2098,7 +2098,7 @@ def get_journals_for_publisher(
@autoclient()
def is_journal_published_by(
journal: Tuple[str, str], publisher: Tuple[str, str], *, client: Neo4jClient
) -> list[Any]:
) -> List[Any]:
"""Check if a journal is published by a specific publisher.
Parameters
Expand Down Expand Up @@ -2826,7 +2826,7 @@ def get_molecules_for_indication(
@autoclient()
def has_indication(
molecule: Tuple[str, str], indication: Tuple[str, str], *, client: Neo4jClient
) -> list[Any]:
) -> List[Any]:
"""Check if a molecule is associated with an indication in ChEMBL data.
Parameters
Expand Down Expand Up @@ -2883,7 +2883,7 @@ def get_codependents_for_gene(
@autoclient()
def has_codependency(
gene1: Tuple[str, str], gene2: Tuple[str, str], *, client: Neo4jClient
) -> list[Any]:
) -> List[Any]:
"""Check if two genes are codependent according to DepMap data.
Parameters
Expand Down

0 comments on commit 4b8ca76

Please sign in to comment.