You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by gi...@apache.org on 2019/01/30 01:33:16 UTC

[beam] branch asf-site updated: Publishing website 2019/01/30 01:33:11 at commit 39c4320

This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new f475a9f  Publishing website 2019/01/30 01:33:11 at commit 39c4320
f475a9f is described below

commit f475a9f31ad3c5fa95d8bca3f0a352507f94ef0d
Author: jenkins <bu...@apache.org>
AuthorDate: Wed Jan 30 01:33:11 2019 +0000

    Publishing website 2019/01/30 01:33:11 at commit 39c4320
---
 .../documentation/sdks/python-type-safety/index.html                  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/website/generated-content/documentation/sdks/python-type-safety/index.html b/website/generated-content/documentation/sdks/python-type-safety/index.html
index 774ce3c..9037203 100644
--- a/website/generated-content/documentation/sdks/python-type-safety/index.html
+++ b/website/generated-content/documentation/sdks/python-type-safety/index.html
@@ -443,10 +443,10 @@ p.run()
 
 class PlayerCoder(beam.coders.Coder):
   def encode(self, player):
-    return '%s:%s' % (player.team, player.name)
+    return ('%s:%s' % (player.team, player.name)).encode('utf-8')
 
   def decode(self, s):
-    return Player(*s.split(':'))
+    return Player(*s.decode('utf-8').split(':'))
 
   def is_deterministic(self):
     return True