Skip to content

Marshmallow warnings: Use contextvars.ContextVar to pass context #40

@ela-kotulska-frequenz

Description

@ela-kotulska-frequenz

What's needed?

I see lots of warnings:

frequenz/quantities/experimental/marshmallow.py:270: RemovedInMarshmallow4Warning: The `context` parameter is deprecated and will be removed in marshmallow 4.0. Use `contextvars.ContextVar` to pass context instead.

Proposed solution

No response

Use cases

No response

Alternatives and workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:codeAffects the code in generalpriority:lowThis should be addressed only if there is nothing else on the tabletype:tech-debtImproves the project without visible changes for users

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions