Commit 6eacba44 authored by Chad Leong's avatar Chad Leong
Browse files

Merge branch '25-fix-wellbore-parsing-bug' into 'main'

Fix "TypeError: Object of type WellboreRecord is not JSON serializable" bug in "list" command

Closes #25

See merge request osdu/platform/data-flow/data-loading/wellbore-ddms-las-loader!20
parents 64074d59 721cb84f
Pipeline #72688 passed with stage
in 36 seconds
......@@ -24,7 +24,7 @@ def wellbore(url: str,
logger.warning(f"Getting wellbore ID {wellbore_id}")
wellbore = client.get_wellbore_record(wellbore_id)
print(json.dumps(wellbore, indent=4, sort_keys=True))
print(json.dumps(wellbore.get_raw_data(), indent=4, sort_keys=True))
def welllog(url: str,
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