Преглед изворни кода

improve ref manual

(cherry picked from commit 93f33135170c686f7b2ec55ec259ddd1da98ceb7)
jean-robin medori пре 1 недеља
родитељ
комит
9f95e4be32
3 измењених фајлова са 5 додато и 6 уклоњено
  1. 1 1
      taipy/core/notification/core_event_consumer.py
  2. 4 0
      taipy/event/__init__.py
  3. 0 5
      taipy/gui_core/__init__.py

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

@@ -25,6 +25,6 @@ class CoreEventConsumerBase(_CoreEventConsumerBase):
                          suggest="The 'taipy.event.event_consumer.GuiEventConsumer' class")
                          suggest="The 'taipy.event.event_consumer.GuiEventConsumer' class")
         self.__logger.warning(
         self.__logger.warning(
             "The `CoreEventConsumerBase` class is deprecated since taipy 4.1.0. "
             "The `CoreEventConsumerBase` class is deprecated since taipy 4.1.0. "
-            "Please use the `GuiEventConsumer` class instead."
+            "Please use the `GuiEventConsumer^` class instead."
         )
         )
         super().__init__(registration_id, queue)
         super().__init__(registration_id, queue)

+ 4 - 0
taipy/event/__init__.py

@@ -9,5 +9,9 @@
 # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
 # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
 # specific language governing permissions and limitations under the License.
 # specific language governing permissions and limitations under the License.
 
 
+"""# Event management package for Taipy.
+
+This package provides classes and objects to handle Taipy events and trigger actions in response to these events."""
+
 from ..core.notification.event import Event, EventEntityType, EventOperation
 from ..core.notification.event import Event, EventEntityType, EventOperation
 from .event_consumer import GuiEventConsumer
 from .event_consumer import GuiEventConsumer

+ 0 - 5
taipy/gui_core/__init__.py

@@ -9,10 +9,5 @@
 # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
 # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
 # specific language governing permissions and limitations under the License.
 # specific language governing permissions and limitations under the License.
 
 
-"""# Taipy GUI for Scenario Management
-
-This package provides classes that can be used in GUI controls dedicated to scenario management.
-"""
-
 from ._init import *
 from ._init import *
 from .filters import CustomScenarioFilter, DataNodeFilter, DataNodeScenarioFilter, ScenarioFilter
 from .filters import CustomScenarioFilter, DataNodeFilter, DataNodeScenarioFilter, ScenarioFilter