MCPcopy Index your code
hub / github.com/dataease/SQLBot / read

Method read

frontend/public/swagger-ui-bundle.js:52623–52662  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

52621 getHttpClient() {
52622 return this.swaggerHTTPClient
52623 }
52624 async read(s) {
52625 const o = this.getHttpClient(),
52626 i = new AbortController(),
52627 { signal: a } = i,
52628 u = setTimeout(() => {
52629 i.abort()
52630 }, this.timeout),
52631 _ =
52632 this.getHttpClient().withCredentials || this.withCredentials
52633 ? 'include'
52634 : 'same-origin',
52635 w = 0 === this.redirects ? 'error' : 'follow',
52636 x = this.redirects > 0 ? this.redirects : void 0
52637 try {
52638 return (
52639 await o({
52640 url: s.uri,
52641 signal: a,
52642 userFetch: async (s, o) => {
52643 let i = await fetch(s, o)
52644 try {
52645 i.headers.delete('Content-Type')
52646 } catch {
52647 ;((i = new Response(i.body, { ...i, headers: new Headers(i.headers) })),
52648 i.headers.delete('Content-Type'))
52649 }
52650 return i
52651 },
52652 credentials: _,
52653 redirect: w,
52654 follow: x,
52655 ...this.swaggerHTTPClientConfig,
52656 })
52657 ).text.arrayBuffer()
52658 } catch (o) {
52659 throw new Lw(`Error downloading "${s.uri}"`, { cause: o })
52660 } finally {
52661 clearTimeout(u)
52662 }
52663 }
52664 },
52665 transformers_from = (s, o = Ep) => {

Callers 15

readAndResolveFunction · 0.80
maybeReadMore_Function · 0.80
nReadingNextTickFunction · 0.80
resume_Function · 0.80
flowFunction · 0.80
kdFunction · 0.80
upload_excelFunction · 0.80
upload_excelFunction · 0.80
upload_ds_schemaFunction · 0.80
parse_excelFunction · 0.80
upload_excelFunction · 0.80

Calls 3

getHttpClientMethod · 0.95
oFunction · 0.70
deleteMethod · 0.45

Tested by 5

setUpMethod · 0.64
test_icon_is_pngMethod · 0.64
setUpMethod · 0.64