skrawcz commented on PR #732: URL: https://github.com/apache/burr/pull/732#issuecomment-4225044062
@mvanhorn all the test failures are related to this change. can you run the unit tests locally please? > ERROR tests/core/test_action.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/core/test_application.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/core/test_graph.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/core/test_graphviz_display.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/core/test_implementations.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/core/test_parallelism.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/core/test_persistence.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/core/test_state.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/core/test_validation.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/integration_tests/test_app.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/integrations/serde/test_langchain.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/integrations/serde/test_pandas.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/integrations/serde/test_pickle.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/integrations/serde/test_pydantic.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/integrations/test_burr_hamilton.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/integrations/test_burr_haystack.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/integrations/test_burr_opentelemetry.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/integrations/test_burr_pydantic.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/integrations/test_burr_pydantic_future_annotations.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/integrations/test_burr_ray.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/integrations/test_opentelemetry.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/test_end_to_end.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/tracking/test_common_models.py - AttributeError: module 'types' has no attribute 'UnionType' > ERROR tests/tracking/test_local_tracking_client.py - AttributeError: module 'types' has no attribute 'UnionType' Otherwise, can you create an example that has: > stream_type=MyModel1 | MyModel2 # works and that pyright doesn't complain about? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
