Skip to content

get_or_create_detector_by_name doesn't handle special characters #194

@brandon-wada

Description

@brandon-wada

If you run the following
a = gl.get_or_create_detector("det", "query") b = gl.get_or_create_detector("det+", "query")
then a and b will reference the same detector.
This is particularly perplexing if you use datetime to generate a unique name and the string representation ends with timezone information like +00:00

Related to the TODO at

TODO: Properly model this in the API, and generate SDK code for it.

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