-
Notifications
You must be signed in to change notification settings - Fork 48
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
Create types for app builder queries explicitly, remove experimental flag #2411
Conversation
"outputs": "outputs", | ||
} | ||
|
||
def __init__(self_, outputs: Union[str, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
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
"type": "type", | ||
} | ||
|
||
def __init__(self_, id: UUID, name: str, properties: StateVariableProperties, type: StateVariableType, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
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
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
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
"default_value": "defaultValue", | ||
} | ||
|
||
def __init__(self_, default_value: Union[Any, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
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
"type": "type", | ||
} | ||
|
||
def __init__(self_, id: UUID, name: str, properties: DataTransformProperties, type: DataTransformType, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
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
|
||
|
||
class ActionQuerySpecInputsOneOf(ModelNormal): | ||
def __init__(self_, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
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
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
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
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
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
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
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
4270aeb
to
4ce84c3
Compare
|
||
|
||
class ActionQuerySpecInput(ModelNormal): | ||
def __init__(self_, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
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
4368a83
to
03fe898
Compare
…uilder-queries-explicitly
03fe898
to
ab8d5e7
Compare
"tags": "tags", | ||
} | ||
|
||
def __init__(self_, id: Union[UUID, UnsetType] = unset, tags: Union[List[str], UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
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
…uilder-queries-explicitly
edc9075
to
73ca7d5
Compare
73ca7d5
to
480701d
Compare
…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
See DataDog/datadog-api-spec#3543
Test branch datadog-api-spec/test/oliver/create-types-for-app-builder-queries-explicitly