Skip to content

Conversation

@gazpachoking
Copy link
Contributor

There are a few cleanups in here that I've separated out from #850.

  • Add settings and lint/format all files with ruff
  • Update all examples to use datastar 1.0 beta 11 (some of them were broken without this)
  • Make all examples executable directly with uv run e.g. uv run examples/python/sanic/app.py will install necessary python and deps and run the example.

I did this on top of the branch from #850 to avoid having to fix merge conflicts, assuming that will go in. The diff for just this change can be viewed here gazpachoking/datastar@read_signals...gazpachoking:datastar:new_cleanup

@gazpachoking
Copy link
Contributor Author

@lllama

@bencroker
Copy link
Collaborator

Please resolve conflicts and I’ll merge.

# Conflicts:
#	examples/python/django/ds/views.py
#	examples/python/fastapi/app.py
#	examples/python/fasthtml/simple.py
#	examples/python/litestar/app.py
#	examples/python/quart/app.py
#	examples/python/sanic/app.py
#	sdk/python/src/datastar_py/django.py
#	sdk/python/src/datastar_py/fastapi.py
#	sdk/python/src/datastar_py/fasthtml.py
#	sdk/python/src/datastar_py/litestar.py
#	sdk/python/src/datastar_py/quart.py
#	sdk/python/src/datastar_py/sanic.py
#	sdk/python/src/datastar_py/starlette.py
@bencroker bencroker merged commit e7e88a8 into starfederation:develop Jun 2, 2025
1 check passed
@bencroker
Copy link
Collaborator

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants