Skip to content

Conversation

@msaipraneeth
Copy link
Contributor

@msaipraneeth msaipraneeth commented Aug 15, 2025

  • Add TestWorkflowContext class implementing WorkflowContext interface
  • Update TestExecutionContext to include system and workflow contexts
  • Update module docstring to document new TestWorkflowContext class
  • GraphParameterType: add QueryCatalog class to default list

msaipraneeth and others added 6 commits August 15, 2025 05:15
- Add TestWorkflowContext class implementing WorkflowContext interface
- Update TestExecutionContext to include system and workflow contexts
- Update module docstring to document new TestWorkflowContext class

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@msaipraneeth msaipraneeth force-pushed the feature/update-testing-contexts branch from 9296ca3 to ab3a8e5 Compare August 18, 2025 06:55
@github-actions
Copy link

github-actions bot commented Aug 18, 2025

Coverage

Coverage Report
File Stmts Miss Cover Missing
init.py 0 0 100%
testing.py 54 14 74% 74 88-92 101 105 109 113 126-127 131 135
dataintegration/init.py 0 0 100%
dataintegration/context.py 53 0 100%
dataintegration/description.py 180 16 91% 46 134-135 139 149 154 168 174 210 224 226 233 348 389 397-398
dataintegration/discovery.py 49 36 27% 27 38-43 55-62 64 66-68 70 84-85 87-90 92-93 95-100 106 108
dataintegration/entity.py 27 1 96% 62
dataintegration/plugins.py 28 5 82% 20 24 28 32 47
dataintegration/ports.py 15 1 93% 32
dataintegration/types.py 112 11 90% 77 89 97 107 142 146-148 158 162 263
dataintegration/parameter/init.py 0 0 100%
dataintegration/parameter/choice.py 23 1 96% 26
dataintegration/parameter/code.py 52 0 100%
dataintegration/parameter/dataset.py 33 5 85% 30-32 51 54
dataintegration/parameter/graph.py 45 8 82% 42 67 70 73-75 85-86
dataintegration/parameter/multiline.py 4 4 0% 3 6 9-10
dataintegration/parameter/password.py 26 13 50% 11-13 17 34-37 39-40 47-49
dataintegration/parameter/resource.py 17 0 100%
dataintegration/typed_entities/init.py 6 0 100%
dataintegration/typed_entities/file.py 136 30 78% 71 75-76 80-81 85-86 90 93 96 149 160-161 183 205 207 225-230 235 253 256-261
dataintegration/typed_entities/quads.py 99 57 42% 90-106 135-139 142-146 149 159 162 179-186 189 192-194 196 199 202-208 210 213-216 219
dataintegration/typed_entities/typed_entities.py 28 2 93% 56-57
dataintegration/utils/init.py 38 13 66% 23 25 29 39-46 49-50
dataintegration/utils/entity_builder.py 86 0 100%
TOTAL 1111 217 80%  

Tests Skipped Failures Errors Time
36 1 💤 0 ❌ 0 🔥 19.318 ⏱

- Add is_text, is_bytes, read_text, read_bytes methods to File class
- Remove separate file_stream.py utility module
- Update tests to use new class-based API
- Maintain gzip decompression and text/binary detection functionality
- Add text_stream() for line-by-line text processing
- Add bytes_stream() for chunk-based binary processing
- Include helper wrapper for consistent bytes API
- Add comprehensive tests for streaming functionality
@seebi seebi merged commit 44886a1 into main Aug 22, 2025
2 checks passed
@seebi seebi deleted the feature/update-testing-contexts branch August 22, 2025 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants