Added event handling support to VisNetwork and enhanced component documentation

This commit is contained in:
2025-12-02 20:46:54 +01:00
parent e34d675e38
commit 378775cdf9
12 changed files with 123 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
import pytest
from myfasthtml.core.instances import SingleInstance
from myfasthtml.core.instances import SingleInstance, InstancesManager
class RootInstanceForTests(SingleInstance):
@@ -25,4 +25,5 @@ def session():
@pytest.fixture(scope="session")
def root_instance(session):
InstancesManager.reset()
return RootInstanceForTests(session=session)