add human estimation conditions
This commit is contained in:
parent
735ccb757c
commit
c8e6474edd
3 changed files with 103 additions and 57 deletions
2
src/cache/drug_cache.py
vendored
2
src/cache/drug_cache.py
vendored
|
|
@ -135,5 +135,5 @@ async def fetch_drug_with_dosage(drug_name: str, dosage: float) -> DrugFull | No
|
|||
if drug_full:
|
||||
return drug_full
|
||||
|
||||
raise Exception(f"Drug {drug_name} with dosage {dosage} not found")
|
||||
return None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue