robert-s-lee / lit_postgres

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lit_postgres component

This ⚡ Lightning component ⚡ was generated automatically with:

lightning init component lit_postgres

To run lit_postgres

First, install lit_postgres (warning: this component has not been officially approved on the lightning gallery):

lightning install component https://github.com/theUser/lit_postgres

Once the app is installed, use it in an app:

from lit_postgres import TemplateComponent
import lightning as L


class LitApp(L.LightningFlow):
    def __init__(self) -> None:
        super().__init__()
        self.lit_postgres = TemplateComponent()

    def run(self):
        print("this is a simple Lightning app to verify your component is working as expected")
        self.lit_postgres.run()


app = L.LightningApp(LitApp())

About

License:Apache License 2.0


Languages

Language:Python 100.0%