Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomedina248 committed Feb 7, 2023
1 parent efc3e0e commit c660773
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 46 deletions.
42 changes: 0 additions & 42 deletions docs/static/resources/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1955,27 +1955,6 @@
],
"type": "object"
},
"ChartDataRestApi.get_list.User2": {
"properties": {
"first_name": {
"maxLength": 64,
"type": "string"
},
"id": {
"format": "int32",
"type": "integer"
},
"last_name": {
"maxLength": 64,
"type": "string"
}
},
"required": [
"first_name",
"last_name"
],
"type": "object"
},
"ChartDataRestApi.get_list.User3": {
"properties": {
"first_name": {
Expand Down Expand Up @@ -2764,27 +2743,6 @@
],
"type": "object"
},
"ChartRestApi.get_list.User2": {
"properties": {
"first_name": {
"maxLength": 64,
"type": "string"
},
"id": {
"format": "int32",
"type": "integer"
},
"last_name": {
"maxLength": 64,
"type": "string"
}
},
"required": [
"first_name",
"last_name"
],
"type": "object"
},
"ChartRestApi.get_list.User3": {
"properties": {
"first_name": {
Expand Down
10 changes: 6 additions & 4 deletions superset/sqllab/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@


class EstimateQueryCostSchema(Schema):
database_id = fields.Integer(required=True)
sql = fields.String(required=True)
template_params = fields.Dict(keys=fields.String())
schema = fields.String(allow_none=True)
database_id = fields.Integer(required=True, description="The database id")
sql = fields.String(required=True, description="The SQL query to estimate")
template_params = fields.Dict(
keys=fields.String(), description="The SQL query template params"
)
schema = fields.String(allow_none=True, description="The database schema")


class ExecutePayloadSchema(Schema):
Expand Down

0 comments on commit c660773

Please sign in to comment.