You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mlcroissant/_src/datasets_test.py:156: in load_records_with_beam_and_test_equality
with test_pipeline.TestPipeline() as pipeline:
../../.venv/lib/python3.11/site-packages/apache_beam/pipeline.py:620: in __exit__
self.result = self.run()
../../.venv/lib/python3.11/site-packages/apache_beam/testing/test_pipeline.py:115: in run
result = super().run(
../../.venv/lib/python3.11/site-packages/apache_beam/pipeline.py:567: in run
return Pipeline.from_runner_api(
../../.venv/lib/python3.11/site-packages/apache_beam/pipeline.py:1015: in from_runner_api
p.transforms_stack = [context.transforms.get_by_id(root_transform_id)]
../../.venv/lib/python3.11/site-packages/apache_beam/runners/pipeline_context.py:106: in get_by_id
self._id_to_obj[id] = self._obj_type.from_runner_api(
../../.venv/lib/python3.11/site-packages/apache_beam/pipeline.py:1451: in from_runner_api
part = context.transforms.get_by_id(transform_id)
../../.venv/lib/python3.11/site-packages/apache_beam/runners/pipeline_context.py:106: in get_by_id
self._id_to_obj[id] = self._obj_type.from_runner_api(
../../.venv/lib/python3.11/site-packages/apache_beam/pipeline.py:1451: in from_runner_api
part = context.transforms.get_by_id(transform_id)
../../.venv/lib/python3.11/site-packages/apache_beam/runners/pipeline_context.py:106: in get_by_id
self._id_to_obj[id] = self._obj_type.from_runner_api(
../../.venv/lib/python3.11/site-packages/apache_beam/pipeline.py:1451: in from_runner_api
part = context.transforms.get_by_id(transform_id)
../../.venv/lib/python3.11/site-packages/apache_beam/runners/pipeline_context.py:106: in get_by_id
self._id_to_obj[id] = self._obj_type.from_runner_api(
../../.venv/lib/python3.11/site-packages/apache_beam/pipeline.py:1437: in from_runner_api
result = AppliedPTransform(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = AppliedPTransform(Create|no filter persons: compute the global index./Create/MaybeReshuffle, MaybeReshuffle)
parent = None, transform = <apache_beam.transforms.core.Create.expand.<locals>.MaybeReshuffle object at 0x7f0ca4c2b790>
full_label = 'Create|no filter persons: compute the global index./Create/MaybeReshuffle'
main_inputs = {'None': <PCollection[Create|no filter persons: compute the global index./Create/FlatMap(<lambda at core.py:3970>).None] at 0x7f0ca4d84550>}
environment_id = None
annotations = {'python_type': b'apache_beam.transforms.core.Create.expand.<locals>.MaybeReshuffle'}
def __init__(
self,
parent, # type: Optional[AppliedPTransform]
transform, # type: Optional[ptransform.PTransform]
full_label, # type: str
main_inputs, # type: Optional[Mapping[str, Union[pvalue.PBegin, pvalue.PCollection]]]
environment_id=None, # type: Optional[str]
annotations=None, # type: Optional[Dict[str, bytes]]
):
# type: (...) -> None
self.parent = parent
self.transform = transform
# Note that we want the PipelineVisitor classes to use the full_label,
# inputs, side_inputs, and outputs fields from this instance instead of the
# ones of the PTransform instance associated with it. Doing this permits
# reusing PTransform instances in different contexts (apply() calls) without
# any interference. This is particularly useful for composite transforms.
self.full_label = full_label
self.main_inputs = dict(main_inputs or {})
> self.side_inputs = tuple() if transform is None else transform.side_inputs
E AttributeError: 'MaybeReshuffle' object has no attribute 'side_inputs'
../../.venv/lib/python3.11/site-packages/apache_beam/pipeline.py:1141: AttributeError
Have only tried with Python 3.11, and I don't see a recommended python version in the pyproject.toml, so this may or may not just be some versioning issue.
Ubuntu 24.04 WSL
Python 3.11
The text was updated successfully, but these errors were encountered:
Getting the following error:
Have only tried with Python 3.11, and I don't see a recommended python version in the
pyproject.toml
, so this may or may not just be some versioning issue.Ubuntu 24.04 WSL
Python 3.11
The text was updated successfully, but these errors were encountered: