Skip to content

Commit d00c80a

Browse files
github-automation-metabaseMetabase Docs bot
andauthored
[auto] adding content to docs/auto-update-master-2025-10-07-013147->master (#726)
Co-authored-by: Metabase Docs bot <[email protected]>
1 parent 4b60d70 commit d00c80a

File tree

2 files changed

+182
-0
lines changed

2 files changed

+182
-0
lines changed

_docs/master/api.html

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17186,6 +17186,97 @@
1718617186
"tags" : [ "/api/ee/transforms-python" ]
1718717187
}
1718817188
},
17189+
"/api/ee/transforms-python/test-run" : {
17190+
"post" : {
17191+
"summary" : "POST /api/ee/transforms-python/test-run",
17192+
"description" : "Evaluate an ad-hoc python transform on a sample of input data.\n Intended for short runs for early feedback. Input/output/timeout limits apply.",
17193+
"parameters" : [ ],
17194+
"responses" : {
17195+
"2XX" : {
17196+
"description" : "map where {:logs -> <string>, :error (optional) -> <map where {:message -> <function, or function>}>, :output (optional) -> <map where {:rows -> <anything>}>}",
17197+
"content" : {
17198+
"application/json" : {
17199+
"schema" : {
17200+
"type" : "object",
17201+
"properties" : {
17202+
"error" : {
17203+
"type" : "object",
17204+
"properties" : {
17205+
"message" : {
17206+
"anyOf" : [ { }, { } ]
17207+
}
17208+
},
17209+
"required" : [ "message" ]
17210+
},
17211+
"logs" : {
17212+
"type" : "string"
17213+
},
17214+
"output" : {
17215+
"type" : "object",
17216+
"properties" : {
17217+
"rows" : { }
17218+
},
17219+
"required" : [ "rows" ]
17220+
}
17221+
},
17222+
"required" : [ "logs" ]
17223+
}
17224+
}
17225+
}
17226+
},
17227+
"4XX" : {
17228+
"description" : "Client error response"
17229+
},
17230+
"5XX" : {
17231+
"description" : "Server error response"
17232+
}
17233+
},
17234+
"requestBody" : {
17235+
"content" : {
17236+
"application/json" : {
17237+
"schema" : {
17238+
"type" : "object",
17239+
"properties" : {
17240+
"code" : {
17241+
"type" : "string"
17242+
},
17243+
"output_row_limit" : {
17244+
"allOf" : [ {
17245+
"type" : "integer"
17246+
}, {
17247+
"type" : "number",
17248+
"exclusiveMinimum" : 1
17249+
}, {
17250+
"type" : "number",
17251+
"maximum" : 100
17252+
} ]
17253+
},
17254+
"per_input_row_limit" : {
17255+
"allOf" : [ {
17256+
"type" : "integer"
17257+
}, {
17258+
"type" : "number",
17259+
"exclusiveMinimum" : 1
17260+
}, {
17261+
"type" : "number",
17262+
"maximum" : 100
17263+
} ]
17264+
},
17265+
"source_tables" : {
17266+
"type" : "object",
17267+
"additionalProperties" : {
17268+
"type" : "integer"
17269+
}
17270+
}
17271+
},
17272+
"required" : [ "code", "source_tables" ]
17273+
}
17274+
}
17275+
}
17276+
},
17277+
"tags" : [ "/api/ee/transforms-python" ]
17278+
}
17279+
},
1718917280
"/api/ee/upload-management/tables" : {
1719017281
"get" : {
1719117282
"summary" : "GET /api/ee/upload-management/tables",

_site/docs/master/api.html

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17274,6 +17274,97 @@
1727417274
"tags" : [ "/api/ee/transforms-python" ]
1727517275
}
1727617276
},
17277+
"/api/ee/transforms-python/test-run" : {
17278+
"post" : {
17279+
"summary" : "POST /api/ee/transforms-python/test-run",
17280+
"description" : "Evaluate an ad-hoc python transform on a sample of input data.\n Intended for short runs for early feedback. Input/output/timeout limits apply.",
17281+
"parameters" : [ ],
17282+
"responses" : {
17283+
"2XX" : {
17284+
"description" : "map where {:logs -> <string>, :error (optional) -> <map where {:message -> <function, or function>}>, :output (optional) -> <map where {:rows -> <anything>}>}",
17285+
"content" : {
17286+
"application/json" : {
17287+
"schema" : {
17288+
"type" : "object",
17289+
"properties" : {
17290+
"error" : {
17291+
"type" : "object",
17292+
"properties" : {
17293+
"message" : {
17294+
"anyOf" : [ { }, { } ]
17295+
}
17296+
},
17297+
"required" : [ "message" ]
17298+
},
17299+
"logs" : {
17300+
"type" : "string"
17301+
},
17302+
"output" : {
17303+
"type" : "object",
17304+
"properties" : {
17305+
"rows" : { }
17306+
},
17307+
"required" : [ "rows" ]
17308+
}
17309+
},
17310+
"required" : [ "logs" ]
17311+
}
17312+
}
17313+
}
17314+
},
17315+
"4XX" : {
17316+
"description" : "Client error response"
17317+
},
17318+
"5XX" : {
17319+
"description" : "Server error response"
17320+
}
17321+
},
17322+
"requestBody" : {
17323+
"content" : {
17324+
"application/json" : {
17325+
"schema" : {
17326+
"type" : "object",
17327+
"properties" : {
17328+
"code" : {
17329+
"type" : "string"
17330+
},
17331+
"output_row_limit" : {
17332+
"allOf" : [ {
17333+
"type" : "integer"
17334+
}, {
17335+
"type" : "number",
17336+
"exclusiveMinimum" : 1
17337+
}, {
17338+
"type" : "number",
17339+
"maximum" : 100
17340+
} ]
17341+
},
17342+
"per_input_row_limit" : {
17343+
"allOf" : [ {
17344+
"type" : "integer"
17345+
}, {
17346+
"type" : "number",
17347+
"exclusiveMinimum" : 1
17348+
}, {
17349+
"type" : "number",
17350+
"maximum" : 100
17351+
} ]
17352+
},
17353+
"source_tables" : {
17354+
"type" : "object",
17355+
"additionalProperties" : {
17356+
"type" : "integer"
17357+
}
17358+
}
17359+
},
17360+
"required" : [ "code", "source_tables" ]
17361+
}
17362+
}
17363+
}
17364+
},
17365+
"tags" : [ "/api/ee/transforms-python" ]
17366+
}
17367+
},
1727717368
"/api/ee/upload-management/tables" : {
1727817369
"get" : {
1727917370
"summary" : "GET /api/ee/upload-management/tables",

0 commit comments

Comments
 (0)