8000 Outdated docstring for passing labels as dict · Issue #136 · prometheus/client_python · GitHub
[go: up one dir, main page]

Skip to content
Outdated docstring for passing labels as dict #136
Closed
@antialiasis

Description

@antialiasis

This commit removes support for passing a dictionary to labels. However, the docstring for labels still documents passing a dict, rather than keyword arguments. I spent unnecessarily long puzzling over an "Incorrect label count" error from a library that appeared to be using the method as documented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0