import os filepath = 'schemas/20251121/linkml/modules/classes/ApproximationStatus.yaml' with open(filepath, 'r') as f: content = f.read() # The error is that appears inside a description string that is formatted as a YAML block. # This should NOT cause error unless it's being parsed as an example value? # But showed it in . # Wait, the grep output showed it on line 28 inside a quoted string. # However, earlier grep showed: # schemas/20251121/linkml/modules/classes/CustodianTimelineEvent.yaml: event_date: "2005-04-30" # This looks like it IS used as a key in inside an example block. # Let's check .