Skip to content

Use **[artist]_properties instead of **kwargs #20048

Open
@timhoffm

Description

@timhoffm

Problem

We often use **kwargs for propagating a specific set of Artist properties.

Suggested Improvement

In such a case use a meaningful parameter name instead, i.e. replace the signature

def set_title(self, label, ..., **kwargs)

by

def set_title(self, label, ..., **text_properties)

This is labelled as documentation because the kwargs parameter is not accessible API, it only shows up in docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationkeepItems to be ignored by the “Stale” Github Action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions