Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

108
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda