You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "sadovnychyi (via GitHub)" <gi...@apache.org> on 2023/07/24 22:54:05 UTC

[GitHub] [beam] sadovnychyi opened a new pull request, #27646: Fix stateful processing using direct runner with type checks enabled

sadovnychyi opened a new pull request, #27646:
URL: https://github.com/apache/beam/pull/27646

   Closes #27167
   
   This was discovered while trying to use `beam.GroupIntoBatches` but I'm pretty sure the test could be more generic, hopefully that's fine as is. Also would appreciate if anybody can suggest something better than `hasattr` check.
   
   -----
   
   **Please** add a meaningful description for your change here
   
   ------------------------
   
   Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
   
    - [x] Mention the appropriate issue in your description (for example: `addresses #123`), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment `fixes #<ISSUE NUMBER>` instead.
    - [ ] Update `CHANGES.md` with noteworthy changes.
    - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   See the [Contributor Guide](https://beam.apache.org/contribute) for more tips on [how to make review process smoother](https://beam.apache.org/contribute/get-started-contributing/#make-the-reviewers-job-easier).
   
   To check the build health, please visit [https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md](https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md)
   
   GitHub Actions Tests Status (on master branch)
   ------------------------------------------------------------------------------------------------
   [![Build python source distribution and wheels](https://github.com/apache/beam/workflows/Build%20python%20source%20distribution%20and%20wheels/badge.svg?branch=master&event=schedule)](https://github.com/apache/beam/actions?query=workflow%3A%22Build+python+source+distribution+and+wheels%22+branch%3Amaster+event%3Aschedule)
   [![Python tests](https://github.com/apache/beam/workflows/Python%20tests/badge.svg?branch=master&event=schedule)](https://github.com/apache/beam/actions?query=workflow%3A%22Python+Tests%22+branch%3Amaster+event%3Aschedule)
   [![Java tests](https://github.com/apache/beam/workflows/Java%20Tests/badge.svg?branch=master&event=schedule)](https://github.com/apache/beam/actions?query=workflow%3A%22Java+Tests%22+branch%3Amaster+event%3Aschedule)
   [![Go tests](https://github.com/apache/beam/workflows/Go%20tests/badge.svg?branch=master&event=schedule)](https://github.com/apache/beam/actions?query=workflow%3A%22Go+tests%22+branch%3Amaster+event%3Aschedule)
   
   See [CI.md](https://github.com/apache/beam/blob/master/CI.md) for more information about GitHub Actions CI.
   


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on a diff in pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on code in PR #27646:
URL: https://github.com/apache/beam/pull/27646#discussion_r1283480976


##########
sdks/python/apache_beam/typehints/typecheck.py:
##########
@@ -49,6 +49,13 @@ def __init__(self, dofn):
     super().__init__()
     self.dofn = dofn
 
+  def __getattribute__(self, name):

Review Comment:
   also we should now be able to drop `setup` and `teardown` overrides.



-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1652592748

   Upon closer look, it seems that current design would still be prone to similar gaps.
   
   > Also would appreciate if anybody can suggest something better than hasattr check.
   
   I wonder if overriding `AbstractDoFnWrapper__getattr__` would help:
   
   ```
   def __getattr__(self, attr):
     return getattr(self.dofn, attr)
   ```  


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] jrmccluskey commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "jrmccluskey (via GitHub)" <gi...@apache.org>.
jrmccluskey commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1653832666

   The unit test that is failing consistently - https://github.com/apache/beam/blob/master/sdks/python/apache_beam/transforms/ptransform_test.py#L2043 - getting `TypeError: sequence item 0: expected str instance, int found` instead of a `typehints.TypeCheckError` with the content `Runtime type violation detected within ParDo(SortJoin/KeyWithVoid): Type-hint for argument: 'v' violated. Expected an instance of str, instead found 0, an instance of int.`
   
   So it looks like we're hitting some issues with this type mismatch getting surfaced incorrectly with the change here. 


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] sadovnychyi commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "sadovnychyi (via GitHub)" <gi...@apache.org>.
sadovnychyi commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1666502738

   > Looks like tests are passing. for my education, why was the Don't proxy internal methods into dofn commit necessary?
   
   This was the easiest fix for `test_combine_runtime_type_check_violation_using_methods`.
   
   > also please update the PR description.
   
   Done!


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1658747966

   also please update the PR description.


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] codecov[bot] commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1648744383

   ## [Codecov](https://app.codecov.io/gh/apache/beam/pull/27646?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   > Merging [#27646](https://app.codecov.io/gh/apache/beam/pull/27646?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (32ee595) into [master](https://app.codecov.io/gh/apache/beam/commit/152626396c7a421093f9c8fb3b646a2e4776dd38?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (1526263) will **decrease** coverage by `0.16%`.
   > The diff coverage is `5.32%`.
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #27646      +/-   ##
   ==========================================
   - Coverage   71.09%   70.94%   -0.16%     
   ==========================================
     Files         859      861       +2     
     Lines      104555   104799     +244     
   ==========================================
   + Hits        74338    74349      +11     
   - Misses      28660    28893     +233     
     Partials     1557     1557              
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | python | `80.01% <5.32%> (-0.27%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Files Changed](https://app.codecov.io/gh/apache/beam/pull/27646?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [.../apache\_beam/ml/inference/huggingface\_inference.py](https://app.codecov.io/gh/apache/beam/pull/27646?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vbWwvaW5mZXJlbmNlL2h1Z2dpbmdmYWNlX2luZmVyZW5jZS5weQ==) | `0.00% <0.00%> (ø)` | |
   | [...xamples/inference/huggingface\_language\_modeling.py](https://app.codecov.io/gh/apache/beam/pull/27646?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZXhhbXBsZXMvaW5mZXJlbmNlL2h1Z2dpbmdmYWNlX2xhbmd1YWdlX21vZGVsaW5nLnB5) | `13.23% <13.23%> (ø)` | |
   | [sdks/python/apache\_beam/typehints/typecheck.py](https://app.codecov.io/gh/apache/beam/pull/27646?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdHlwZWhpbnRzL3R5cGVjaGVjay5weQ==) | `97.66% <100.00%> (+0.04%)` | :arrow_up: |
   
   ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/apache/beam/pull/27646/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1658747118

   Looks like tests are passing. for my education, why was the `Don't proxy internal methods into dofn` commit necessary?
    


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] sadovnychyi commented on a diff in pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "sadovnychyi (via GitHub)" <gi...@apache.org>.
sadovnychyi commented on code in PR #27646:
URL: https://github.com/apache/beam/pull/27646#discussion_r1285245924


##########
sdks/python/apache_beam/typehints/typecheck.py:
##########
@@ -49,6 +49,13 @@ def __init__(self, dofn):
     super().__init__()
     self.dofn = dofn
 
+  def __getattribute__(self, name):

Review Comment:
   With this change the setup and teardown are no longer called in here:
   
   https://github.com/apache/beam/blob/81cd93a8640c4f3994c68e091044e8e4e7c3f081/sdks/python/apache_beam/typehints/typecheck_test.py#L101-L122
   
   Reverted for now: https://github.com/apache/beam/pull/27646/commits/81cd93a8640c4f3994c68e091044e8e4e7c3f081
   
   Any way we can proceed as is? Otherwise please suggest where to start digging, thanks!



-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1671901706

   Run Portable_Python PreCommit


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] sadovnychyi commented on a diff in pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "sadovnychyi (via GitHub)" <gi...@apache.org>.
sadovnychyi commented on code in PR #27646:
URL: https://github.com/apache/beam/pull/27646#discussion_r1274853416


##########
sdks/python/apache_beam/transforms/util_test.py:
##########
@@ -1041,6 +1042,23 @@ def test_output_typehints(self):
               ShardedKeyType[typehints.Tuple[int, int]],  # type: ignore[misc]
               typehints.Iterable[str]])
 
+  def test_with_type_hints(self):
+    options = PipelineOptions()
+    options.view_as(TypeOptions).runtime_type_check = True
+    with TestPipeline(options=options) as pipeline:
+      collection = pipeline \

Review Comment:
   Love it, done.
   
   YAPF seems to be way behind `black` in this regard, I *think* I remember seeing somewhere you folks talking about migrating to black, was it a dead end? 



-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1671901926

   Run Python_PVR_Flink PreCommit


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on a diff in pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on code in PR #27646:
URL: https://github.com/apache/beam/pull/27646#discussion_r1274215622


##########
sdks/python/apache_beam/transforms/util_test.py:
##########
@@ -1041,6 +1042,23 @@ def test_output_typehints(self):
               ShardedKeyType[typehints.Tuple[int, int]],  # type: ignore[misc]
               typehints.Iterable[str]])
 
+  def test_with_type_hints(self):
+    options = PipelineOptions()
+    options.view_as(TypeOptions).runtime_type_check = True
+    with TestPipeline(options=options) as pipeline:
+      collection = pipeline \

Review Comment:
   nit / personal opinion: you can use brackets instead of line continuation tokens



##########
sdks/python/apache_beam/transforms/util_test.py:
##########
@@ -1041,6 +1042,23 @@ def test_output_typehints(self):
               ShardedKeyType[typehints.Tuple[int, int]],  # type: ignore[misc]
               typehints.Iterable[str]])
 
+  def test_with_type_hints(self):

Review Comment:
   `test_runtime_type_check` might be a better name.



-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] sadovnychyi commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "sadovnychyi (via GitHub)" <gi...@apache.org>.
sadovnychyi commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1653668827

   > there is also a better example than what I suggested:
   > 
   > https://github.com/apache/beam/blob/d3ea23250b5ef9967ff8044033e754602758fabc/sdks/python/apache_beam/transforms/core.py#L2226
   > 
   > , you could try that.
   
   Thank you! It worked with a tiny change because of inheritance. Will see whether this passes the whole test suite. 


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn merged pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn merged PR #27646:
URL: https://github.com/apache/beam/pull/27646


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] sadovnychyi commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "sadovnychyi (via GitHub)" <gi...@apache.org>.
sadovnychyi commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1648733130

   R: @tvalentyn


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1652698504

   there is also a better example than what I suggested: https://github.com/apache/beam/blob/d3ea23250b5ef9967ff8044033e754602758fabc/sdks/python/apache_beam/transforms/core.py#L2226 , you could try that.


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] jrmccluskey commented on a diff in pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "jrmccluskey (via GitHub)" <gi...@apache.org>.
jrmccluskey commented on code in PR #27646:
URL: https://github.com/apache/beam/pull/27646#discussion_r1276412955


##########
sdks/python/apache_beam/transforms/util_test.py:
##########
@@ -1041,6 +1042,23 @@ def test_output_typehints(self):
               ShardedKeyType[typehints.Tuple[int, int]],  # type: ignore[misc]
               typehints.Iterable[str]])
 
+  def test_with_type_hints(self):
+    options = PipelineOptions()
+    options.view_as(TypeOptions).runtime_type_check = True
+    with TestPipeline(options=options) as pipeline:
+      collection = pipeline \

Review Comment:
   We're still on yapf as far as our style infra, idk if anyone is actively investigating alternatives right now



-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1671905024

   thanks! rerunning remaining suites, feel free to ping this PR if not merged after tests pass.


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] sadovnychyi commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "sadovnychyi (via GitHub)" <gi...@apache.org>.
sadovnychyi commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1652625744

   > I wonder if overriding AbstractDoFnWrapper__getattr__ would help:
   
   It falls into a recursion like so:
   
   ```
     File "/Users/sadovnychyi/github.com/beam/sdks/python/apache_beam/runners/direct/transform_evaluator.py", line 834, in start_bundle
       pickler.loads(pickler.dumps(transform.dofn))
     File "/Users/sadovnychyi/github.com/beam/sdks/python/apache_beam/internal/pickler.py", line 51, in loads
       return desired_pickle_lib.loads(
              ^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/Users/sadovnychyi/github.com/beam/sdks/python/apache_beam/internal/dill_pickler.py", line 422, in loads
       return dill.loads(s)
              ^^^^^^^^^^^^^
     File "/Users/sadovnychyi/github.com/beam/.venv/lib/python3.11/site-packages/dill/_dill.py", line 275, in loads
       return load(file, ignore, **kwds)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/Users/sadovnychyi/github.com/beam/.venv/lib/python3.11/site-packages/dill/_dill.py", line 270, in load
       return Unpickler(file, ignore=ignore, **kwds).load()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/Users/sadovnychyi/github.com/beam/.venv/lib/python3.11/site-packages/dill/_dill.py", line 472, in load
       obj = StockUnpickler.load(self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/Users/sadovnychyi/github.com/beam/sdks/python/apache_beam/typehints/typecheck.py", line 57, in __getattr__
       return getattr(self.dofn, attr)
                      ^^^^^^^^^
     File "/Users/sadovnychyi/github.com/beam/sdks/python/apache_beam/typehints/typecheck.py", line 57, in __getattr__
       return getattr(self.dofn, attr)
                      ^^^^^^^^^
     File "/Users/sadovnychyi/github.com/beam/sdks/python/apache_beam/typehints/typecheck.py", line 57, in __getattr__
       return getattr(self.dofn, attr)
                      ^^^^^^^^^
     [Previous line repeated 2985 more times]
   RecursionError: maximum recursion depth exceeded while calling a Python object
   
   ----------------------------------------------------------------------
   Ran 8 tests in 2.809s
   
   FAILED (errors=1)
   ```
   


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1652535946

   Run Portable_Python PreCommit


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] github-actions[bot] commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1648733934

   Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] sadovnychyi commented on pull request #27646: Fix stateful processing using direct runner with type checks enabled

Posted by "sadovnychyi (via GitHub)" <gi...@apache.org>.
sadovnychyi commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1666593874

   I see that some tests are failing now -- I'll take a look next week. 


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org