beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-5264) Reference DirectRunner implementation of Python user state and timers API
Date Mon, 03 Sep 2018 15:07:09 GMT


ASF GitHub Bot logged work on BEAM-5264:

                Author: ASF GitHub Bot
            Created on: 03/Sep/18 15:06
            Start Date: 03/Sep/18 15:06
    Worklog Time Spent: 10m 
      Work Description: robertwb commented on a change in pull request #6304: [BEAM-5264]
Reference DirectRunner implementation of Python User State and Timers API

 File path: sdks/python/apache_beam/runners/direct/
 @@ -0,0 +1,115 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# See the License for the specific language governing permissions and
+# limitations under the License.
+"""Support for user state in the BundleBasedDirectRunner."""
+from __future__ import absolute_import
+from apache_beam.transforms.trigger import _ListStateTag
+from apache_beam.transforms.userstate import BagStateSpec
 Review comment:
   I know we haven't been very consistent about this in the codebase, but I'd prefer importing
modules rather than each individual class when possible (similar to the suggestion in the
Google style guide). 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 140607)
    Time Spent: 2h  (was: 1h 50m)

> Reference DirectRunner implementation of Python user state and timers API
> -------------------------------------------------------------------------
>                 Key: BEAM-5264
>                 URL:
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>    Affects Versions: 2.6.0
>            Reporter: Charles Chen
>            Assignee: Charles Chen
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
> This issue tracks the reference DirectRunner implementation of the Beam Python User
State and Timer API, described here: [].

This message was sent by Atlassian JIRA

View raw message