pglet / pglet-python

Python client for Pglet - build real-time interactive web apps in Python
MIT License
18 stars 7 forks source link

Minor fixes to examples to work with PR #56 #58

Closed mikaelho closed 2 years ago

mikaelho commented 2 years ago

Setting up my development environment I noticed couple of the "essential" examples needed updating.

In order to test the PR flow, I am creating this PR with these 2 small fixes instead of waiting for something more substantial to contribute.

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

FeodorFitsner commented 2 years ago

Ah, nice catch!

In hello-app.py example getting session ID could be done with just page.session_id: https://github.com/pglet/examples/blob/main/python/hello-world/hello-app.py#L6