Skip to content

Fix RemovedInMarshmallow4Warning by moving schema fields description to metadata  #48

@FedericoNegri

Description

@FedericoNegri

To fix the many RemovedInMarshmallow4Warning we should move the marshmallow field description to the metadata, e.g.

num_trials = fields.Int(
    allow_none=True, 
    description="Maximum number of attempts to execute the task."
)

should become

num_trials = fields.Int(
   allow_none=True, 
   metadata={"description":"Maximum number of attempts to execute the task."}
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenancePackage and maintenance related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions