1
0
mirror of synced 2026-01-09 15:05:02 -05:00
Commit Graph

12 Commits

Author SHA1 Message Date
Aldo Gonzalez
ad08bcf99c Python Connector Tutorial: Update some instructions and libraries (#38828) 2024-09-21 18:13:12 -06:00
Przemysław Dąbek
66394a80c0 [connector-template] macro to use current year for new connectors (#37397) 2024-04-18 17:15:04 -07:00
Natik Gadzhi
0e9bdf314d connector-templates: move generated code from src so airbyte-ci builds it (#36428)
### What

For newly generated python and low-code connectors, move sources from `src` to `source_%CONN_NAME%` so `airbyte-ci build` can pick them up correctly. Closes #35893.

### What changed?

- Moved the sources from `src`
- Updated package paths in `pyproject.toml` templates

### How to test?

You can make a new connector with `./generate.sh` and verify that it works with Poetry and that it builds with `airbyte-ci build --name source-test`

---
2024-03-25 10:01:30 -07:00
Cole Snodgrass
2e099acc52 update headers from 2022 -> 2023 (#22594)
* It's 2023!

* 2022 -> 2023

---------

Co-authored-by: evantahler <evan@airbyte.io>
2023-02-08 13:01:16 -08:00
Denis Davydov
426e9594cb fix build: run gradlew format (#13265)
* fix build: run gradlew format

* Revert "fix build: run gradlew format"

This reverts commit e679b4f26f.

* fix connector template to fix the build
2022-05-27 17:36:43 +03:00
Marcos Marx
10434372de Change license in connector generator base files (#6522)
* change license in generator base files

* run gradlew scaffold

* format eof

* add eof singer base

* remove license from test_* http source

* format test_incremental http source
2021-09-29 04:45:42 -03:00
Davin Chia
5f7d36efa6 🐛 Add missing dependencies for acceptance tests to run. (#4808) 2021-07-19 12:24:07 +08:00
Davin Chia
945e46b53e Update generator templates to use CDK. (#3316)
* Update singer template.
* Update source python.
* Update http python.
* Fix a bug where the template tests were not previously running.
2021-05-11 06:26:22 +08:00
Davin Chia
f660b0a946 Add template generation for Santa aka CDK. (#3034)
Template generation for new Source using the Santa CDK - provide basic scaffolding for someone implementing a new source.

General approach is to buff up comments in the original SDK, and add TODOs with secondary comments in the generated stub methods, as well as links to existing examples (e.g. Stripe or ExchangeRate api) users can look at.

Checked in and added tests for the generated modules.
2021-04-25 18:02:33 +08:00
Jared Rhizor
30e2e98c49 fix formatting issues (#2045)
* fix formatting issues

* remove space

* unit tests -> format anchor
2021-02-11 13:02:21 -08:00
Christophe Duong
bc207528b3 Add docs in python source templates (#1365)
* Add docstrings to template code (#1320)

* Make standard tests passing on a newly created python source (will make it easier to automate testing of #725)

* Add docstring in python singer source

* Add note on loggers
2020-12-17 19:29:12 +01:00
Sherif A. Nada
92d542c166 Add python source template generator (#740) 2020-10-29 20:29:27 -07:00