Skip to content

Commit

Permalink
Update to Python 3.7 and upgrade to Beam v2.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
henryken committed Jan 20, 2020
1 parent 4254673 commit 5549f99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion learning/katas/python/course-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ language: English
summary: "This course provides a series of katas to get familiar with Apache Beam.\
\ \n\nApache Beam website – https://beam.apache.org/"
programming_language: Python
programming_language_version: 2.7
programming_language_version: 3.7
content:
- Introduction
- Core Transforms
Expand Down
2 changes: 1 addition & 1 deletion learning/katas/python/log_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, prefix=''):
self.prefix = prefix

def process(self, element, **kwargs):
print self.prefix + str(element)
print(self.prefix + str(element))
yield element

def __init__(self, label=None, prefix=''):
Expand Down
4 changes: 2 additions & 2 deletions learning/katas/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apache-beam==2.13.0
apache-beam[test]==2.13.0
apache-beam==2.17.0
apache-beam[test]==2.17.0

0 comments on commit 5549f99

Please sign in to comment.