Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

109
Visualizações
Python Marshmallow type stubs for mypy

I have tried to find type stubs for the popular Marshmallow [de]serialization library commonly used with Flask. I see how, given the often dynamic nature of the library's functionality, typing it might be difficult, but it would still be interesting to know if any meaningful work has been put into it.

TLDR: Are there type stubs for Marshmallow?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Marshmallow distributes type information as part of the package. There are no separate stubs because there is no need for them.

If you want to learn about the mechanism it uses, look at PEP561. It includes a py.typed file via its setup.py which indicates that the package provides type annotations.

If you're unsure how to use this with mypy, simply install marshmallow in the same environment as mypy. e.g. If using virtualenvs, install mypy and marshmallow in the same virtualenv, just as you would install a type stub package.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda