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

Extend Widget time schema with support for new fixed_span and live_span object #2097

Merged

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/2745 branch from 7e3b962 to 749b90b Compare August 12, 2024 18:22
@api-clients-generation-pipeline api-clients-generation-pipeline bot changed the title [DBNBK-116] Extend Widget.TIME schema with support for fixed_span and live_span object Extend Widget time schema with support for new fixed_span and live_span object Aug 12, 2024
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/2745 branch 2 times, most recently from 36203ac to 688245e Compare August 13, 2024 19:09
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/2745 branch from 40376fb to b73dfe4 Compare August 15, 2024 13:54
skarimo and others added 5 commits August 15, 2024 11:40
Co-authored-by: jack-edmonds-dd <jack.edmonds@datadoghq.com>
…es' into datadog-api-spec/test/bruce.tu/DBNBK-116-Extend-Widget.TIME-schema

additional prop changes
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/2745 branch from 0964203 to 7b01738 Compare August 15, 2024 16:51
skarimo and others added 2 commits August 16, 2024 09:18
…es' into datadog-api-spec/test/bruce.tu/DBNBK-116-Extend-Widget.TIME-schema

merge checks
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/2745 branch from 2f205c4 to 4d8a15d Compare August 16, 2024 13:48
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/2745 branch from 4d8a15d to b75be68 Compare August 19, 2024 18:14
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/2745 branch 2 times, most recently from 706550a to 46417ce Compare August 20, 2024 14:53
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/2745 branch from ca6fd76 to 633fdf5 Compare August 28, 2024 17:02
"live_span": "live_span",
}

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

"value": "value",
}

def __init__(self_, type: WidgetNewLiveSpanType, unit: WidgetLiveSpanUnit, value: int, **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_, type: WidgetNewLiveSpanType, unit: WidgetLiveSpanUnit, value: int, **kwargs):
def __init__(self, type: WidgetNewLiveSpanType, unit: WidgetLiveSpanUnit, value: int, **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_, _from: int, to: int, type: WidgetNewFixedSpanType, **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_, _from: int, to: int, type: WidgetNewFixedSpanType, **kwargs):
def __init__(self, _from: int, to: int, type: WidgetNewFixedSpanType, **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/2745 branch 3 times, most recently from adc978d to 044e3e3 Compare September 3, 2024 13:40
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/2745 branch from 044e3e3 to 8d169c4 Compare September 3, 2024 18:07
@api-clients-generation-pipeline api-clients-generation-pipeline bot merged commit e3d4aa2 into master Sep 3, 2024
13 checks passed
@api-clients-generation-pipeline api-clients-generation-pipeline bot deleted the datadog-api-spec/generated/2745 branch September 3, 2024 19:06
github-actions bot pushed a commit that referenced this pull request Sep 3, 2024
…an object (#2097)

* add support for additional:Properties false

* enable additionalProperties by default

* enabled additionalProps

* reduce change size

* Update .generator/src/generator/templates/model_generic.j2

Co-authored-by: jack-edmonds-dd <jack.edmonds@datadoghq.com>

* remove check

* Regenerate client from commit 2d21d782 of spec repo

---------

Co-authored-by: Anika Maskara <anika.maskara@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
Co-authored-by: Sherzod Karimov <sherzod.karimov@datadoghq.com>
Co-authored-by: skarimo <40482491+skarimo@users.noreply.github.com>
Co-authored-by: jack-edmonds-dd <jack.edmonds@datadoghq.com>
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> e3d4aa2
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.

3 participants