Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow listing timeboards with empty descriptions #385

Merged
merged 1 commit into from
Jun 4, 2019
Merged

Allow listing timeboards with empty descriptions #385

merged 1 commit into from
Jun 4, 2019

Conversation

Tenzer
Copy link
Contributor

@Tenzer Tenzer commented Jun 3, 2019

The _escape() method assumed it always would be receiving a string, but if
there is no description set on a timeboard it would instead be set to None.

This handles those cases by instead making the function return an empty string
in case the input is False-y - ie. None.

The `_escape()` method assumed it always would be receiving a string, but if
there is no description set on a timeboard it would instead be set to `None`.

This handles those cases by instead making the function return an empty string
in case the input is False-y - ie. `None`.
Copy link
Contributor

@zippolyte zippolyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@zippolyte zippolyte merged commit 90cfb20 into DataDog:master Jun 4, 2019
dabcoder pushed a commit to dabcoder/datadogpy that referenced this pull request Oct 25, 2019
The `_escape()` method assumed it always would be receiving a string, but if
there is no description set on a timeboard it would instead be set to `None`.

This handles those cases by instead making the function return an empty string
in case the input is False-y - ie. `None`.
dabcoder pushed a commit to dabcoder/datadogpy that referenced this pull request Nov 28, 2019
The `_escape()` method assumed it always would be receiving a string, but if
there is no description set on a timeboard it would instead be set to `None`.

This handles those cases by instead making the function return an empty string
in case the input is False-y - ie. `None`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants