def from_dict(cls, obj: dict) -> ProfileMeDataSettings:
        """Create an instance of ProfileMeDataSettings from a dict"""
        if obj is None:
            return None

        if not isinstance(obj, dict):
            return ProfileMeDataSettings.parse_obj(obj)

        _obj = ProfileMeDataSettings.parse_obj({
            "locale": obj.get("locale") if obj.get("locale") is not None else 'en',
            "date_format": obj.get("dateFormat"),
            "number_format": obj.get("numberFormat")
        })
        # store additional fields in additional_properties
        for _key in obj.keys():
            if _key not in cls.__properties:
                _obj.additional_properties[_key] = obj.get(_key)

        return _obj
Create an instance of ProfileMeDataSettings from a dict
lightly/openapi_generated/swagger_client/models/profile_me_data_settings.py