Skip to content

Commit

Permalink
refactor: remove low-code template and update Python/CDK versions (#5…
Browse files Browse the repository at this point in the history
…3235)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Natik Gadzhi <[email protected]>
  • Loading branch information
3 people authored Feb 8, 2025
1 parent ed19a15 commit b889bcd
Show file tree
Hide file tree
Showing 25 changed files with 7 additions and 425 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ For information about how to use this connector within Airbyte, see [the documen

### Prerequisites

* Python (`^3.9`)
* Python (`^3.10`)
* Poetry (`^1.7`) - installation instructions [here](https://python-poetry.org/docs/#installation)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ repository = "https://github.com/airbytehq/airbyte"
packages = [ { include = "destination_{{snakeCase name}}" }, {include = "main.py" } ]

[tool.poetry.dependencies]
python = "^3.9,<3.12"
airbyte-cdk = "^0"
python = "^3.10,<3.12"
airbyte-cdk = "^6.33.0"
[tool.poetry.scripts]
destination-{{dashCase name}} = "destination_{{snakeCase name}}.run:run"
Expand Down
30 changes: 0 additions & 30 deletions airbyte-integrations/connector-templates/generator/plopfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ module.exports = function (plop) {
"../connector_acceptance_test_files";

const pythonSourceInputRoot = "../source-python";
const lowCodeSourceInputRoot = "../source-low-code";
const pythonDestinationInputRoot = "../destination-python";

const outputDir = "../../connectors";
Expand Down Expand Up @@ -146,33 +145,4 @@ module.exports = function (plop) {
],
});

plop.setGenerator("Low-code Source", {
description:
"Generate a source based on the low-code CDK.",
prompts: [
{
type: "input",
name: "name",
message: 'Source name e.g: "google-analytics"',
},
],
actions: [
{
abortOnFail: true,
type: "addMany",
destination: pythonSourceOutputRoot,
base: lowCodeSourceInputRoot,
templateFiles: `${lowCodeSourceInputRoot}/**/**`,
},
// common acceptance tests
{
abortOnFail: true,
type: "addMany",
destination: pythonSourceOutputRoot,
base: connectorAcceptanceTestFilesInputRoot,
templateFiles: `${connectorAcceptanceTestFilesInputRoot}/**/**`,
},
{ type: "emitSuccess", outputPath: pythonSourceOutputRoot },
],
});
};
103 changes: 0 additions & 103 deletions airbyte-integrations/connector-templates/source-low-code/README.md.hbs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit b889bcd

Please sign in to comment.