<#3268 refactor: Deprecate the `stream` attribute ...
# meltano-repo-activity
g
#3268 refactor: Deprecate the
stream
attribute in authenticator constructors and also deprecate the
create_for_stream
method
Pull request opened by edgarrmondragon on <!date^1757556873^{date_short}|2025-09-11T02:14:33Z> ## Related • #1665 ## Summary by Sourcery Deprecate and remove the legacy
stream
constructor parameter and related
create_for_stream
methods across authenticator classes, updating instantiation patterns in templates and examples to use direct keyword args for credentials and emitting deprecation warnings; adjust tests, documentation samples, and the pyproject warning filter accordingly. Enhancements: • Refactor authenticator constructors to accept generic args/kwargs instead of a
stream
object and issue deprecation warnings when
stream
is passed • Deprecate
create_for_stream
class methods and the
tap_name
and
config
properties in APIAuthenticatorBase • Update default authenticator creation in RESTStream and cookiecutter templates to drop
stream
arguments and call constructors directly Build: • Add SingerSDKDeprecationWarning to the pyproject.toml warnings filter Documentation: • Revise code samples and cookiecutter templates to instantiate authenticators without
stream
or
create_for_stream
• Adjust OAuth auth template bodies to use
client_id
and
client_secret
properties instead of
config
entries Tests: • Update unit tests to expect the additional deprecation warning and verify warning counts meltano/sdk