Jennifer88huang commented on a change in pull request #5625: [Issue 5618] [docs]Correct python example URL: https://github.com/apache/pulsar/pull/5625#discussion_r345045470
########## File path: site2/docs/functions-develop.md ########## @@ -235,20 +234,20 @@ In order to use this class in Pulsar Functions, you have two options: 2. You can create your own SerDe class. The following is an example. ```python - from pulsar import SerDe +from pulsar import SerDe - class TweetSerDe(SerDe): - def __init__(self, tweet): - self.tweet = tweet +class TweetSerDe(SerDe): + def __init__(self): + pass Review comment: Got it, thanks for your confirmation. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
