Skip to content

Aj/deleteme/for-discussion-about-architecture#55695

Closed
Aaron ("AJ") Steers (aaronsteers) wants to merge 4 commits intoaldogonzalez8/source-google-drive/decouple-permissions-methods-in-new-classfrom
aj/deleteme/for-discussion-about-architecture
Closed

Aj/deleteme/for-discussion-about-architecture#55695
Aaron ("AJ") Steers (aaronsteers) wants to merge 4 commits intoaldogonzalez8/source-google-drive/decouple-permissions-methods-in-new-classfrom
aj/deleteme/for-discussion-about-architecture

Conversation

… classes, and parent class constructor owns the instantiation
@vercel
Copy link

vercel bot commented Mar 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 5:25pm

Comment on lines -18 to -27
def __init__(self, catalog: Optional[ConfiguredAirbyteCatalog], config: Optional[Mapping[str, Any]], state: Optional[TState]):
super().__init__(
stream_reader=SourceGoogleDriveStreamReader(),
spec_class=SourceGoogleDriveSpec,
catalog=catalog,
config=config,
state=state,
cursor_cls=DefaultFileBasedCursor,
stream_permissions_reader=SourceGoogleDriveStreamPermissionsReader(),
)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to override constructor if we aren't having to pass in classes/objects via constructor.

@aaronsteers
Copy link
Collaborator Author

This was just for conversation. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants