Skip to content

Commit

Permalink
Update schema.py
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanSteinberg authored Jun 20, 2024
1 parent 5952213 commit ca6ab08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meds/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
birth_code = "SNOMED/184099003"
death_code = "SNOMED/419620001"

def events_schema(patient_id_type, custom_per_event_properties=pa.null()):
def events_schema(patient_id_type, custom_per_event_properties=[]):
assert patient_id_type == pa.int64() or patient_id_type == pa.string()

return pa.schema(
Expand Down

0 comments on commit ca6ab08

Please sign in to comment.