Skip to content

Commit

Permalink
feat: expose partial_lookup
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm committed Nov 23, 2023
1 parent 0073b37 commit a418380
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deepsearch/chemistry/queries/molecules.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def MoleculeQuery(
def MoleculesInPatentsQuery(
patents: Union[str, List[str]],
num_items: int = 10,
partial_lookup: bool = False,
) -> Query:
"""
List all molecules contained in a list of patents.
Expand All @@ -117,6 +118,7 @@ def MoleculesInPatentsQuery(
for v in patents
]
},
"partial_references": partial_lookup,
"limit": num_items,
},
coordinates=KnowledgeDbResource(),
Expand Down

0 comments on commit a418380

Please sign in to comment.