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

Add new synthetics HTTP javascript assertion #2091

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

api-clients-generation-pipeline[bot]
Copy link
Contributor

@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/2962 branch from 47d986c to d1cda2a Compare September 4, 2024 13:18
"type": "type",
}

def __init__(self_, code: str, type: SyntheticsAssertionJavascriptType, **kwargs):

Choose a reason for hiding this comment

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

🔴 Code Quality Violation

Suggested change
def __init__(self_, code: str, type: SyntheticsAssertionJavascriptType, **kwargs):
def __init__(self, code: str, type: SyntheticsAssertionJavascriptType, **kwargs):
first parameter of a class function should be self (...read more)

In a class method (that is not a class method nor a static method), the first argument must be self by convention.

Learn More

View in Datadog  Leave us feedback  Documentation

@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/2962 branch from d1cda2a to 4e25bb7 Compare September 4, 2024 16:33
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/2962 branch from 3e9dfa6 to 3858cad Compare September 4, 2024 17:13
@skarimo skarimo merged commit 7306432 into master Sep 4, 2024
13 checks passed
@skarimo skarimo deleted the datadog-api-spec/generated/2962 branch September 4, 2024 20:39
github-actions bot pushed a commit that referenced this pull request Sep 4, 2024
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: skarimo <40482491+skarimo@users.noreply.github.com> 7306432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant