Commit 9dec8612 authored by fabian serin's avatar fabian serin
Browse files

fix name mismatch

parent 14d4dede
Pipeline #60005 failed with stages
in 6 minutes and 11 seconds
...@@ -61,7 +61,7 @@ async def query_trajectories_bywellbore(wellboreId: str, body: SearchQueryReques ...@@ -61,7 +61,7 @@ async def query_trajectories_bywellbore(wellboreId: str, body: SearchQueryReques
description=f"""Get all WellLogs objects using its name and optionally relationship Wellbore ID. description=f"""Get all WellLogs objects using its name and optionally relationship Wellbore ID.
<p>The WellLogs kind is {OSDU_WELLLOG_KIND} returns all records directly based on existing schemas. The query is done on data.Name field</p>{REQUIRED_ROLES_READ}""", <p>The WellLogs kind is {OSDU_WELLLOG_KIND} returns all records directly based on existing schemas. The query is done on data.Name field</p>{REQUIRED_ROLES_READ}""",
response_model=CursorQueryResponse) response_model=CursorQueryResponse)
async def query_trajectories_bywellbore(names: str, wellbore_id: str = None, body: SearchQueryRequest = DEFAULT_QUERYREQUEST, async def query_welllogs_byname(names: str, wellbore_id: str = None, body: SearchQueryRequest = DEFAULT_QUERYREQUEST,
ctx: Context = Depends(get_ctx)): ctx: Context = Depends(get_ctx)):
if wellbore_id is not None: if wellbore_id is not None:
body.query = added_relationships_query(wellbore_id, WELLBORE_RELATIONSHIP, body.query) body.query = added_relationships_query(wellbore_id, WELLBORE_RELATIONSHIP, body.query)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment