Skip to content

Update events intake specs for v2 Events post endpoint#2652

Merged
api-clients-generation-pipeline[bot] merged 1 commit into
masterfrom
datadog-api-spec/generated/4001
Jun 25, 2025
Merged

Update events intake specs for v2 Events post endpoint#2652
api-clients-generation-pipeline[bot] merged 1 commit into
masterfrom
datadog-api-spec/generated/4001

Conversation

@api-clients-generation-pipeline
Copy link
Copy Markdown
Contributor



class AlertEventCustomAttributesCustom(ModelNormal):
def __init__(self_, **kwargs):
Copy link
Copy Markdown

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_, **kwargs):
def __init__(self, **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

}

def __init__(self_, id: Union[str, UnsetType] = unset, **kwargs):
def __init__(self_, id: Union[str, UnsetType] = unset, uid: Union[str, UnsetType] = unset, **kwargs):
Copy link
Copy Markdown

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_, id: Union[str, UnsetType] = unset, uid: Union[str, UnsetType] = unset, **kwargs):
def __init__(self, id: Union[str, UnsetType] = unset, uid: Union[str, 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

type: Union[EventCreateRequestType, UnsetType] = unset,
**kwargs,
):
def __init__(self_, attributes: EventPayload, type: EventCreateRequestType, **kwargs):
Copy link
Copy Markdown

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_, attributes: EventPayload, type: EventCreateRequestType, **kwargs):
def __init__(self, attributes: EventPayload, type: EventCreateRequestType, **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

}

def __init__(self_, data: Union[EventCreateRequest, UnsetType] = unset, **kwargs):
def __init__(self_, data: EventCreateRequest, **kwargs):
Copy link
Copy Markdown

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_, data: EventCreateRequest, **kwargs):
def __init__(self, data: EventCreateRequest, **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

}

def __init__(
self_,
Copy link
Copy Markdown

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_,
self,
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

}

def __init__(
self_,
Copy link
Copy Markdown

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_,
self,
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


def __init__(self_, data: Union[EventCreateResponse, UnsetType] = unset, **kwargs):
def __init__(
self_,
Copy link
Copy Markdown

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_,
self,
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

"self": "self",
}

def __init__(self_, self: Union[str, UnsetType] = unset, **kwargs):
Copy link
Copy Markdown

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_, self: Union[str, UnsetType] = unset, **kwargs):
def __init__(self, self: Union[str, 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 changed the title Restore "Update events intake specs for v2 Events post endpoint"" Update events intake specs for v2 Events post endpoint Jun 25, 2025
@api-clients-generation-pipeline api-clients-generation-pipeline Bot force-pushed the datadog-api-spec/generated/4001 branch from 88409a1 to 69996a9 Compare June 25, 2025 16:16
@api-clients-generation-pipeline api-clients-generation-pipeline Bot force-pushed the datadog-api-spec/generated/4001 branch from 69996a9 to 62b953e Compare June 25, 2025 17:37
@api-clients-generation-pipeline api-clients-generation-pipeline Bot merged commit fa8f82d into master Jun 25, 2025
13 checks passed
@api-clients-generation-pipeline api-clients-generation-pipeline Bot deleted the datadog-api-spec/generated/4001 branch June 25, 2025 18:32
github-actions Bot pushed a commit that referenced this pull request Jun 25, 2025
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> fa8f82d
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