Skip to content

Commit

Permalink
refactor: rename CSV component and update Google OAuth imports (langf…
Browse files Browse the repository at this point in the history
…low-ai#4521)

* change csv to data name, change googleauth folder

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and diogocabral committed Nov 26, 2024
1 parent 1815b8e commit 2d5aa8a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backend/base/langflow/components/data/csv_to_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


class CSVToDataComponent(Component):
display_name = "CSV to Data List"
display_name = "Load CSV"
description = "Load a CSV file, CSV from a file path, or a valid CSV string and convert it to a list of Data"
icon = "file-spreadsheet"
beta = True
Expand Down
8 changes: 7 additions & 1 deletion src/backend/base/langflow/components/google/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
from .gmail import GmailLoaderComponent
from .google_drive import GoogleDriveComponent
from .google_drive_search import GoogleDriveSearchComponent
from .google_oauth_token import GoogleOAuthToken

__all__ = ["GmailLoaderComponent", "GoogleDriveComponent", "GoogleDriveSearchComponent"]
__all__ = [
"GmailLoaderComponent",
"GoogleDriveComponent",
"GoogleDriveSearchComponent",
"GoogleOAuthToken",
]

0 comments on commit 2d5aa8a

Please # to comment.