Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
run: uv python install ${{ matrix.python }}
- name: Install dependencies
run: uv sync
- uses: nanasess/[email protected]
- name: ${{ matrix.python }} / ${{ matrix.scope }}
if: matrix.scope == 'pytest'
run: uv run pytest
Expand Down
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@AGENTS.md
2 changes: 1 addition & 1 deletion DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- vanilla-jsoneditor: ^3.10.0 ([ISC](https://opensource.org/licenses/ISC))
- leaflet: ^1.9.4 ([BSD-2-Clause](https://opensource.org/licenses/BSD-2-Clause))
- leaflet-draw: ^1.0.4 ([MIT](https://opensource.org/licenses/MIT))
- mermaid: ^11.12.0 ([MIT](https://opensource.org/licenses/MIT))
- mermaid: ^11.12.2 ([MIT](https://opensource.org/licenses/MIT))
- plotly.js: ^3.1.1 ([MIT](https://opensource.org/licenses/MIT))
- three: ^0.180.0 ([MIT](https://opensource.org/licenses/MIT))
- @tweenjs/tween.js: ^25.0.0 ([MIT](https://opensource.org/licenses/MIT))
Expand Down
14 changes: 2 additions & 12 deletions examples/sqlite_database/main.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
#!/usr/bin/env python3
import models
from tortoise import Tortoise
from tortoise.contrib.fastapi import register_tortoise

from nicegui import app, ui


async def init_db() -> None:
await Tortoise.init(db_url='sqlite://db.sqlite3', modules={'models': ['models']})
await Tortoise.generate_schemas()


async def close_db() -> None:
await Tortoise.close_connections()

app.on_startup(init_db)
app.on_shutdown(close_db)
register_tortoise(app, db_url='sqlite://db.sqlite3', modules={'models': ['models']}, generate_schemas=True)


@ui.refreshable
Expand Down
3 changes: 1 addition & 2 deletions examples/sqlite_database/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
nicegui>=3.0
tortoise-orm
aiosqlite==0.21.0 # until https://github.com/tortoise/tortoise-orm/issues/2037 is fixed
tortoise-orm>=1.0.0
1 change: 1 addition & 0 deletions nicegui/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ def reset(self) -> None:
self._disconnect_handlers.clear()
self._delete_handlers.clear()
self._exception_handlers[:] = [log.exception]
self._page_exception_handler = None
self.config = AppConfig()
self.colors() # reset colors to default

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

2 changes: 0 additions & 2 deletions nicegui/elements/mermaid/dist/c4Diagram-Q5SP5FFD-C-qpa2nn.js

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions nicegui/elements/mermaid/dist/chunk-4KE642ED-DMtXVwOD.js

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions nicegui/elements/mermaid/dist/chunk-5ZJXQJOJ-BQpwB-Bn.js

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions nicegui/elements/mermaid/dist/chunk-CCU7O4O5-DDF7LoPN.js

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions nicegui/elements/mermaid/dist/chunk-GURL4ZYY-xiUTbDsq.js

This file was deleted.

This file was deleted.

21 changes: 0 additions & 21 deletions nicegui/elements/mermaid/dist/chunk-MBJCTAW2-BUTDUcjL.js

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

2 changes: 0 additions & 2 deletions nicegui/elements/mermaid/dist/chunk-OST53MYA-khpMS8fh.js

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading