get_code_asset
Retrieve the contents of a Colab notebook or saved query by name or ID, with notebook outputs stripped so you get only the logic.
Instructions
Return one Colab notebook or saved query's contents, by name or id.
Notebook outputs are stripped -- across 52 real notebooks they were 77% of the bytes, and none of the logic.
Args: asset: Display name (as shown in BigQuery Studio) or the asset id. environment: Which configured environment to read. Omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | ||
| environment | No |