Skip to content

pystac extension not handling well name property #63

@huard

Description

@huard

The CMIP6Extension has a name property:

    @property
    def name(self) -> SchemaName:
        return get_args(SchemaName)[0]

but this is not handled well by pystac.extensions: https://github.com/stac-utils/pystac/blob/ba406cb7991f992ac6f38026aa779adcc6a4f67a/pystac/extensions/base.py#L258

where getattr(cls, "name") returns a property object, not the actual name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingimplementationSomething related to a STAC implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions