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

Fix Toplist widget's stacked display style - remove legend as required field #2184

Merged

Conversation

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

@@ -32,17 +34,20 @@ def openapi_types(_):
"type": "type",
}

def __init__(self_, legend: ToplistWidgetLegend, type: ToplistWidgetStackedType, **kwargs):
def __init__(
self_, type: ToplistWidgetStackedType, legend: Union[ToplistWidgetLegend, UnsetType] = unset, **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
self_, type: ToplistWidgetStackedType, legend: Union[ToplistWidgetLegend, UnsetType] = unset, **kwargs
self, type: ToplistWidgetStackedType, legend: Union[ToplistWidgetLegend, UnsetType] = unset, **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/3151 branch 3 times, most recently from 7b6b312 to f788e91 Compare October 2, 2024 13:57
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3151 branch from f788e91 to c19f8fd Compare October 2, 2024 16:23
@api-clients-generation-pipeline api-clients-generation-pipeline bot merged commit cc2b046 into master Oct 2, 2024
14 checks passed
@api-clients-generation-pipeline api-clients-generation-pipeline bot deleted the datadog-api-spec/generated/3151 branch October 2, 2024 17:09
github-actions bot pushed a commit that referenced this pull request Oct 2, 2024
…d field (#2184)

Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> cc2b046
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