MCPcopy Index your code
hub / github.com/deepnote/deepnote / isSqlBlock

Function isSqlBlock

packages/blocks/src/blocks/sql-blocks.ts:114–116  ·  view source on GitHub ↗
(block: DeepnoteBlock)

Source from the content-addressed store, hash-verified

112}
113
114export function isSqlBlock(block: DeepnoteBlock): block is SqlBlock {
115 return block.type === 'sql'
116}
117
118function assertSqlCacheMode(value: string): SqlCacheMode {
119 const result = sqlCacheModeSchema.safeParse(value)

Callers 1

createPythonCodeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected