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 Oct 11, 2024