Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[SelectiveAuthenticator] TypeError when attempting to create SessionTokenAuthenticator

Open
#422 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
python

Research direction

Start in airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py, reading create_selective_authenticator and create_session_token_authenticator at the referenced locations. Reproduce creation of a SelectiveAuthenticator containing a SessionTokenAuthenticator, then verify the resulting component no longer raises the missing-name TypeError.

Written by the indexing model from the issue text.

Description

community

Component

SelectiveAuthenticator Component Factory

Description

Attempting to create a SelectiveAuthenticator which includes a SessionTokenAuthenticator currently fails with TypeError: ModelToComponentFactory.create_session_token_authenticator() missing 1 required positional argument: "'name' ","failure_type":"system_error"

This is because create_selective_authenticator does not pass kwargs to the ModelToComponentFactory._create_component_from_modelwhen creating authenticators for the SelectiveAuthenticator. kwargs contains the name argument passed down from create_declarative_streamwhich is required in create_session_token_authenticator

Proposed solution

Pass kwargs to _create_component_from_model when creating authenticators for SelectiveAuthenticator

✅ Yes, I want to contribute

Dominant language
Python
Stars
26
Forks
53
Avg merge
7d 2h
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from airbytehq/airbyte-python-cdk

All issues in airbytehq/airbyte-python-cdk

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.