Class tigrbl.runtime.kernel.Kernel
tigrbl.runtime.kernel.Kernel
Kernel(atoms=None)
SSoT for runtime scheduling. One Kernel per App (not per API). Auto-primed under the hood. Downstream users never touch this.
Source code in tigrbl/runtime/kernel.py
265 266 267 268 269 270 271 272 273 274 275 276 277 |
|
get_specs
get_specs(model)
Source code in tigrbl/runtime/kernel.py
286 287 |
|
prime_specs
prime_specs(models)
Source code in tigrbl/runtime/kernel.py
289 290 |
|
invalidate_specs
invalidate_specs(model=None)
Source code in tigrbl/runtime/kernel.py
292 293 |
|
build
build(model, alias)
Source code in tigrbl/runtime/kernel.py
296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 |
|
plan_labels
plan_labels(model, alias)
Source code in tigrbl/runtime/kernel.py
334 335 336 337 338 339 340 341 342 343 344 345 |
|
invoke
async
invoke(*, model, alias, db, request=None, ctx=None)
Execute an operation for model.alias
using the executor.
Source code in tigrbl/runtime/kernel.py
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 |
|
ensure_primed
ensure_primed(app)
Autoprime once per App: specs → OpViews → /kernelz payload.
Source code in tigrbl/runtime/kernel.py
368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 |
|
get_opview
get_opview(app, model, alias)
Return OpView for (model, alias); compile on-demand if missing.
Source code in tigrbl/runtime/kernel.py
397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 |
|
kernelz_payload
kernelz_payload(app)
Thin accessor for endpoint: guarantees primed, returns cached payload.
Source code in tigrbl/runtime/kernel.py
429 430 431 432 |
|
invalidate_kernelz_payload
invalidate_kernelz_payload(app=None)
Source code in tigrbl/runtime/kernel.py
434 435 436 437 438 439 440 441 442 443 |
|