Python - topic()
Creates a new Topic.
from nitric.resources import topicfrom nitric.application import Nitricupdates = topic('updates')Nitric.run()
Parameters
- Name
name
- Required
- Required
- Type
- string
- Description
The name of the topic to create.
Examples
Create a new topic
from nitric.resources import topicfrom nitric.application import Nitricupdates = topic('updates')Nitric.run()
See also
Last updated on Dec 5, 2024