Importvar

reflex.utils.imports.ImportVar

An import var.

Fields

PropDescription
tag: str | None

The name of the import tag.

is_default: bool | None = False

whether the import is default or named.

alias: str | None = None

The tag alias.

install: bool | None = True

Whether this import need to install the associated lib

render: bool | None = True

whether this import should be rendered or not

package_path: str = '/'

The path of the package to import from.

Methods

SignatureDescription

Built with Reflex