docs[patch]: Remove deprecated Airbyte loaders from listings (#23927)

CC @efriis
This commit is contained in:
Jacob Lee 2024-07-09 19:21:25 -07:00 committed by GitHub
parent 68fee3e44b
commit 8dac0fb3f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 107 additions and 1 deletions

View File

@ -1,5 +1,19 @@
{
"cells": [
{
"cell_type": "raw",
"id": "bd931196",
"metadata": {
"vscode": {
"languageId": "raw"
}
},
"source": [
"---\n",
"sidebar_class_name: hidden\n",
"---"
]
},
{
"cell_type": "markdown",
"id": "1f3a5ebf",

View File

@ -1,5 +1,15 @@
{
"cells": [
{
"cell_type": "raw",
"id": "344fc5a3",
"metadata": {},
"source": [
"---\n",
"sidebar_class_name: hidden\n",
"---"
]
},
{
"cell_type": "markdown",
"id": "1f3a5ebf",

View File

@ -1,5 +1,15 @@
{
"cells": [
{
"cell_type": "raw",
"id": "a792e839",
"metadata": {},
"source": [
"---\n",
"sidebar_class_name: hidden\n",
"---"
]
},
{
"cell_type": "markdown",
"id": "1f3a5ebf",

View File

@ -1,5 +1,15 @@
{
"cells": [
{
"cell_type": "raw",
"id": "61c2629c",
"metadata": {},
"source": [
"---\n",
"sidebar_class_name: hidden\n",
"---"
]
},
{
"cell_type": "markdown",
"id": "1f3a5ebf",

View File

@ -1,5 +1,15 @@
{
"cells": [
{
"cell_type": "raw",
"id": "e329385c",
"metadata": {},
"source": [
"---\n",
"sidebar_class_name: hidden\n",
"---"
]
},
{
"cell_type": "markdown",
"id": "1f3a5ebf",

View File

@ -1,5 +1,15 @@
{
"cells": [
{
"cell_type": "raw",
"id": "3169f380",
"metadata": {},
"source": [
"---\n",
"sidebar_class_name: hidden\n",
"---"
]
},
{
"cell_type": "markdown",
"id": "1f3a5ebf",

View File

@ -1,5 +1,15 @@
{
"cells": [
{
"cell_type": "raw",
"id": "87552e5a",
"metadata": {},
"source": [
"---\n",
"sidebar_class_name: hidden\n",
"---"
]
},
{
"cell_type": "markdown",
"id": "1f3a5ebf",

View File

@ -1,5 +1,15 @@
{
"cells": [
{
"cell_type": "raw",
"id": "9a10cdcc",
"metadata": {},
"source": [
"---\n",
"sidebar_class_name: hidden\n",
"---"
]
},
{
"cell_type": "markdown",
"id": "1f3a5ebf",

View File

@ -1,5 +1,15 @@
{
"cells": [
{
"cell_type": "raw",
"id": "41200199",
"metadata": {},
"source": [
"---\n",
"sidebar_class_name: hidden\n",
"---"
]
},
{
"cell_type": "markdown",
"id": "1f3a5ebf",

View File

@ -23,6 +23,18 @@ The following table shows the feature support for all document loaders.
"""
DEPRECATED = [
"AirbyteCDKLoader",
"AirbyteGongLoader",
"AirbyteHubspotLoader",
"AirbyteJSONLoader",
"AirbyteSalesforceLoader",
"AirbyteShopifyLoader",
"AirbyteStripeLoader",
"AirbyteTypeformLoader",
"AirbyteZendeskSupportLoader",
]
def get_document_loader_table() -> str:
"""Get the table of document loaders."""
@ -55,7 +67,7 @@ def get_document_loader_table() -> str:
title = ["Document Loader", "Description", "Lazy loading", "Native async support"]
rows = [title, [":-"] * 2 + [":-:"] * (len(title) - 2)]
for loader, feats in sorted(doc_loaders_feat_table.items()):
if not feats:
if not feats or loader in DEPRECATED:
continue
rows += [
[loader, feats["description"]]