Skip to content

[PR-verification] fix(low-code): support AsyncRetriever in DynamicSchemaLoader - #1179

Closed
Baz (bazarnov) wants to merge 5 commits into
mainfrom
bazarnov/verify-async-dynamic-schema
Closed

Baz (bazarnov) wants to merge 5 commits into
mainfrom
bazarnov/verify-async-dynamic-schema

Conversation

@bazarnov

Copy link
Copy Markdown
Contributor

Validation run for a candidate change. Do not merge, do not review - this PR will be closed after CI completes.

devin-ai-integration Bot and others added 5 commits April 1, 2026 18:09
In create_dynamic_schema_loader, the retriever was created with only
partition_router but not stream_slicer. This caused AsyncRetriever
creation to fail with 'missing required keyword-only argument:
stream_slicer' since AsyncRetriever requires stream_slicer as a
keyword-only argument while SimpleRetriever accepts partition_router.

The fix mirrors the pattern used in create_default_stream, passing
both stream_slicer and partition_router when creating the retriever.

Resolves #766

Co-Authored-By: bot_apk <apk@cognition.ai>
- AsyncRetriever.read_records drives the jobs through stream_slicer.stream_slices() when called without a slice
- DynamicSchemaLoader takes the first Mapping record, skipping the slice log message
- Reject an AsyncRetriever with a partition_router in DynamicSchemaLoader: only the first record is read, so extra jobs would be orphaned
- Add end-to-end discover tests (JSON and CSV downloads), a guard test and a non-record skip test
@github-actions

Copy link
Copy Markdown

👋 Greetings, Airbyte Team Member!

Here are some helpful tips and reminders for your convenience.

💡 Show Tips and Tricks

Testing This CDK Version

You can test this version of the CDK using the following:

# Run the CLI from this branch:
uvx 'git+https://github.com/airbytehq/airbyte-python-cdk.git@bazarnov/verify-async-dynamic-schema#egg=airbyte-python-cdk[dev]' --help

# Update a connector to use the CDK from this branch ref:
cd airbyte-integrations/connectors/source-example
poe use-cdk-branch bazarnov/verify-async-dynamic-schema

PR Slash Commands

Airbyte Maintainers can execute the following slash commands on your PR:

  • /autofix - Fixes most formatting and linting issues
  • /poetry-lock - Updates poetry.lock file
  • /test - Runs connector tests with the updated CDK
  • /prerelease - Triggers a prerelease publish with default arguments
  • /poe build - Regenerate git-committed build artifacts, such as the pydantic models which are generated from the manifest JSON schema in YAML.
  • /poe <command> - Runs any poe command in the CDK environment
📚 Show Repo Guidance

Helpful Resources

📝 Edit this welcome message.

@github-actions

Copy link
Copy Markdown

PyTest Results (Fast)

4 683 tests  +9   4 671 ✅ +9   10m 7s ⏱️ +15s
    1 suites ±0      12 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 7e4773a. ± Comparison against base commit d8d8e6f.

@github-actions

Copy link
Copy Markdown

PyTest Results (Full)

4 686 tests  +9   4 674 ✅ +9   12m 44s ⏱️ - 1m 10s
    1 suites ±0      12 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 7e4773a. ± Comparison against base commit d8d8e6f.

@bazarnov
Baz (bazarnov) deleted the bazarnov/verify-async-dynamic-schema branch September 28, 2026 11:14
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.

1 participant