We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1b0e6c commit e86d866Copy full SHA for e86d866
code-samples/eventing/bookstore-sample-app/ML-inappropriate-language-filter/func.py
@@ -1,6 +1,6 @@
1
from parliament import Context
2
from profanity_check import predict
3
-from cloudevents.http import CloudEvent, to_structured
+from cloudevents.http import CloudEvent
4
5
# The function to convert the bad word filter result into a CloudEvent
6
def create_cloud_event(inputText,data):
0 commit comments