When immatriculation is null, typically for non-diffusible items, the API returns an error because None is not considered a valid value in the Pydantic model for this object. This PR introduces support for the None option. Additionally, "La Poste" is missing from the RNE stock, resulting in an empty immatriculation object and a null value for date_mise_a_jour_rne. This causes the end-to-end tests to fail, as "La Poste" is used in many test cases.
When
immatriculation
isnull
, typically for non-diffusible items, the API returns an error becauseNone
is not considered a valid value in the Pydantic model for this object. This PR introduces support for theNone
option. Additionally, "La Poste" is missing from the RNE stock, resulting in an emptyimmatriculation
object and anull
value fordate_mise_a_jour_rne
. This causes the end-to-end tests to fail, as "La Poste" is used in many test cases.