skalarsystems / fhirzeug

A Python FHIR specification parser and class generator
Apache License 2.0
17 stars 1 forks source link

Make `by_alias=True` the default behavior in `dict()` and `json()` method #71

Open Wauplin opened 3 years ago

Wauplin commented 3 years ago

Currently, to export a model, we need to do :

data = resource.dict(by_alias=True)

The idea would be to have by_alias=True as default value since we are never using dict() or json() without this argument.