Skip to content

Commit bcfd19f

Browse files
manual merge
2 parents b4bebc6 + 07594e7 commit bcfd19f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,9 @@ async def data_dictionary():
209209
@app.get("/lookup_tables", responses={200: {"content": {"text/plain": {}}}}, response_class=StreamingResponse)
210210
async def lookup_tables(lookup_type: str = Query("location"
211211
, description='Type of lookup table.'
212-
, enum=["location", "disease", "sex", "canmod-disease-lookup", "canmod-location-lookup", "phac-to-canmod-disease-lookup"]
212+
, enum=["location", "disease", "sex", "canmod-disease-lookup", "canmod-location-lookup", "phac-to-canmod-disease-lookup", "lbom-cause-lookup"]
213213
)):
214-
available_lookup_types = ["location", "disease", "sex", "canmod-disease-lookup", "canmod-location-lookup", "phac-to-canmod-disease-lookup"]
214+
available_lookup_types = ["location", "disease", "sex", "canmod-disease-lookup", "canmod-location-lookup", "phac-to-canmod-disease-lookup", "lbom-cause-lookup"]
215215
if lookup_type not in available_lookup_types:
216216
raise HTTPException(
217217
status_code=400, detail=f"'{lookup_type}' is not a valid resource_type. Available values are {available_lookup_types}")

0 commit comments

Comments
 (0)