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

Rename embeddedQueries attribute to queries in app builder api #2388

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-03 17:18:16.443651",
"spec_repo_commit": "b584742c"
"regenerated": "2025-02-03 18:38:34.199729",
"spec_repo_commit": "325cdedf"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-03 17:18:16.459732",
"spec_repo_commit": "b584742c"
"regenerated": "2025-02-03 18:38:34.214551",
"spec_repo_commit": "325cdedf"
}
}
}
44 changes: 22 additions & 22 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7322,8 +7322,8 @@ components:
type: gridCell
type: grid
description: This is a simple example app
embeddedQueries: []
name: Example App
queries: []
rootInstanceName: grid0
type: appDefinitions
properties:
Expand Down Expand Up @@ -7351,15 +7351,15 @@ components:
description:
description: A human-readable description for the app.
type: string
embeddedQueries:
name:
description: The name of the app.
type: string
queries:
description: An array of queries, such as external actions and state variables,
that the app uses.
items:
$ref: '#/components/schemas/Query'
type: array
name:
description: The name of the app.
type: string
rootInstanceName:
description: The name of the root component of the app. This must be a `grid`
component that contains all other components.
Expand Down Expand Up @@ -12519,18 +12519,18 @@ components:
description:
description: A human-readable description for the app.
type: string
embeddedQueries:
description: An array of queries, such as external actions and state variables,
that the app uses.
items:
$ref: '#/components/schemas/Query'
type: array
favorite:
description: Whether the app is marked as a favorite by the current user.
type: boolean
name:
description: The name of the app.
type: string
queries:
description: An array of queries, such as external actions and state variables,
that the app uses.
items:
$ref: '#/components/schemas/Query'
type: array
rootInstanceName:
description: The name of the root component of the app. This must be a `grid`
component that contains all other components.
Expand Down Expand Up @@ -29742,8 +29742,8 @@ components:
type: gridCell
type: grid
description: This is a simple example app
embeddedQueries: []
name: Example App
queries: []
rootInstanceName: grid0
id: 9e20cbaf-68da-45a6-9ccf-54193ac29fa5
type: appDefinitions
Expand Down Expand Up @@ -29782,16 +29782,16 @@ components:
description:
description: The new human-readable description for the app.
type: string
embeddedQueries:
name:
description: The new name of the app.
type: string
queries:
description: The new array of queries, such as external actions and state
variables, that the app uses. If this field is set, all existing queries
are replaced with the new queries under this field.
items:
$ref: '#/components/schemas/Query'
type: array
name:
description: The new name of the app.
type: string
rootInstanceName:
description: The new name of the root component of the app. This must be
a `grid` component that contains all other components.
Expand Down Expand Up @@ -29852,18 +29852,18 @@ components:
description:
description: The human-readable description for the app.
type: string
embeddedQueries:
description: An array of queries, such as external actions and state variables,
that the app uses.
items:
$ref: '#/components/schemas/Query'
type: array
favorite:
description: Whether the app is marked as a favorite by the current user.
type: boolean
name:
description: The name of the app.
type: string
queries:
description: An array of queries, such as external actions and state variables,
that the app uses.
items:
$ref: '#/components/schemas/Query'
type: array
rootInstanceName:
description: The name of the root component of the app. This must be a `grid`
component that contains all other components.
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/app-builder/CreateApp.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
),
],
description="This is a simple example app",
embedded_queries=[],
queries=[],
name="Example App",
root_instance_name="grid0",
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ def openapi_types(_):
return {
"components": ([ComponentGrid],),
"description": (str,),
"embedded_queries": ([Query],),
"name": (str,),
"queries": ([Query],),
"root_instance_name": (str,),
"tags": ([str],),
}

attribute_map = {
"components": "components",
"description": "description",
"embedded_queries": "embeddedQueries",
"name": "name",
"queries": "queries",
"root_instance_name": "rootInstanceName",
"tags": "tags",
}
Expand All @@ -46,8 +46,8 @@ def __init__(
self_,
components: Union[List[ComponentGrid], UnsetType] = unset,
description: Union[str, UnsetType] = unset,
embedded_queries: Union[List[Query], UnsetType] = unset,
name: Union[str, UnsetType] = unset,
queries: Union[List[Query], UnsetType] = unset,
root_instance_name: Union[str, UnsetType] = unset,
tags: Union[List[str], UnsetType] = unset,
**kwargs,
Expand All @@ -61,12 +61,12 @@ def __init__(
:param description: A human-readable description for the app.
:type description: str, optional

:param embedded_queries: An array of queries, such as external actions and state variables, that the app uses.
:type embedded_queries: [Query], optional

:param name: The name of the app.
:type name: str, optional

:param queries: An array of queries, such as external actions and state variables, that the app uses.
:type queries: [Query], optional

:param root_instance_name: The name of the root component of the app. This must be a ``grid`` component that contains all other components.
:type root_instance_name: str, optional

Expand All @@ -77,10 +77,10 @@ def __init__(
kwargs["components"] = components
if description is not unset:
kwargs["description"] = description
if embedded_queries is not unset:
kwargs["embedded_queries"] = embedded_queries
if name is not unset:
kwargs["name"] = name
if queries is not unset:
kwargs["queries"] = queries
if root_instance_name is not unset:
kwargs["root_instance_name"] = root_instance_name
if tags is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ def openapi_types(_):
return {
"components": ([ComponentGrid],),
"description": (str,),
"embedded_queries": ([Query],),
"favorite": (bool,),
"name": (str,),
"queries": ([Query],),
"root_instance_name": (str,),
"tags": ([str],),
}

attribute_map = {
"components": "components",
"description": "description",
"embedded_queries": "embeddedQueries",
"favorite": "favorite",
"name": "name",
"queries": "queries",
"root_instance_name": "rootInstanceName",
"tags": "tags",
}
Expand All @@ -48,9 +48,9 @@ def __init__(
self_,
components: Union[List[ComponentGrid], UnsetType] = unset,
description: Union[str, UnsetType] = unset,
embedded_queries: Union[List[Query], UnsetType] = unset,
favorite: Union[bool, UnsetType] = unset,
name: Union[str, UnsetType] = unset,
queries: Union[List[Query], UnsetType] = unset,
root_instance_name: Union[str, UnsetType] = unset,
tags: Union[List[str], UnsetType] = unset,
**kwargs,
Expand All @@ -64,15 +64,15 @@ def __init__(
:param description: A human-readable description for the app.
:type description: str, optional

:param embedded_queries: An array of queries, such as external actions and state variables, that the app uses.
:type embedded_queries: [Query], optional

:param favorite: Whether the app is marked as a favorite by the current user.
:type favorite: bool, optional

:param name: The name of the app.
:type name: str, optional

:param queries: An array of queries, such as external actions and state variables, that the app uses.
:type queries: [Query], optional

:param root_instance_name: The name of the root component of the app. This must be a ``grid`` component that contains all other components.
:type root_instance_name: str, optional

Expand All @@ -83,12 +83,12 @@ def __init__(
kwargs["components"] = components
if description is not unset:
kwargs["description"] = description
if embedded_queries is not unset:
kwargs["embedded_queries"] = embedded_queries
if favorite is not unset:
kwargs["favorite"] = favorite
if name is not unset:
kwargs["name"] = name
if queries is not unset:
kwargs["queries"] = queries
if root_instance_name is not unset:
kwargs["root_instance_name"] = root_instance_name
if tags is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ def openapi_types(_):
return {
"components": ([ComponentGrid],),
"description": (str,),
"embedded_queries": ([Query],),
"name": (str,),
"queries": ([Query],),
"root_instance_name": (str,),
"tags": ([str],),
}

attribute_map = {
"components": "components",
"description": "description",
"embedded_queries": "embeddedQueries",
"name": "name",
"queries": "queries",
"root_instance_name": "rootInstanceName",
"tags": "tags",
}
Expand All @@ -46,8 +46,8 @@ def __init__(
self_,
components: Union[List[ComponentGrid], UnsetType] = unset,
description: Union[str, UnsetType] = unset,
embedded_queries: Union[List[Query], UnsetType] = unset,
name: Union[str, UnsetType] = unset,
queries: Union[List[Query], UnsetType] = unset,
root_instance_name: Union[str, UnsetType] = unset,
tags: Union[List[str], UnsetType] = unset,
**kwargs,
Expand All @@ -61,12 +61,12 @@ def __init__(
:param description: The new human-readable description for the app.
:type description: str, optional

:param embedded_queries: The new array of queries, such as external actions and state variables, that the app uses. If this field is set, all existing queries are replaced with the new queries under this field.
:type embedded_queries: [Query], optional

:param name: The new name of the app.
:type name: str, optional

:param queries: The new array of queries, such as external actions and state variables, that the app uses. If this field is set, all existing queries are replaced with the new queries under this field.
:type queries: [Query], optional

:param root_instance_name: The new name of the root component of the app. This must be a ``grid`` component that contains all other components.
:type root_instance_name: str, optional

Expand All @@ -77,10 +77,10 @@ def __init__(
kwargs["components"] = components
if description is not unset:
kwargs["description"] = description
if embedded_queries is not unset:
kwargs["embedded_queries"] = embedded_queries
if name is not unset:
kwargs["name"] = name
if queries is not unset:
kwargs["queries"] = queries
if root_instance_name is not unset:
kwargs["root_instance_name"] = root_instance_name
if tags is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ def openapi_types(_):
return {
"components": ([ComponentGrid],),
"description": (str,),
"embedded_queries": ([Query],),
"favorite": (bool,),
"name": (str,),
"queries": ([Query],),
"root_instance_name": (str,),
"tags": ([str],),
}

attribute_map = {
"components": "components",
"description": "description",
"embedded_queries": "embeddedQueries",
"favorite": "favorite",
"name": "name",
"queries": "queries",
"root_instance_name": "rootInstanceName",
"tags": "tags",
}
Expand All @@ -48,9 +48,9 @@ def __init__(
self_,
components: Union[List[ComponentGrid], UnsetType] = unset,
description: Union[str, UnsetType] = unset,
embedded_queries: Union[List[Query], UnsetType] = unset,
favorite: Union[bool, UnsetType] = unset,
name: Union[str, UnsetType] = unset,
queries: Union[List[Query], UnsetType] = unset,
root_instance_name: Union[str, UnsetType] = unset,
tags: Union[List[str], UnsetType] = unset,
**kwargs,
Expand All @@ -64,15 +64,15 @@ def __init__(
:param description: The human-readable description for the app.
:type description: str, optional

:param embedded_queries: An array of queries, such as external actions and state variables, that the app uses.
:type embedded_queries: [Query], optional

:param favorite: Whether the app is marked as a favorite by the current user.
:type favorite: bool, optional

:param name: The name of the app.
:type name: str, optional

:param queries: An array of queries, such as external actions and state variables, that the app uses.
:type queries: [Query], optional

:param root_instance_name: The name of the root component of the app. This must be a ``grid`` component that contains all other components.
:type root_instance_name: str, optional

Expand All @@ -83,12 +83,12 @@ def __init__(
kwargs["components"] = components
if description is not unset:
kwargs["description"] = description
if embedded_queries is not unset:
kwargs["embedded_queries"] = embedded_queries
if favorite is not unset:
kwargs["favorite"] = favorite
if name is not unset:
kwargs["name"] = name
if queries is not unset:
kwargs["queries"] = queries
if root_instance_name is not unset:
kwargs["root_instance_name"] = root_instance_name
if tags is not unset:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-01-09T20:40:37.253Z
2025-01-30T22:30:41.653Z
Loading