Skip to content

Commit

Permalink
Merge pull request #42 from PrefectHQ/cruft-update
Browse files Browse the repository at this point in the history
ran cruft update and manually edited in rejected changes
  • Loading branch information
zzstoatzz authored Nov 16, 2022
2 parents 490a4c8 + d05ba1a commit 18e7c79
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/PrefectHQ/prefect-collection-template",
"commit": "0f453a7cd6b0365e16c326a5e3350fe582b07086",
"commit": "61a4158a76515426f7a1736215565d486b379045",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
42 changes: 19 additions & 23 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,28 @@
<!--
Thanks for opening a pull request to prefect-airbyte 🎉!
<!-- Thanks for contributing 🎉! Please ensure the title neatly summarizes the proposed changes. -->

We've got a few requests to help us review contributions:
<!-- Overview -->

- Make sure that your title neatly summarizes the proposed changes.
- Provide a short overview of the change and the value it adds.
- Share an example to help us understand the change in user experience.
- Run `pre-commit install && pre-commit run --all` for linting.
Happy engineering!
-->

<!-- Include an overview here -->

<!-- Link to issue -->
Closes #
Closes

### Example
<!--
Share an example of the change in action.
A code blurb is best. Changes to features should include an example that is executable by a new user.
<!-- A code blurb is best. Changes to features should include an example that is executable by a new user. -->

### Screenshots
<!--
Any relevant screenshots
- The updated docs page from `mkdocs serve`.
- Output from running the example.
- Service integration test results.
-->

### Checklist
<!-- These boxes may be checked after opening the pull request. -->

- [ ] This pull request references any related issue by including "Closes #<ISSUE_NUMBER>"
- If no issue exists and your change is not a small fix, please [create an issue](https://github.com/PrefectHQ/prefect-airbyte/issues/new/choose) first.
- [ ] This pull request includes tests or only affects documentation.
- [ ] Summarized PR's changes in [CHANGELOG.md](https://github.com/PrefectHQ/prefect-airbyte/blob/main/CHANGELOG.md)
- [ ] References any related issue by including "Closes #<Issue Number>" or "Closes <Issue URL>".
- If no issue exists and your change is not a small fix, please [create an issue](https://github.com/PrefectHQ/prefect-airbyte/issues/new/choose) first.
- [ ] Includes tests or only affects documentation.
- [ ] Passes `pre-commit` checks.
- Run `pre-commit install && pre-commit run --all` locally for formatting and linting.
- [ ] Includes screenshots of documentation updates.
- Run `mkdocs serve` view documentation locally.
- [ ] Summarizes PR's changes in [CHANGELOG.md](https://github.com/PrefectHQ/prefect-airbyte/blob/main/CHANGELOG.md)
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ repos:
- id: interrogate
args: [-vv]
pass_filenames: false
- repo: https://github.com/fsouza/autoflake8
rev: v0.3.2
hooks:
- id: autoflake8
language_version: python3
args: [
'--in-place',
]
8 changes: 4 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ plugins:
- mkdocstrings:
handlers:
python:
rendering:
options:
show_root_heading: True
show_object_full_path: False
show_category_heading: True
show_bases: True
show_signature: False
heading_level: 1
watch:
- prefect_airbyte/
- README.md
watch:
- prefect_airbyte/
- README.md
nav:
- Home: index.md
- Client: client.md
Expand Down
2 changes: 2 additions & 0 deletions prefect_airbyte/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from . import _version

from prefect_airbyte.server import AirbyteServer # noqa F401

__version__ = _version.get_versions()["version"]
14 changes: 0 additions & 14 deletions prefect_airbyte/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,52 +6,38 @@ class ConnectionNotFoundException(Exception):
Raises when a requested Airbyte connection cannot be found.
"""

pass


class AirbyteServerNotHealthyException(Exception):
"""
Raises when a specified Airbyte instance returns an unhealthy response.
"""

pass


class JobNotFoundException(Exception):
"""
Raises when a requested Airbyte job cannot be found.
"""

pass


class AirbyteSyncJobFailed(Exception):
"""
Raises when a specified Airbyte Sync Job fails.
"""

pass


class AirbyteExportConfigurationFailed(Exception):
"""
Raises when an Airbyte configuration export fails.
"""

pass


class AirbyteConnectionInactiveException(Exception):
"""
Raises when a specified Airbyte connection is inactive.
"""

pass


class AirbyeConnectionDeprecatedException(Exception):
"""
Raises when a specified Airbyte connection is deprecated.
"""

pass
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
python_requires=">=3.7",
install_requires=install_requires,
extras_require={"dev": dev_requires},
entry_points={
"prefect.collections": [
"prefect_airbyte = prefect_airbyte",
]
},
classifiers=[
"Natural Language :: English",
"Intended Audience :: Developers",
Expand Down

0 comments on commit 18e7c79

Please sign in to comment.