Feature: Bad Format exception

Aberta
#266 2 comentários 0 reações 1 responsável Ver no GitHub

@const-cloudinary já está trabalhando nisso.

Desde 5/1/2021.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

Feature request for Cloudinary Python SDK

Explain your use case

At the moment, specifying allowed_formats only raises a general Error when the file is of the wrong file type: ie: Raw file format txt not allowed

Describe the problem you’re trying to solve

Having a specific type of exception such as BadFormat/BadFileType would allow us to handle it in a cleaner fashion.

Do you have a proposed solution?

Yes, implement an exception which is raised if the server returns a certain type of error.

Linguagem predominante
Python
Estrelas
262
Forks
133
Merge médio
3min
PRs com merge (30d)
1

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de cloudinary/pycloudinary

Todas as issues de cloudinary/pycloudinary

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.