Skip to content

Metadata

Set Name

Set the bundle's display name.

await bundle.set_name("Customer Data")
bundle.set_name("Customer Data")
SET NAME 'Customer Data'

Set Description

Set the bundle's description.

await bundle.set_description("Contains all customer records from 2024")
bundle.set_description("Contains all customer records from 2024")
SET DESCRIPTION 'Contains all customer records from 2024'

Accessing Properties

Bundle metadata is available as properties:

import bundlebase as bb

bundle = await bb.open("my/data")
print(bundle.name)
print(bundle.description)
print(bundle.id)
print(bundle.url)
print(bundle.version)
import bundlebase.sync as bb

bundle = bb.open("my/data")
print(bundle.name)
print(bundle.description)
print(bundle.id)
print(bundle.url)
print(bundle.version)
SELECT * FROM bundle_info.details

or

SHOW DETAILS