MetadataAttribute

class MetadataAttribute

A metadata annotation attribute

Members defined in MetadataAttribute (3 members)

name

R

Name of this attribute

short_name

R

Short name of this attribute

format

Formatted metadata attribute string including feature value.

Attributes

property name: str | None

Name of this attribute

property short_name: str | None

Short name of this attribute

Methods

format(config: syside.PrinterConfig = ...) str

Formatted metadata attribute string including feature value.

Examples:

  • a = 4

config will be used to pretty-print the formatted string.

Used in