Skip to content

Create types for app builder queries explicitly, remove experimental flag #2411

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

Merged

Conversation

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

"outputs": "outputs",
}

def __init__(self_, outputs: Union[str, 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
def __init__(self_, outputs: Union[str, UnsetType] = unset, **kwargs):
def __init__(self, outputs: 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": "type",
}

def __init__(self_, id: UUID, name: str, properties: StateVariableProperties, type: StateVariableType, **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_, id: UUID, name: str, properties: StateVariableProperties, type: StateVariableType, **kwargs):
def __init__(self, id: UUID, name: str, properties: StateVariableProperties, type: StateVariableType, **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_,

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

"default_value": "defaultValue",
}

def __init__(self_, default_value: Union[Any, 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
def __init__(self_, default_value: Union[Any, UnsetType] = unset, **kwargs):
def __init__(self, default_value: Union[Any, 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": "type",
}

def __init__(self_, id: UUID, name: str, properties: DataTransformProperties, type: DataTransformType, **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_, id: UUID, name: str, properties: DataTransformProperties, type: DataTransformType, **kwargs):
def __init__(self, id: UUID, name: str, properties: DataTransformProperties, type: DataTransformType, **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



class ActionQuerySpecInputsOneOf(ModelNormal):
def __init__(self_, **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_, **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_,

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

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

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

@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3543 branch from 4270aeb to 4ce84c3 Compare February 13, 2025 20:33


class ActionQuerySpecInput(ModelNormal):
def __init__(self_, **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_, **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

@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3543 branch 4 times, most recently from 4368a83 to 03fe898 Compare February 14, 2025 16:17
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3543 branch from 03fe898 to ab8d5e7 Compare February 28, 2025 20:32
"tags": "tags",
}

def __init__(self_, id: Union[UUID, UnsetType] = unset, tags: Union[List[str], 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
def __init__(self_, id: Union[UUID, UnsetType] = unset, tags: Union[List[str], UnsetType] = unset, **kwargs):
def __init__(self, id: Union[UUID, UnsetType] = unset, tags: Union[List[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 force-pushed the datadog-api-spec/generated/3543 branch 4 times, most recently from edc9075 to 73ca7d5 Compare March 3, 2025 15:36
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3543 branch from 73ca7d5 to 480701d Compare March 3, 2025 19:13
@ashley ashley changed the title [draft] Create types for app builder queries explicitly Create types for app builder queries explicitly Mar 3, 2025
@api-clients-generation-pipeline api-clients-generation-pipeline bot changed the title Create types for app builder queries explicitly Create types for app builder queries explicitly, remove experimental flag Mar 3, 2025
@api-clients-generation-pipeline api-clients-generation-pipeline bot merged commit a959f3f into master Mar 3, 2025
13 checks passed
@api-clients-generation-pipeline api-clients-generation-pipeline bot deleted the datadog-api-spec/generated/3543 branch March 3, 2025 22:26
github-actions bot pushed a commit that referenced this pull request Mar 3, 2025
…flag (#2411)

* handle additionalProperties example

* Regenerate client from commit 35df584d of spec repo

---------

Co-authored-by: Sherzod Karimov <[email protected]>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
Co-authored-by: ci.datadog-api-spec <[email protected]> a959f3f
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.

2 participants