Class representing metadata about a dataset including schema information. Instances ofDocumentation Index
Fetch the complete documentation index at: https://docs.pysquirrels.com/llms.txt
Use this file to discover all available pages before exploring further.
DatasetMetadata are created by Squirrels when describing datasets (and as the base for DatasetResult); you should not construct this class directly.
If DatasetMetadata is needed for type annotation, it can be imported from the squirrels.types or squirrels module.
Methods
to_json()
Returns the dataset metadata as a JSON-serializable dictionary.A dictionary containing dataset metadata with the following structure:
Examples
Here are some common usage patterns for theDatasetMetadata class. It is assumed that the code is running in an async context (e.g. inside an async function or a Jupyter Notebook cell).