GitHub source

evo.objects.typed.attributes.PendingAttribute

A placeholder for an attribute that doesn't exist yet on a Geoscience Object.

This is returned when accessing an attribute by name that doesn't exist. It can be used as a target for compute tasks, which will create the attribute.

name

name: str

The name of this attribute.

exists

exists: bool

Whether this attribute exists on the object.

Returns:

Type Description
bool

False for pending attributes.

__init__

__init__(parent: 'Attributes', name: str) -> None

Parameters:

Name Type Description Default
parent 'Attributes'

The Attributes collection this pending attribute belongs to.

required
name str

The name of the attribute to create.

required