-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The parsing of the biome is looking for tag and value, but I am mostly seeing v and k:
def parse_biome(attributes_json):
"""Extract biome information from attributes JSON."""
import json
try:
if pd.isna(attributes_json):
return 'unknown'
attrs = json.loads(attributes_json) if isinstance(attributes_json, str) else attributes_json
for attr in attrs:
tag = attr.get('tag', '').lower()
if 'env_biome' in tag or 'biome' in tag:
return attr.get('value', 'unknown')
if 'environment' in tag and 'environmental' not in tag:
return attr.get('value', 'unknown')
return 'unknown'
except:
return 'unknown'
and
[{'k': bases, 'v': 4678322648}, {'k': bytes, 'v': 1490316582}, {'k': run_file_create_date, 'v': '2023-03-01T02:41:00.000Z'}, {'k': collection_d…
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working