We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Добрый день! В энтпоинте /api/v2.2/films/{id} когда когда в карточке фильма встречаются пустые поля, метод send_film_request вылетает. Например:
1103803: imdbId = null, ошибка apischema.validation.errors.ValidationError: ValidationError(messages=[], children={'imdbId': ValidationError(messages=['expected type string, found null'], children={})})
apischema.validation.errors.ValidationError: ValidationError(messages=[], children={'imdbId': ValidationError(messages=['expected type string, found null'], children={})})
41519: nameOriginal = null, ошибка apischema.validation.errors.ValidationError: ValidationError(messages=[], children={'nameOriginal': ValidationError(messages= ['expected type string, found null'], children={})})
apischema.validation.errors.ValidationError: ValidationError(messages=[], children={'nameOriginal': ValidationError(messages= ['expected type string, found null'], children={})})
The text was updated successfully, but these errors were encountered:
Еще пример: 1283344, ratingGoodReview = null.
Sorry, something went wrong.
Спасибо, исправил. Если есть замечания или предложения, буду рад принять pull request.
masterWeber
No branches or pull requests
Добрый день!
В энтпоинте /api/v2.2/films/{id} когда когда в карточке фильма встречаются пустые поля, метод send_film_request вылетает.
Например:
1103803: imdbId = null, ошибка
apischema.validation.errors.ValidationError: ValidationError(messages=[], children={'imdbId': ValidationError(messages=['expected type string, found null'], children={})})
41519: nameOriginal = null, ошибка
apischema.validation.errors.ValidationError: ValidationError(messages=[], children={'nameOriginal': ValidationError(messages= ['expected type string, found null'], children={})})
The text was updated successfully, but these errors were encountered: