Parcourir la source

fixed wrong example

Toan Quach il y a 1 an
Parent
commit
7214db49c4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      taipy/core/notification/notifier.py

+ 1 - 1
taipy/core/notification/notifier.py

@@ -138,7 +138,7 @@ class Notifier:
         Example usage:
 
         ```python
-        registration_id, registered_queue = Notifier.unregister(
+        registration_id, registered_queue = Notifier.register(
             entity_type=EventEntityType.CYCLE,
             entity_id="CYCLE_cycle_1",
             operation=EventOperation.CREATION