Warning

🚧 Sprout is still in active development and evolving quickly, so the documentation and functionality may not work as described and could undergo substantial changes 🚧

core.ReferenceProperties

core.ReferenceProperties(self, resource=None, fields=None)

The destination part of a foreign key.

Attributes

resource : str | None

(str | None): The name of the resource within the current data package where the fields are located.

fields : list[str] | None

(list[str] | None): An array of strings of the same length as TableSchemaForeignKeyProperties.fields, specifying the field (or fields) that form the destination part of the foreign key.

Methods

Name Description
default Creates an instance with default values.

default

core.ReferenceProperties.default()

Creates an instance with default values.

Returns

: Self

A ReferenceProperties object with default values