Symbol#

class nominal.core.Symbol(kind, value)#

Bases: object

A symbol used to identify a resource in the Nominal app.

Construct with Symbol.icon, Symbol.emoji, or Symbol.image rather than calling the constructor directly.

kind: SymbolKind#
value: str#
classmethod emoji(name)#

A symbol from an emoji name, e.g. :castle:.

Return type:

Self

classmethod icon(name)#

A symbol from a named icon, e.g. castle.

Return type:

Self

classmethod image(url)#

A symbol from the URL of an image.

Return type:

Self