From 49433e9a52f55b29d75f1edf24297579e5dad40d Mon Sep 17 00:00:00 2001 From: Luishfs Date: Fri, 26 Apr 2024 04:09:31 -0300 Subject: [PATCH] removed unused files & applied changes from airbyte-to-flow --- source-github/.dockerignore | 6 - source-github/README.md | 91 - source-github/acceptance-test-config.yml | 79 - source-github/acmeCo/assignees.schema.yaml | 79 - source-github/acmeCo/branches.schema.yaml | 54 - .../acmeCo/collaborators.schema.yaml | 96 - source-github/acmeCo/comments.schema.yaml | 126 - .../commit_comment_reactions.schema.yaml | 100 - .../acmeCo/commit_comments.schema.yaml | 134 - source-github/acmeCo/commits.schema.yaml | 294 - source-github/acmeCo/deployments.schema.yaml | 209 - source-github/acmeCo/events.schema.yaml | 148 - source-github/acmeCo/flow.yaml | 742 +- .../issue_comment_reactions.schema.yaml | 100 - source-github/acmeCo/issue_events.schema.yaml | 243 - .../acmeCo/issue_milestones.schema.yaml | 148 - .../acmeCo/issue_reactions.schema.yaml | 57 - source-github/acmeCo/issues.schema.yaml | 529 - .../acmeCo/organizations.schema.yaml | 195 - .../acmeCo/project_cards.schema.yaml | 129 - .../acmeCo/project_columns.schema.yaml | 46 - source-github/acmeCo/projects.schema.yaml | 134 - ...pull_request_comment_reactions.schema.yaml | 56 - .../acmeCo/pull_request_commits.schema.yaml | 278 - .../acmeCo/pull_request_stats.schema.yaml | 101 - .../acmeCo/pull_requests.schema.yaml | 889 -- source-github/acmeCo/releases.schema.yaml | 213 - source-github/acmeCo/repositories.schema.yaml | 416 - .../acmeCo/review_comments.schema.yaml | 210 - source-github/acmeCo/reviews.schema.yaml | 106 - source-github/acmeCo/stargazers.schema.yaml | 93 - source-github/acmeCo/team_members.schema.yaml | 81 - source-github/acmeCo/teams.schema.yaml | 62 - source-github/acmeCo/users.schema.yaml | 81 - .../acmeCo/workflow_jobs.schema.yaml | 87 - .../acmeCo/workflow_runs.schema.yaml | 681 -- source-github/acmeCo/workflows.schema.yaml | 47 - source-github/fixtures/README.md | 18 - source-github/fixtures/github.py | 158 - source-github/fixtures/main.py | 15 - source-github/fixtures/requirements.txt | 2 - source-github/fixtures/run.sh | 11 - .../scripts/create_branches_and_commits.sh | 21 - .../fixtures/scripts/init_repository.sh | 13 - source-github/icon.svg | 1 - source-github/integration_tests/__init__.py | 0 .../integration_tests/abnormal_state.json | 237 - source-github/integration_tests/acceptance.py | 16 - .../integration_tests/configured_catalog.json | 435 - .../configured_catalog_full_refresh_test.json | 415 - .../integration_tests/expected_records.jsonl | 41 - .../integration_tests/invalid_config.json | 5 - .../integration_tests/sample_config.json | 5 - .../integration_tests/sample_state.json | 137 - source-github/main.py | 8 - source-github/metadata.yaml | 47 - source-github/poetry.lock | 1178 +- source-github/pyproject.toml | 42 +- source-github/source_github/__main__.py | 31 + .../source_github/schemas/assignees.json | 57 +- .../source_github/schemas/branches.json | 59 +- .../source_github/schemas/collaborators.json | 80 +- .../source_github/schemas/comments.json | 98 +- .../schemas/commit_comments.json | 47 +- .../source_github/schemas/commits.json | 120 +- .../schemas/contributor_activity.json | 102 +- .../source_github/schemas/deployments.json | 71 +- .../source_github/schemas/events.json | 57 +- .../source_github/schemas/issue_events.json | 422 +- .../source_github/schemas/issue_labels.json | 24 +- .../schemas/issue_milestones.json | 55 +- .../schemas/issue_reactions.json | 22 +- .../schemas/issue_timeline_events.json | 1047 +- .../source_github/schemas/issues.json | 276 +- .../source_github/schemas/organizations.json | 191 +- .../source_github/schemas/project_cards.json | 44 +- .../schemas/project_columns.json | 30 +- .../source_github/schemas/projects.json | 44 +- .../source_github/schemas/projects_v2.json | 74 +- .../pull_request_comment_reactions.json | 20 +- .../schemas/pull_request_commits.json | 114 +- .../schemas/pull_request_stats.json | 78 +- .../source_github/schemas/pull_requests.json | 366 +- .../source_github/schemas/releases.json | 120 +- .../source_github/schemas/repositories.json | 323 +- .../schemas/review_comments.json | 112 +- .../source_github/schemas/reviews.json | 63 +- .../schemas/shared/definitions.json | 254 + .../schemas/shared/reaction.json | 22 +- .../schemas/shared/reactions.json | 2 +- .../source_github/schemas/shared/user.json | 4 +- .../schemas/shared/user_graphql.json | 4 +- .../source_github/schemas/stargazers.json | 9 +- source-github/source_github/schemas/tags.json | 26 +- .../source_github/schemas/team_members.json | 55 +- .../schemas/team_memberships.json | 16 +- .../source_github/schemas/teams.json | 44 +- .../source_github/schemas/users.json | 59 +- .../source_github/schemas/workflow_jobs.json | 98 +- .../source_github/schemas/workflow_runs.json | 443 +- .../source_github/schemas/workflows.json | 35 +- source-github/source_github/spec.json | 80 +- source-github/source_github/streams.py | 6 +- source-github/test.flow.yaml | 46 +- ...tests_test_snapshots__capture__stdout.json | 509 +- ...ests_test_snapshots__discover__stdout.json | 9778 ++--------------- ...ub_tests_test_snapshots__spec__stdout.json | 212 +- source-github/unit_tests/__init__.py | 3 - source-github/unit_tests/conftest.py | 19 - .../unit_tests/integration/__init__.py | 0 .../unit_tests/integration/config.py | 35 - .../unit_tests/integration/test_events.py | 199 - .../projects_v2_pull_requests_query.json | 3 - .../unit_tests/pull_request_stats_query.json | 3 - .../resource/http/response/events.json | 63 - .../contributor_activity_response.json | 33 - .../responses/graphql_reviews_responses.json | 405 - .../responses/issue_timeline_events.json | 166 - .../issue_timeline_events_response.json | 170 - .../responses/projects_v2_response.json | 45 - .../pull_request_comment_reactions.json | 744 -- .../pull_request_stats_response.json | 317 - .../test_migrations/test_config.json | 8 - .../test_migrations/test_config_migrations.py | 76 - .../test_migrations/test_new_config.json | 8 - .../test_multiple_token_authenticator.py | 147 - source-github/unit_tests/test_source.py | 289 - source-github/unit_tests/test_stream.py | 1505 --- source-github/unit_tests/utils.py | 78 - 129 files changed, 3284 insertions(+), 26826 deletions(-) delete mode 100644 source-github/.dockerignore delete mode 100644 source-github/README.md delete mode 100644 source-github/acceptance-test-config.yml delete mode 100644 source-github/acmeCo/assignees.schema.yaml delete mode 100644 source-github/acmeCo/branches.schema.yaml delete mode 100644 source-github/acmeCo/collaborators.schema.yaml delete mode 100644 source-github/acmeCo/comments.schema.yaml delete mode 100644 source-github/acmeCo/commit_comment_reactions.schema.yaml delete mode 100644 source-github/acmeCo/commit_comments.schema.yaml delete mode 100644 source-github/acmeCo/commits.schema.yaml delete mode 100644 source-github/acmeCo/deployments.schema.yaml delete mode 100644 source-github/acmeCo/events.schema.yaml delete mode 100644 source-github/acmeCo/issue_comment_reactions.schema.yaml delete mode 100644 source-github/acmeCo/issue_events.schema.yaml delete mode 100644 source-github/acmeCo/issue_milestones.schema.yaml delete mode 100644 source-github/acmeCo/issue_reactions.schema.yaml delete mode 100644 source-github/acmeCo/issues.schema.yaml delete mode 100644 source-github/acmeCo/organizations.schema.yaml delete mode 100644 source-github/acmeCo/project_cards.schema.yaml delete mode 100644 source-github/acmeCo/project_columns.schema.yaml delete mode 100644 source-github/acmeCo/projects.schema.yaml delete mode 100644 source-github/acmeCo/pull_request_comment_reactions.schema.yaml delete mode 100644 source-github/acmeCo/pull_request_commits.schema.yaml delete mode 100644 source-github/acmeCo/pull_request_stats.schema.yaml delete mode 100644 source-github/acmeCo/pull_requests.schema.yaml delete mode 100644 source-github/acmeCo/releases.schema.yaml delete mode 100644 source-github/acmeCo/repositories.schema.yaml delete mode 100644 source-github/acmeCo/review_comments.schema.yaml delete mode 100644 source-github/acmeCo/reviews.schema.yaml delete mode 100644 source-github/acmeCo/stargazers.schema.yaml delete mode 100644 source-github/acmeCo/team_members.schema.yaml delete mode 100644 source-github/acmeCo/teams.schema.yaml delete mode 100644 source-github/acmeCo/users.schema.yaml delete mode 100644 source-github/acmeCo/workflow_jobs.schema.yaml delete mode 100644 source-github/acmeCo/workflow_runs.schema.yaml delete mode 100644 source-github/acmeCo/workflows.schema.yaml delete mode 100644 source-github/fixtures/README.md delete mode 100644 source-github/fixtures/github.py delete mode 100644 source-github/fixtures/main.py delete mode 100644 source-github/fixtures/requirements.txt delete mode 100755 source-github/fixtures/run.sh delete mode 100755 source-github/fixtures/scripts/create_branches_and_commits.sh delete mode 100755 source-github/fixtures/scripts/init_repository.sh delete mode 100644 source-github/icon.svg delete mode 100644 source-github/integration_tests/__init__.py delete mode 100644 source-github/integration_tests/abnormal_state.json delete mode 100644 source-github/integration_tests/acceptance.py delete mode 100644 source-github/integration_tests/configured_catalog.json delete mode 100644 source-github/integration_tests/configured_catalog_full_refresh_test.json delete mode 100644 source-github/integration_tests/expected_records.jsonl delete mode 100644 source-github/integration_tests/invalid_config.json delete mode 100644 source-github/integration_tests/sample_config.json delete mode 100644 source-github/integration_tests/sample_state.json delete mode 100644 source-github/main.py delete mode 100644 source-github/metadata.yaml create mode 100644 source-github/source_github/__main__.py create mode 100644 source-github/source_github/schemas/shared/definitions.json delete mode 100644 source-github/unit_tests/__init__.py delete mode 100644 source-github/unit_tests/conftest.py delete mode 100644 source-github/unit_tests/integration/__init__.py delete mode 100644 source-github/unit_tests/integration/config.py delete mode 100644 source-github/unit_tests/integration/test_events.py delete mode 100644 source-github/unit_tests/projects_v2_pull_requests_query.json delete mode 100644 source-github/unit_tests/pull_request_stats_query.json delete mode 100644 source-github/unit_tests/resource/http/response/events.json delete mode 100644 source-github/unit_tests/responses/contributor_activity_response.json delete mode 100644 source-github/unit_tests/responses/graphql_reviews_responses.json delete mode 100644 source-github/unit_tests/responses/issue_timeline_events.json delete mode 100644 source-github/unit_tests/responses/issue_timeline_events_response.json delete mode 100644 source-github/unit_tests/responses/projects_v2_response.json delete mode 100644 source-github/unit_tests/responses/pull_request_comment_reactions.json delete mode 100644 source-github/unit_tests/responses/pull_request_stats_response.json delete mode 100644 source-github/unit_tests/test_migrations/test_config.json delete mode 100644 source-github/unit_tests/test_migrations/test_config_migrations.py delete mode 100644 source-github/unit_tests/test_migrations/test_new_config.json delete mode 100644 source-github/unit_tests/test_multiple_token_authenticator.py delete mode 100644 source-github/unit_tests/test_source.py delete mode 100644 source-github/unit_tests/test_stream.py delete mode 100644 source-github/unit_tests/utils.py diff --git a/source-github/.dockerignore b/source-github/.dockerignore deleted file mode 100644 index 7dd21408fe..0000000000 --- a/source-github/.dockerignore +++ /dev/null @@ -1,6 +0,0 @@ -* -!Dockerfile -!main.py -!source_github -!setup.py -!secrets diff --git a/source-github/README.md b/source-github/README.md deleted file mode 100644 index 1a60fa9380..0000000000 --- a/source-github/README.md +++ /dev/null @@ -1,91 +0,0 @@ -# Github source connector - - -This is the repository for the Github source connector, written in Python. -For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/github). - -## Local development - -### Prerequisites -* Python (~=3.9) -* Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation) - - -### Installing the connector -From this connector directory, run: -```bash -poetry install --with dev -``` - - -### Create credentials -**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/github) -to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_github/spec.yaml` file. -Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information. -See `sample_files/sample_config.json` for a sample config file. - - -### Locally running the connector -``` -poetry run source-github spec -poetry run source-github check --config secrets/config.json -poetry run source-github discover --config secrets/config.json -poetry run source-github read --config secrets/config.json --catalog sample_files/configured_catalog.json -``` - -### Running unit tests -To run unit tests locally, from the connector directory run: -``` -poetry run pytest unit_tests -``` - -### Building the docker image -1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md) -2. Run the following command to build the docker image: -```bash -airbyte-ci connectors --name=source-github build -``` - -An image will be available on your host with the tag `airbyte/source-github:dev`. - - -### Running as a docker container -Then run any of the connector commands as follows: -``` -docker run --rm airbyte/source-github:dev spec -docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-github:dev check --config /secrets/config.json -docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-github:dev discover --config /secrets/config.json -docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-github:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json -``` - -### Running our CI test suite -You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md): -```bash -airbyte-ci connectors --name=source-github test -``` - -### Customizing acceptance Tests -Customize `acceptance-test-config.yml` file to configure acceptance tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. -If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. - -### Dependency Management -All of your dependencies should be managed via Poetry. -To add a new dependency, run: -```bash -poetry add -``` - -Please commit the changes to `pyproject.toml` and `poetry.lock` files. - -## Publishing a new version of the connector -You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what? -1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-github test` -2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)): - - bump the `dockerImageTag` value in in `metadata.yaml` - - bump the `version` value in `pyproject.toml` -3. Make sure the `metadata.yaml` content is up to date. -4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/github.md`). -5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention). -6. Pat yourself on the back for being an awesome contributor. -7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master. -8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry. \ No newline at end of file diff --git a/source-github/acceptance-test-config.yml b/source-github/acceptance-test-config.yml deleted file mode 100644 index 83d184693c..0000000000 --- a/source-github/acceptance-test-config.yml +++ /dev/null @@ -1,79 +0,0 @@ -connector_image: airbyte/source-github:dev -test_strictness_level: "high" -acceptance_tests: - spec: - tests: - - spec_path: "source_github/spec.json" - backward_compatibility_tests_config: - disable_for_version: "1.4.3" - connection: - tests: - - config_path: "secrets/config.json" - status: "succeed" - - config_path: "secrets/config_oauth.json" - status: "succeed" - - config_path: "integration_tests/invalid_config.json" - status: "failed" - discovery: - tests: - - config_path: "secrets/config.json" - backward_compatibility_tests_config: - disable_for_version: "1.4.3" - - config_path: "secrets/config_oauth.json" - backward_compatibility_tests_config: - disable_for_version: "0.4.8" - basic_read: - tests: - - config_path: "secrets/config.json" - expect_records: - path: "integration_tests/expected_records.jsonl" - exact_order: no - empty_streams: - - name: "events" - bypass_reason: "Only events created within the past 90 days can be showed. Stream is tested with integration tests." - incremental: - tests: - - config_path: "secrets/config.json" - configured_catalog_path: "integration_tests/configured_catalog.json" - future_state: - future_state_path: "integration_tests/abnormal_state.json" - skip_comprehensive_incremental_tests: true - full_refresh: - tests: - - config_path: "secrets/config.json" - configured_catalog_path: "integration_tests/configured_catalog_full_refresh_test.json" - ignored_fields: - organizations: - - name: followers - bypass_reason: "fast changing data" - - name: updated_at - bypass_reason: "fast changing data" - - name: plan - bypass_reason: "fast changing data" - - name: public_repos - bypass_reason: "fast changing data" - - name: total_private_repos - bypass_reason: "fast changing data" - - name: owned_private_repos - bypass_reason: "fast changing data" - repositories: - - name: updated_at - bypass_reason: "fast changing data" - - name: pushed_at - bypass_reason: "fast changing data" - - name: size - bypass_reason: "fast changing data" - - name: stargazers_count - bypass_reason: "fast changing data" - - name: watchers_count - bypass_reason: "fast changing data" - - name: forks_count - bypass_reason: "fast changing data" - - name: forks - bypass_reason: "fast changing data" - - name: open_issues - bypass_reason: "fast changing data" - - name: open_issues_count - bypass_reason: "fast changing data" - - name: watchers - bypass_reason: "fast changing data" diff --git a/source-github/acmeCo/assignees.schema.yaml b/source-github/acmeCo/assignees.schema.yaml deleted file mode 100644 index 9babbde7f5..0000000000 --- a/source-github/acmeCo/assignees.schema.yaml +++ /dev/null @@ -1,79 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - repository: - type: - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/branches.schema.yaml b/source-github/acmeCo/branches.schema.yaml deleted file mode 100644 index e123c86c7c..0000000000 --- a/source-github/acmeCo/branches.schema.yaml +++ /dev/null @@ -1,54 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - commit: - properties: - sha: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - name: - type: string - protected: - type: - - "null" - - boolean - protection: - properties: - required_status_checks: - properties: - contexts: - items: - type: - - "null" - - string - type: - - "null" - - array - enforcement_level: - type: - - "null" - - string - type: - - "null" - - object - type: - - "null" - - object - protection_url: - type: - - "null" - - string - repository: - type: string -required: - - repository - - name -type: object diff --git a/source-github/acmeCo/collaborators.schema.yaml b/source-github/acmeCo/collaborators.schema.yaml deleted file mode 100644 index 51c050ff87..0000000000 --- a/source-github/acmeCo/collaborators.schema.yaml +++ /dev/null @@ -1,96 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - permissions: - properties: - admin: - type: - - "null" - - boolean - pull: - type: - - "null" - - boolean - push: - type: - - "null" - - boolean - type: - - "null" - - object - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - repository: - type: - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/comments.schema.yaml b/source-github/acmeCo/comments.schema.yaml deleted file mode 100644 index ac80137cf6..0000000000 --- a/source-github/acmeCo/comments.schema.yaml +++ /dev/null @@ -1,126 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - author_association: - type: - - "null" - - string - body: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - issue_url: - type: - - "null" - - string - node_id: - type: - - "null" - - string - repository: - type: - - string - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string - user: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - user_id: - type: - - "null" - - integer -required: - - id -type: object diff --git a/source-github/acmeCo/commit_comment_reactions.schema.yaml b/source-github/acmeCo/commit_comment_reactions.schema.yaml deleted file mode 100644 index f55082cc8b..0000000000 --- a/source-github/acmeCo/commit_comment_reactions.schema.yaml +++ /dev/null @@ -1,100 +0,0 @@ ---- -properties: - comment_id: - type: integer - content: - type: - - "null" - - string - created_at: - format: date-time - type: string - id: - type: integer - node_id: - type: - - "null" - - string - repository: - type: string - user: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object -required: - - id -type: - - object diff --git a/source-github/acmeCo/commit_comments.schema.yaml b/source-github/acmeCo/commit_comments.schema.yaml deleted file mode 100644 index 79792a3feb..0000000000 --- a/source-github/acmeCo/commit_comments.schema.yaml +++ /dev/null @@ -1,134 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - author_association: - type: - - "null" - - string - body: - type: - - "null" - - string - commit_id: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - line: - type: - - "null" - - integer - node_id: - type: - - "null" - - string - path: - type: - - "null" - - string - position: - type: - - "null" - - integer - repository: - type: - - string - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string - user: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object -required: - - id -type: object diff --git a/source-github/acmeCo/commits.schema.yaml b/source-github/acmeCo/commits.schema.yaml deleted file mode 100644 index 9595e9d402..0000000000 --- a/source-github/acmeCo/commits.schema.yaml +++ /dev/null @@ -1,294 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - author: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - comments_url: - type: - - "null" - - string - commit: - properties: - author: - properties: - date: - format: date-time - type: - - "null" - - string - email: - type: - - "null" - - string - name: - type: - - "null" - - string - type: - - "null" - - object - comment_count: - type: - - "null" - - integer - committer: - properties: - date: - format: date-time - type: - - "null" - - string - email: - type: - - "null" - - string - name: - type: - - "null" - - string - type: - - "null" - - object - message: - type: - - "null" - - string - tree: - properties: - sha: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - url: - type: - - "null" - - string - verification: - properties: - payload: - type: - - "null" - - string - reason: - type: - - "null" - - string - signature: - type: - - "null" - - string - verified: - type: - - "null" - - boolean - type: - - "null" - - object - type: - - "null" - - object - committer: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - created_at: - format: date-time - type: - - "null" - - string - html_url: - type: - - "null" - - string - node_id: - type: - - "null" - - string - parents: - items: - properties: - html_url: - type: - - "null" - - string - sha: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - type: - - "null" - - array - repository: - type: - - string - sha: - type: string - url: - type: - - "null" - - string -required: - - sha -type: object diff --git a/source-github/acmeCo/deployments.schema.yaml b/source-github/acmeCo/deployments.schema.yaml deleted file mode 100644 index 9503d2a36a..0000000000 --- a/source-github/acmeCo/deployments.schema.yaml +++ /dev/null @@ -1,209 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - created_at: - format: date-time - type: - - "null" - - string - creator: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: object - description: - type: - - "null" - - string - environment: - type: - - "null" - - string - id: - type: integer - node_id: - type: - - "null" - - string - original_environment: - type: - - "null" - - string - payload: - oneOf: - - additionalProperties: true - properties: {} - type: object - - type: string - - type: "null" - performed_via_github_app: - properties: - description: - type: - - "null" - - string - events: - type: - - array - - "null" - external_url: - type: - - string - - "null" - html_url: - type: - - string - - "null" - id: - type: - - integer - - "null" - name: - type: - - string - - "null" - node_id: - type: - - string - - "null" - owner: - properties: - id: - format: integer - type: - - string - - integer - - "null" - type: - type: - - string - - "null" - type: - - object - - "null" - slug: - type: - - string - - "null" - updated_at: - format: date-time - type: - - string - - "null" - type: - - "null" - - object - production_environment: - type: - - "null" - - boolean - ref: - type: - - "null" - - string - repository: - type: - - "null" - - string - repository_url: - type: - - "null" - - string - sha: - type: - - "null" - - string - statuses_url: - type: - - "null" - - string - task: - type: - - "null" - - string - transient_environment: - type: - - "null" - - boolean - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/events.schema.yaml b/source-github/acmeCo/events.schema.yaml deleted file mode 100644 index 249ee49918..0000000000 --- a/source-github/acmeCo/events.schema.yaml +++ /dev/null @@ -1,148 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - actor: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - created_at: - format: date-time - type: - - "null" - - string - id: - type: string - org: - properties: - avatar_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - payload: - properties: {} - type: - - "null" - - object - public: - type: - - "null" - - boolean - repo: - properties: - id: - type: - - "null" - - integer - name: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - repository: - type: - - string - type: - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/flow.yaml b/source-github/acmeCo/flow.yaml index 2039b468ef..38cb34fdb4 100644 --- a/source-github/acmeCo/flow.yaml +++ b/source-github/acmeCo/flow.yaml @@ -1,239 +1,755 @@ --- collections: acmeCo/assignees: - schema: assignees.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/branches: - schema: branches.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - name + properties: + name: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - - /repository - /name acmeCo/collaborators: - schema: collaborators.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/comments: - schema: comments.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/commit_comment_reactions: - schema: commit_comment_reactions.schema.yaml + schema: + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/commit_comments: - schema: commit_comments.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/commits: - schema: commits.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - sha + properties: + sha: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /sha + acmeCo/contributor_activity: + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + title: Contributor Activity + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true + key: + - /id acmeCo/deployments: - schema: deployments.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/events: - schema: events.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/issue_comment_reactions: - schema: issue_comment_reactions.schema.yaml + schema: + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/issue_events: - schema: issue_events.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/issue_labels: schema: $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id properties: - color: - type: - - "null" - - string - default: - type: - - "null" - - boolean - description: - type: - - "null" - - string id: type: integer - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - repository: - type: - - string - url: - type: - - "null" - - string - required: - - id - type: object + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/issue_milestones: - schema: issue_milestones.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/issue_reactions: - schema: issue_reactions.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id + acmeCo/issue_timeline_events: + schema: + $schema: "http://json-schema.org/draft-07/schema#" + type: object + required: + - issue_number + additionalProperties: true + properties: + issue_number: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true + key: + - /issue_number acmeCo/issues: - schema: issues.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + additionalProperties: true + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/organizations: - schema: organizations.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/project_cards: - schema: project_cards.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/project_columns: - schema: project_columns.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/projects: - schema: projects.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true + key: + - /id + acmeCo/projects_v2: + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/pull_request_comment_reactions: - schema: pull_request_comment_reactions.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/pull_request_commits: - schema: pull_request_commits.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - sha + properties: + sha: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /sha acmeCo/pull_request_stats: - schema: pull_request_stats.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/pull_requests: - schema: pull_requests.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/releases: - schema: releases.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/repositories: - schema: repositories.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/review_comments: - schema: review_comments.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/reviews: - schema: reviews.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/stargazers: - schema: stargazers.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - user_id + - starred_at + properties: + user_id: + type: integer + starred_at: + type: string + format: date-time + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /user_id acmeCo/tags: schema: $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - name properties: - commit: - properties: - sha: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object name: type: string - node_id: - type: - - "null" - - string - repository: - type: string - tarball_url: - type: - - "null" - - string - zipball_url: - type: - - "null" - - string - required: - - repository - - name - type: object + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - - /repository - /name acmeCo/team_members: - schema: team_members.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + - team_slug + properties: + id: + type: integer + team_slug: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id - /team_slug acmeCo/team_memberships: schema: $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - url properties: - organization: - type: string - role: - type: - - "null" - - string - state: - type: - - "null" - - string - team_slug: - type: string url: type: string - username: - type: string - required: - - url - type: object + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /url acmeCo/teams: - schema: teams.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/users: - schema: users.schema.yaml + schema: + $schema: "https://json-schema.org/draft-07/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/workflow_jobs: - schema: workflow_jobs.schema.yaml + schema: + $schema: "https://json-schema.org/draft-04/schema#" + type: object + required: + - id + - run_id + properties: + id: + type: integer + run_id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/workflow_runs: - schema: workflow_runs.schema.yaml + schema: + $schema: "https://json-schema.org/draft-04/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id acmeCo/workflows: - schema: workflows.schema.yaml + schema: + $schema: "https://json-schema.org/draft-04/schema#" + type: object + required: + - id + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + x-infer-schema: true key: - /id diff --git a/source-github/acmeCo/issue_comment_reactions.schema.yaml b/source-github/acmeCo/issue_comment_reactions.schema.yaml deleted file mode 100644 index f55082cc8b..0000000000 --- a/source-github/acmeCo/issue_comment_reactions.schema.yaml +++ /dev/null @@ -1,100 +0,0 @@ ---- -properties: - comment_id: - type: integer - content: - type: - - "null" - - string - created_at: - format: date-time - type: string - id: - type: integer - node_id: - type: - - "null" - - string - repository: - type: string - user: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object -required: - - id -type: - - object diff --git a/source-github/acmeCo/issue_events.schema.yaml b/source-github/acmeCo/issue_events.schema.yaml deleted file mode 100644 index a200056589..0000000000 --- a/source-github/acmeCo/issue_events.schema.yaml +++ /dev/null @@ -1,243 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - actor: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - commit_id: - type: - - "null" - - string - commit_url: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - event: - type: - - "null" - - string - id: - type: integer - issue: - properties: - body: - type: - - "null" - - string - comments_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - labels_url: - type: - - "null" - - string - node_id: - type: - - "null" - - string - number: - type: - - "null" - - integer - repository_url: - type: - - "null" - - string - state: - type: - - "null" - - string - title: - type: - - "null" - - string - url: - type: - - "null" - - string - user: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - type: - - "null" - - object - node_id: - type: - - "null" - - string - repository: - type: - - string - url: - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/issue_milestones.schema.yaml b/source-github/acmeCo/issue_milestones.schema.yaml deleted file mode 100644 index 1657c059b6..0000000000 --- a/source-github/acmeCo/issue_milestones.schema.yaml +++ /dev/null @@ -1,148 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - closed_at: - format: date-time - type: - - "null" - - string - closed_issues: - type: - - "null" - - integer - created_at: - format: date-time - type: - - "null" - - string - creator: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - description: - type: - - "null" - - string - due_on: - format: date-time - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - labels_url: - type: - - "null" - - string - node_id: - type: - - "null" - - string - number: - type: - - "null" - - integer - open_issues: - type: - - "null" - - integer - repository: - type: - - string - state: - type: - - "null" - - string - title: - type: - - "null" - - string - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/issue_reactions.schema.yaml b/source-github/acmeCo/issue_reactions.schema.yaml deleted file mode 100644 index df35cf9adf..0000000000 --- a/source-github/acmeCo/issue_reactions.schema.yaml +++ /dev/null @@ -1,57 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - content: - type: - - "null" - - string - created_at: - format: date-time - type: string - id: - type: integer - issue_number: - type: integer - node_id: - type: - - "null" - - string - repository: - type: string - user: - properties: - avatar_url: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - type: - type: - - "null" - - string - type: - - "null" - - object -required: - - id -type: - - object diff --git a/source-github/acmeCo/issues.schema.yaml b/source-github/acmeCo/issues.schema.yaml deleted file mode 100644 index e21234bab0..0000000000 --- a/source-github/acmeCo/issues.schema.yaml +++ /dev/null @@ -1,529 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - active_lock_reason: - type: - - "null" - - string - assignee: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - assignees: - items: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - type: - - "null" - - array - author_association: - type: - - "null" - - string - body: - type: - - "null" - - string - closed_at: - format: date-time - type: - - "null" - - string - comments: - type: - - "null" - - integer - comments_url: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - events_url: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - labels: - items: - properties: - color: - type: - - "null" - - string - default: - type: - - "null" - - boolean - description: - type: - - "null" - - string - id: - type: - - "null" - - integer - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - type: - - "null" - - array - labels_url: - type: - - "null" - - string - locked: - type: - - "null" - - boolean - milestone: - properties: - closed_at: - format: date-time - type: - - "null" - - string - closed_issues: - type: - - "null" - - integer - created_at: - format: date-time - type: - - "null" - - string - creator: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - description: - type: - - "null" - - string - due_on: - format: date-time - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - labels_url: - type: - - "null" - - string - node_id: - type: - - "null" - - string - number: - type: - - "null" - - integer - open_issues: - type: - - "null" - - integer - state: - type: - - "null" - - string - title: - type: - - "null" - - string - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - node_id: - type: - - "null" - - string - number: - type: - - "null" - - integer - pull_request: - properties: - diff_url: - type: - - "null" - - string - html_url: - type: - - "null" - - string - patch_url: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - repository: - type: - - string - repository_url: - type: - - "null" - - string - state: - type: - - "null" - - string - title: - type: - - "null" - - string - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string - user: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - user_id: - type: - - "null" - - integer -required: - - id -type: object diff --git a/source-github/acmeCo/organizations.schema.yaml b/source-github/acmeCo/organizations.schema.yaml deleted file mode 100644 index cf54c27f7a..0000000000 --- a/source-github/acmeCo/organizations.schema.yaml +++ /dev/null @@ -1,195 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - avatar_url: - type: - - "null" - - string - billing_email: - type: - - "null" - - string - blog: - type: - - "null" - - string - collaborators: - type: - - "null" - - integer - company: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - default_repository_permission: - type: - - "null" - - string - description: - type: - - "null" - - string - disk_usage: - type: - - "null" - - integer - email: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers: - type: - - "null" - - integer - following: - type: - - "null" - - integer - has_organization_projects: - type: - - "null" - - boolean - has_repository_projects: - type: - - "null" - - boolean - hooks_url: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - is_verified: - type: - - "null" - - boolean - issues_url: - type: - - "null" - - string - location: - type: - - "null" - - string - login: - type: - - "null" - - string - members_can_create_pages: - type: - - "null" - - boolean - members_can_create_private_pages: - type: - - "null" - - boolean - members_can_create_public_pages: - type: - - "null" - - boolean - members_can_create_repositories: - type: - - "null" - - boolean - members_url: - type: - - "null" - - string - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - owned_private_repos: - type: - - "null" - - integer - plan: - properties: - filled_seats: - type: - - "null" - - integer - name: - type: - - "null" - - string - private_repos: - type: - - "null" - - integer - seats: - type: - - "null" - - integer - space: - type: - - "null" - - integer - type: - - "null" - - object - private_gists: - type: - - "null" - - integer - public_gists: - type: - - "null" - - integer - public_members_url: - type: - - "null" - - string - public_repos: - type: - - "null" - - integer - repos_url: - type: - - "null" - - string - total_private_repos: - type: - - "null" - - integer - twitter_username: - type: - - "null" - - string - two_factor_requirement_enabled: - type: - - "null" - - boolean - type: - type: - - "null" - - string - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/project_cards.schema.yaml b/source-github/acmeCo/project_cards.schema.yaml deleted file mode 100644 index 5c78151393..0000000000 --- a/source-github/acmeCo/project_cards.schema.yaml +++ /dev/null @@ -1,129 +0,0 @@ ---- -$schema: "https://json-schema.org/schema#" -properties: - archived: - type: - - "null" - - boolean - column_id: - type: - - "null" - - integer - column_url: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - creator: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: object - id: - type: integer - node_id: - type: - - "null" - - string - note: - type: - - "null" - - string - project_id: - type: - - "null" - - integer - project_url: - type: - - "null" - - string - repository: - type: - - "null" - - string - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/project_columns.schema.yaml b/source-github/acmeCo/project_columns.schema.yaml deleted file mode 100644 index b84312b829..0000000000 --- a/source-github/acmeCo/project_columns.schema.yaml +++ /dev/null @@ -1,46 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - cards_url: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - id: - type: integer - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - project_id: - type: - - "null" - - integer - project_url: - type: - - "null" - - string - repository: - type: - - "null" - - string - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/projects.schema.yaml b/source-github/acmeCo/projects.schema.yaml deleted file mode 100644 index 9afa076afc..0000000000 --- a/source-github/acmeCo/projects.schema.yaml +++ /dev/null @@ -1,134 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - body: - type: - - "null" - - string - columns_url: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - creator: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - html_url: - type: - - "null" - - string - id: - type: integer - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - number: - type: - - "null" - - integer - owner_url: - type: - - "null" - - string - repository: - type: - - string - state: - type: - - "null" - - string - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/pull_request_comment_reactions.schema.yaml b/source-github/acmeCo/pull_request_comment_reactions.schema.yaml deleted file mode 100644 index 16181e1be1..0000000000 --- a/source-github/acmeCo/pull_request_comment_reactions.schema.yaml +++ /dev/null @@ -1,56 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - comment_id: - type: integer - content: - type: - - "null" - - string - created_at: - format: date-time - type: string - id: - type: integer - node_id: - type: - - "null" - - string - repository: - type: string - user: - properties: - avatar_url: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - type: - type: - - "null" - - string - type: - - "null" - - object -required: - - id -type: object diff --git a/source-github/acmeCo/pull_request_commits.schema.yaml b/source-github/acmeCo/pull_request_commits.schema.yaml deleted file mode 100644 index 81b94ea037..0000000000 --- a/source-github/acmeCo/pull_request_commits.schema.yaml +++ /dev/null @@ -1,278 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - author: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - comments_url: - type: - - "null" - - string - commit: - properties: - author: - properties: - date: - type: - - "null" - - string - email: - type: - - "null" - - string - name: - type: - - "null" - - string - type: object - comment_count: - type: - - "null" - - integer - committer: - properties: - date: - type: - - "null" - - string - email: - type: - - "null" - - string - name: - type: - - "null" - - string - type: object - message: - type: - - "null" - - string - tree: - properties: - sha: - type: - - "null" - - string - url: - type: - - "null" - - string - type: object - url: - type: - - "null" - - string - verification: - properties: - payload: - type: - - "null" - - string - reason: - type: - - "null" - - string - signature: - type: - - "null" - - string - verified: - type: - - "null" - - boolean - type: object - type: object - committer: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - html_url: - type: - - "null" - - string - node_id: - type: - - "null" - - string - parents: - items: - properties: - html_url: - type: - - "null" - - string - sha: - type: - - "null" - - string - url: - type: - - "null" - - string - type: object - type: array - pull_number: - type: - - "null" - - integer - repository: - type: - - "null" - - string - sha: - type: string - url: - type: - - "null" - - string -required: - - sha -type: object diff --git a/source-github/acmeCo/pull_request_stats.schema.yaml b/source-github/acmeCo/pull_request_stats.schema.yaml deleted file mode 100644 index 98ebc001b0..0000000000 --- a/source-github/acmeCo/pull_request_stats.schema.yaml +++ /dev/null @@ -1,101 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - additions: - type: - - "null" - - integer - can_be_rebased: - type: - - "null" - - boolean - changed_files: - type: - - "null" - - integer - comments: - type: - - "null" - - integer - commits: - type: - - "null" - - integer - deletions: - type: - - "null" - - integer - id: - type: integer - maintainer_can_modify: - type: - - "null" - - boolean - merge_state_status: - type: - - "null" - - string - mergeable: - type: - - "null" - - string - merged: - type: - - "null" - - boolean - merged_by: - properties: - avatar_url: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - type: - type: - - "null" - - string - type: - - "null" - - object - node_id: - type: - - "null" - - string - number: - type: - - "null" - - integer - repository: - type: - - string - review_comments: - type: - - "null" - - integer - updated_at: - format: date-time - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/pull_requests.schema.yaml b/source-github/acmeCo/pull_requests.schema.yaml deleted file mode 100644 index cbc2ca7ea1..0000000000 --- a/source-github/acmeCo/pull_requests.schema.yaml +++ /dev/null @@ -1,889 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - _links: - properties: - comments: - properties: - href: - type: - - "null" - - string - type: - - "null" - - object - commits: - properties: - href: - type: - - "null" - - string - type: - - "null" - - object - html: - properties: - href: - type: - - "null" - - string - type: - - "null" - - object - issue: - properties: - href: - type: - - "null" - - string - type: - - "null" - - object - review_comment: - properties: - href: - type: - - "null" - - string - type: - - "null" - - object - review_comments: - properties: - href: - type: - - "null" - - string - type: - - "null" - - object - self: - properties: - href: - type: - - "null" - - string - type: - - "null" - - object - statuses: - properties: - href: - type: - - "null" - - string - type: - - "null" - - object - type: - - "null" - - object - active_lock_reason: - type: - - "null" - - string - assignee: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - assignees: - items: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - type: - - "null" - - array - author_association: - type: - - "null" - - string - auto_merge: - properties: - commit_message: - type: - - "null" - - string - commit_title: - type: - - "null" - - string - enabled_by: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - merge_method: - type: - - "null" - - string - type: - - "null" - - object - base: - properties: - label: - type: - - "null" - - string - ref: - type: - - "null" - - string - repo_id: - type: - - "null" - - integer - sha: - type: - - "null" - - string - user_id: - type: - - "null" - - integer - type: - - "null" - - object - body: - type: - - "null" - - string - closed_at: - format: date-time - type: - - "null" - - string - comments_url: - type: - - "null" - - string - commits_url: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - diff_url: - type: - - "null" - - string - draft: - type: - - "null" - - boolean - head: - properties: - label: - type: - - "null" - - string - ref: - type: - - "null" - - string - repo_id: - type: - - "null" - - integer - sha: - type: - - "null" - - string - user_id: - type: - - "null" - - integer - type: - - "null" - - object - html_url: - type: - - "null" - - string - id: - type: integer - issue_url: - type: - - "null" - - string - labels: - items: - properties: - color: - type: - - "null" - - string - default: - type: - - "null" - - boolean - description: - type: - - "null" - - string - id: - type: - - "null" - - integer - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - type: - - "null" - - array - locked: - type: - - "null" - - boolean - merge_commit_sha: - type: - - "null" - - string - merged_at: - format: date-time - type: - - "null" - - string - milestone: - properties: - closed_at: - format: date-time - type: - - "null" - - string - closed_issues: - type: - - "null" - - integer - created_at: - format: date-time - type: - - "null" - - string - creator: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - description: - type: - - "null" - - string - due_on: - format: date-time - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - labels_url: - type: - - "null" - - string - node_id: - type: - - "null" - - string - number: - type: - - "null" - - integer - open_issues: - type: - - "null" - - integer - state: - type: - - "null" - - string - title: - type: - - "null" - - string - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - node_id: - type: - - "null" - - string - number: - type: - - "null" - - integer - patch_url: - type: - - "null" - - string - repository: - type: - - string - requested_reviewers: - items: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - type: - - "null" - - array - requested_teams: - items: - properties: - description: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - members_url: - type: - - "null" - - string - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - parent: - properties: {} - type: - - "null" - - object - permission: - type: - - "null" - - string - privacy: - type: - - "null" - - string - repositories_url: - type: - - "null" - - string - slug: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - type: - - "null" - - array - review_comment_url: - type: - - "null" - - string - review_comments_url: - type: - - "null" - - string - state: - type: - - "null" - - string - statuses_url: - type: - - "null" - - string - title: - type: - - "null" - - string - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string - user: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object -required: - - id -type: object diff --git a/source-github/acmeCo/releases.schema.yaml b/source-github/acmeCo/releases.schema.yaml deleted file mode 100644 index f4e47370c3..0000000000 --- a/source-github/acmeCo/releases.schema.yaml +++ /dev/null @@ -1,213 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - assets: - items: - properties: - browser_download_url: - type: - - "null" - - string - content_type: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - download_count: - type: - - "null" - - integer - id: - type: - - "null" - - integer - label: - type: - - "null" - - string - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - size: - type: - - "null" - - integer - state: - type: - - "null" - - string - updated_at: - format: date-time - type: - - "null" - - string - uploader_id: - type: - - "null" - - integer - url: - type: - - "null" - - string - type: - - "null" - - object - type: - - "null" - - array - assets_url: - type: - - "null" - - string - author: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - body: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - draft: - type: - - "null" - - boolean - html_url: - type: - - "null" - - string - id: - type: integer - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - prerelease: - type: - - "null" - - boolean - published_at: - format: date-time - type: - - "null" - - string - repository: - type: - - string - tag_name: - type: - - "null" - - string - tarball_url: - type: - - "null" - - string - target_commitish: - type: - - "null" - - string - upload_url: - type: - - "null" - - string - url: - type: - - "null" - - string - zipball_url: - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/repositories.schema.yaml b/source-github/acmeCo/repositories.schema.yaml deleted file mode 100644 index 868f5841e9..0000000000 --- a/source-github/acmeCo/repositories.schema.yaml +++ /dev/null @@ -1,416 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - archive_url: - type: - - "null" - - string - archived: - type: - - "null" - - boolean - assignees_url: - type: - - "null" - - string - blobs_url: - type: - - "null" - - string - branches_url: - type: - - "null" - - string - clone_url: - type: - - "null" - - string - collaborators_url: - type: - - "null" - - string - comments_url: - type: - - "null" - - string - commits_url: - type: - - "null" - - string - compare_url: - type: - - "null" - - string - contents_url: - type: - - "null" - - string - contributors_url: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - default_branch: - type: - - "null" - - string - deployments_url: - type: - - "null" - - string - description: - type: - - "null" - - string - disabled: - type: - - "null" - - boolean - downloads_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - fork: - type: - - "null" - - boolean - forks_count: - type: - - "null" - - integer - forks_url: - type: - - "null" - - string - full_name: - type: - - "null" - - string - git_commits_url: - type: - - "null" - - string - git_refs_url: - type: - - "null" - - string - git_tags_url: - type: - - "null" - - string - git_url: - type: - - "null" - - string - has_downloads: - type: - - "null" - - boolean - has_issues: - type: - - "null" - - boolean - has_pages: - type: - - "null" - - boolean - has_projects: - type: - - "null" - - boolean - has_wiki: - type: - - "null" - - boolean - homepage: - type: - - "null" - - string - hooks_url: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - is_template: - type: - - "null" - - boolean - issue_comment_url: - type: - - "null" - - string - issue_events_url: - type: - - "null" - - string - issues_url: - type: - - "null" - - string - keys_url: - type: - - "null" - - string - labels_url: - type: - - "null" - - string - language: - type: - - "null" - - string - languages_url: - type: - - "null" - - string - license: - properties: - html_url: - type: - - "null" - - string - key: - type: - - "null" - - string - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - spdx_id: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - merges_url: - type: - - "null" - - string - milestones_url: - type: - - "null" - - string - mirror_url: - type: - - "null" - - string - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - notifications_url: - type: - - "null" - - string - open_issues_count: - type: - - "null" - - integer - owner: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - permissions: - properties: - admin: - type: - - "null" - - boolean - pull: - type: - - "null" - - boolean - push: - type: - - "null" - - boolean - type: - - "null" - - object - private: - type: - - "null" - - boolean - pulls_url: - type: - - "null" - - string - pushed_at: - format: date-time - type: - - "null" - - string - releases_url: - type: - - "null" - - string - size: - type: - - "null" - - integer - ssh_url: - type: - - "null" - - string - stargazers_count: - type: - - "null" - - integer - stargazers_url: - type: - - "null" - - string - statuses_url: - type: - - "null" - - string - subscribers_url: - type: - - "null" - - string - subscription_url: - type: - - "null" - - string - svn_url: - type: - - "null" - - string - tags_url: - type: - - "null" - - string - teams_url: - type: - - "null" - - string - topics: - items: - type: - - "null" - - string - type: - - "null" - - array - trees_url: - type: - - "null" - - string - updated_at: - format: date-time - type: string - url: - type: - - "null" - - string - visibility: - type: - - "null" - - string - watchers_count: - type: - - "null" - - integer -required: - - id -type: object diff --git a/source-github/acmeCo/review_comments.schema.yaml b/source-github/acmeCo/review_comments.schema.yaml deleted file mode 100644 index 5e57eeaa96..0000000000 --- a/source-github/acmeCo/review_comments.schema.yaml +++ /dev/null @@ -1,210 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - _links: - properties: - html: - properties: - href: - type: - - "null" - - string - type: - - "null" - - object - pull_request: - properties: - href: - type: - - "null" - - string - type: - - "null" - - object - self: - properties: - href: - type: - - "null" - - string - type: - - "null" - - object - type: - - "null" - - object - author_association: - type: - - "null" - - string - body: - type: - - "null" - - string - commit_id: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - diff_hunk: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - in_reply_to_id: - type: - - "null" - - integer - line: - type: - - "null" - - integer - node_id: - type: - - "null" - - string - original_commit_id: - type: - - "null" - - string - original_line: - type: - - "null" - - integer - original_position: - type: - - "null" - - integer - original_start_line: - type: - - "null" - - integer - path: - type: - - "null" - - string - position: - type: - - "null" - - integer - pull_request_review_id: - type: - - "null" - - integer - pull_request_url: - type: - - "null" - - string - repository: - type: - - string - side: - type: - - "null" - - string - start_line: - type: - - "null" - - integer - start_side: - type: - - "null" - - string - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string - user: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object -required: - - id -type: object diff --git a/source-github/acmeCo/reviews.schema.yaml b/source-github/acmeCo/reviews.schema.yaml deleted file mode 100644 index 3e7e3d37ad..0000000000 --- a/source-github/acmeCo/reviews.schema.yaml +++ /dev/null @@ -1,106 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - _links: - properties: - html: - properties: - href: - type: - - "null" - - string - type: - - "null" - - object - pull_request: - properties: - href: - type: - - "null" - - string - type: - - "null" - - object - type: - - "null" - - object - author_association: - type: - - "null" - - string - body: - type: - - "null" - - string - commit_id: - type: - - "null" - - string - created_at: - format: date-time - type: string - html_url: - type: - - "null" - - string - id: - type: integer - node_id: - type: - - "null" - - string - pull_request_url: - type: - - "null" - - string - repository: - type: - - string - state: - type: - - "null" - - string - submitted_at: - format: date-time - type: - - "null" - - string - updated_at: - format: date-time - type: string - user: - properties: - avatar_url: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - type: - type: - - "null" - - string - type: - - "null" - - object -required: - - id -type: object diff --git a/source-github/acmeCo/stargazers.schema.yaml b/source-github/acmeCo/stargazers.schema.yaml deleted file mode 100644 index b4ddc83f12..0000000000 --- a/source-github/acmeCo/stargazers.schema.yaml +++ /dev/null @@ -1,93 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - repository: - type: - - string - starred_at: - format: date-time - type: - - "null" - - string - user: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - user_id: - type: integer -required: - - user_id -type: object diff --git a/source-github/acmeCo/team_members.schema.yaml b/source-github/acmeCo/team_members.schema.yaml deleted file mode 100644 index beac32c5cb..0000000000 --- a/source-github/acmeCo/team_members.schema.yaml +++ /dev/null @@ -1,81 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organization: - type: string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - team_slug: - type: string - type: - type: - - "null" - - string - url: - type: - - "null" - - string -required: - - id - - team_slug -type: object diff --git a/source-github/acmeCo/teams.schema.yaml b/source-github/acmeCo/teams.schema.yaml deleted file mode 100644 index 8fe9ff26d6..0000000000 --- a/source-github/acmeCo/teams.schema.yaml +++ /dev/null @@ -1,62 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - description: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - members_url: - type: - - "null" - - string - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organization: - type: - - "null" - - string - parent: - additionalProperties: true - properties: {} - type: - - "null" - - object - permission: - type: - - "null" - - string - privacy: - type: - - "null" - - string - repositories_url: - type: - - "null" - - string - repository: - type: - - "null" - - string - slug: - type: - - "null" - - string - url: - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/users.schema.yaml b/source-github/acmeCo/users.schema.yaml deleted file mode 100644 index 2cda1dff24..0000000000 --- a/source-github/acmeCo/users.schema.yaml +++ /dev/null @@ -1,81 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-07/schema#" -properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organization: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string -required: - - id -type: - - object diff --git a/source-github/acmeCo/workflow_jobs.schema.yaml b/source-github/acmeCo/workflow_jobs.schema.yaml deleted file mode 100644 index 445ce127e3..0000000000 --- a/source-github/acmeCo/workflow_jobs.schema.yaml +++ /dev/null @@ -1,87 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-04/schema#" -properties: - check_run_url: - type: string - completed_at: - format: date-time - type: - - string - - "null" - conclusion: - type: - - string - - "null" - head_sha: - type: string - html_url: - type: - - string - - "null" - id: - type: integer - labels: - items: - type: string - type: array - name: - type: string - node_id: - type: string - run_attempt: - type: integer - run_id: - type: integer - run_url: - type: string - runner_group_id: - type: - - integer - - "null" - runner_group_name: - type: - - string - - "null" - runner_id: - type: - - integer - - "null" - runner_name: - type: - - string - - "null" - started_at: - format: date-time - type: string - status: - type: string - steps: - items: - properties: - completed_at: - format: date-time - type: - - string - - "null" - conclusion: - type: - - string - - "null" - name: - type: string - number: - type: integer - started_at: - format: date-time - type: - - string - - "null" - status: - type: string - type: object - type: array - url: - type: string -required: - - id -type: object diff --git a/source-github/acmeCo/workflow_runs.schema.yaml b/source-github/acmeCo/workflow_runs.schema.yaml deleted file mode 100644 index 506f592a0a..0000000000 --- a/source-github/acmeCo/workflow_runs.schema.yaml +++ /dev/null @@ -1,681 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-04/schema#" -properties: - artifacts_url: - type: - - "null" - - string - cancel_url: - type: - - "null" - - string - check_suite_id: - type: - - "null" - - integer - check_suite_node_id: - type: - - "null" - - string - check_suite_url: - type: - - "null" - - string - conclusion: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - event: - type: - - "null" - - string - head_branch: - type: - - "null" - - string - head_commit: - properties: - author: - properties: - email: - type: - - "null" - - string - name: - type: - - "null" - - string - type: object - committer: - properties: - email: - type: - - "null" - - string - name: - type: - - "null" - - string - type: object - id: - type: - - "null" - - string - message: - type: - - "null" - - string - timestamp: - type: - - "null" - - string - tree_id: - type: - - "null" - - string - type: object - head_repository: - properties: - archive_url: - type: - - "null" - - string - assignees_url: - type: - - "null" - - string - blobs_url: - type: - - "null" - - string - branches_url: - type: - - "null" - - string - collaborators_url: - type: - - "null" - - string - comments_url: - type: - - "null" - - string - commits_url: - type: - - "null" - - string - compare_url: - type: - - "null" - - string - contents_url: - type: - - "null" - - string - contributors_url: - type: - - "null" - - string - deployments_url: - type: - - "null" - - string - description: - type: - - "null" - - string - downloads_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - fork: - type: - - "null" - - boolean - forks_url: - type: - - "null" - - string - full_name: - type: - - "null" - - string - git_commits_url: - type: - - "null" - - string - git_refs_url: - type: - - "null" - - string - git_tags_url: - type: - - "null" - - string - hooks_url: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - issue_comment_url: - type: - - "null" - - string - issue_events_url: - type: - - "null" - - string - issues_url: - type: - - "null" - - string - keys_url: - type: - - "null" - - string - labels_url: - type: - - "null" - - string - languages_url: - type: - - "null" - - string - merges_url: - type: - - "null" - - string - milestones_url: - type: - - "null" - - string - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - notifications_url: - type: - - "null" - - string - owner: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - private: - type: - - "null" - - boolean - pulls_url: - type: - - "null" - - string - releases_url: - type: - - "null" - - string - stargazers_url: - type: - - "null" - - string - statuses_url: - type: - - "null" - - string - subscribers_url: - type: - - "null" - - string - subscription_url: - type: - - "null" - - string - tags_url: - type: - - "null" - - string - teams_url: - type: - - "null" - - string - trees_url: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - head_sha: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - jobs_url: - type: - - "null" - - string - logs_url: - type: - - "null" - - string - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - previous_attempt_url: - type: - - "null" - - string - pull_requests: - items: - additionalProperties: true - properties: {} - type: - - "null" - - object - type: array - repository: - properties: - archive_url: - type: - - "null" - - string - assignees_url: - type: - - "null" - - string - blobs_url: - type: - - "null" - - string - branches_url: - type: - - "null" - - string - collaborators_url: - type: - - "null" - - string - comments_url: - type: - - "null" - - string - commits_url: - type: - - "null" - - string - compare_url: - type: - - "null" - - string - contents_url: - type: - - "null" - - string - contributors_url: - type: - - "null" - - string - deployments_url: - type: - - "null" - - string - description: - type: - - "null" - - string - downloads_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - fork: - type: - - "null" - - boolean - forks_url: - type: - - "null" - - string - full_name: - type: - - "null" - - string - git_commits_url: - type: - - "null" - - string - git_refs_url: - type: - - "null" - - string - git_tags_url: - type: - - "null" - - string - hooks_url: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - issue_comment_url: - type: - - "null" - - string - issue_events_url: - type: - - "null" - - string - issues_url: - type: - - "null" - - string - keys_url: - type: - - "null" - - string - labels_url: - type: - - "null" - - string - languages_url: - type: - - "null" - - string - merges_url: - type: - - "null" - - string - milestones_url: - type: - - "null" - - string - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - notifications_url: - type: - - "null" - - string - owner: - properties: - avatar_url: - type: - - "null" - - string - events_url: - type: - - "null" - - string - followers_url: - type: - - "null" - - string - following_url: - type: - - "null" - - string - gists_url: - type: - - "null" - - string - gravatar_id: - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: - - "null" - - integer - login: - type: - - "null" - - string - node_id: - type: - - "null" - - string - organizations_url: - type: - - "null" - - string - received_events_url: - type: - - "null" - - string - repos_url: - type: - - "null" - - string - site_admin: - type: - - "null" - - boolean - starred_url: - type: - - "null" - - string - subscriptions_url: - type: - - "null" - - string - type: - type: - - "null" - - string - url: - type: - - "null" - - string - type: - - "null" - - object - private: - type: - - "null" - - boolean - pulls_url: - type: - - "null" - - string - releases_url: - type: - - "null" - - string - stargazers_url: - type: - - "null" - - string - statuses_url: - type: - - "null" - - string - subscribers_url: - type: - - "null" - - string - subscription_url: - type: - - "null" - - string - tags_url: - type: - - "null" - - string - teams_url: - type: - - "null" - - string - trees_url: - type: - - "null" - - string - url: - type: - - "null" - - string - type: object - rerun_url: - type: - - "null" - - string - run_attempt: - type: - - "null" - - integer - run_number: - type: - - "null" - - integer - run_started_at: - type: - - "null" - - string - status: - type: - - "null" - - string - updated_at: - format: date-time - type: - - "null" - - string - url: - type: - - "null" - - string - workflow_id: - type: - - "null" - - integer - workflow_url: - type: - - "null" - - string -required: - - id -type: object diff --git a/source-github/acmeCo/workflows.schema.yaml b/source-github/acmeCo/workflows.schema.yaml deleted file mode 100644 index c2cece1e96..0000000000 --- a/source-github/acmeCo/workflows.schema.yaml +++ /dev/null @@ -1,47 +0,0 @@ ---- -$schema: "https://json-schema.org/draft-04/schema#" -properties: - badge_url: - type: - - "null" - - string - created_at: - format: date-time - type: - - "null" - - string - html_url: - type: - - "null" - - string - id: - type: integer - name: - type: - - "null" - - string - node_id: - type: - - "null" - - string - path: - type: - - "null" - - string - repository: - type: string - state: - type: - - "null" - - string - updated_at: - format: date-time - type: string - url: - type: - - "null" - - string -required: - - id -type: - - object diff --git a/source-github/fixtures/README.md b/source-github/fixtures/README.md deleted file mode 100644 index 4f0f2bba7f..0000000000 --- a/source-github/fixtures/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# Create Template GitHub Repository - -## Pre requirements -### 1. Create a repository on www.github.com -### 2. Create an api key https://github.com/settings/tokens (select all checkboxes, with all checkboxes script will have all privileges and will not fail) - ---- -### 1. Copy github-filler to another directory without any initialized repository -### 2. Then just run and enter credentials - ./run.sh - ---- - -## After all the steps, you will have a GitHub repository with data that covers almost all GitHub streams (in Airbyte connectors), but you will need to add some data manually. - 1. Collaborators (invite collaborators) - 2. Asignees (asignee issues to collaborators) - 3. Teams (create a teams inside organization) -## All of this data can be generated through the GitHub site. diff --git a/source-github/fixtures/github.py b/source-github/fixtures/github.py deleted file mode 100644 index 920b0677f9..0000000000 --- a/source-github/fixtures/github.py +++ /dev/null @@ -1,158 +0,0 @@ -# -# Copyright (c) 2023 Airbyte, Inc., all rights reserved. -# - -# type: ignore -import json -import logging -from typing import Iterator, Optional - -import requests - -logging.basicConfig(level=logging.INFO) - - -def logger(func): - def wrapper(*args): - logging.info(f"Function: {func.__name__}") - responses = func(*args) - for response in responses: - # github return 3 success status code 200, 201 and 204, we should check all of them - logging.info( - f'Response status: {response.status_code}, response body: {"Success" if response.status_code in [200, 201, 204] else response.content}' - ) - - return wrapper - - -class GitHubFiller: - BASE_URL = "https://api.github.com" - - def __init__(self, token: str, repository: str): - self.token = token - self.repository = repository - self.session = requests.Session() - self.session.headers.update(self.get_headers(self.token)) - - self.branches: Optional[list] = None - - @staticmethod - def get_headers(token: str): - return { - "Authorization": f"Bearer {token}", - "Accept": "application/vnd.github.v3+json application/vnd.github.inertia-preview+json", - } - - def run(self) -> None: - self.get_all_branches() - self.pull_requests() - self.create_milestone() - labels = ["important", "bug", "critical"] - milestone = 1 - assignees = [] - self.create_release() - self.star_a_repository() - self.create_projects() - self.add_issues_with_comments(labels, milestone, assignees) - - @logger - def get_all_branches(self) -> Iterator: - url = f"{self.BASE_URL}/repos/{self.repository}/branches" - response = self.session.get(url=url) - self.branches = response.json() - yield response - - @logger - def pull_requests(self) -> Iterator: - url = f"{self.BASE_URL}/repos/{self.repository}/pulls" - - for branch in self.branches: - create_pr_data = { - "title": f'New PR from {branch.get("name")}', - "head": branch.get("name"), - "base": "master", - } - # create PR - response = self.session.post(url=url, data=json.dumps(create_pr_data)) - yield response - - if response.status_code == 200 or 201: - # create review for PR - create_review_data = { - "body": f'Review commit for branch {branch.get("name")}', - "event": "COMMENT", - } - review_url = f"{self.BASE_URL}/repos/{self.repository}/pulls/{response.json().get('number')}/reviews" - response = self.session.post(url=review_url, data=json.dumps(create_review_data)) - yield response - - # create comment for commit - create_comment_data = { - "body": f'comment for {branch.get("commit").get("sha")} branch', - } - commit_url = f"https://api.github.com/repos/{self.repository}/commits/{branch.get('commit').get('sha')}/comments" - response = self.session.post(url=commit_url, data=json.dumps(create_comment_data)) - yield response - - @logger - def add_issues_with_comments( - self, - labels: Optional[list], - milestone: Optional[list], - assignees: Optional[list], - ) -> Iterator: - url = f"{self.BASE_URL}/repos/{self.repository}/issues" - - for branch in self.branches: - data = { - "title": f'Issue for branch {branch.get("name")}', - "head": branch.get("name"), - "labels": labels, - "milestone": milestone, - "assignees": assignees, - } - - # add issue - response = self.session.post(url=url, data=json.dumps(data)) - yield response - - # add issue comment - comments_url = response.json().get("comments_url") - response = self.add_issue_comment(comments_url) - yield response - - def add_issue_comment(self, comments_url: str) -> requests.Response: - return self.session.post( - url=comments_url, - data=json.dumps({"body": f"comment for issues {comments_url}"}), - ) - - @logger - def create_release(self) -> Iterator: - url = f"{self.BASE_URL}/repos/{self.repository}/releases" - - for i in range(10): - data = {"tag_name": f"dev-0.{i}", "name": "{i} global release"} - response = self.session.post(url=url, data=json.dumps(data)) - yield response - - @logger - def star_a_repository(self) -> Iterator: - url = f"{self.BASE_URL}/user/starred/{self.repository}" - response = self.session.put(url=url) - yield response - - @logger - def create_projects(self) -> Iterator: - url = f"{self.BASE_URL}/repos/{self.repository}/projects" - for name in ["project_1", "project_2", "project_3"]: - response = self.session.post(url=url, data=json.dumps({"name": name})) - yield response - - @logger - def create_milestone(self) -> Iterator: - url = f"{self.BASE_URL}/repos/{self.repository}/milestones" - for title in ["main", "test", "feature"]: - data = {"title": title} - response = self.session.post(url=url, data=json.dumps(data)) - yield response diff --git a/source-github/fixtures/main.py b/source-github/fixtures/main.py deleted file mode 100644 index 00468b290d..0000000000 --- a/source-github/fixtures/main.py +++ /dev/null @@ -1,15 +0,0 @@ -# -# Copyright (c) 2023 Airbyte, Inc., all rights reserved. -# - -# type: ignore -# this is just a script that doesn't need mypy linting -import sys - -from github import GitHubFiller - -if __name__ == "__main__": - api_token = sys.argv[1] - repository = sys.argv[2] - executor = GitHubFiller(api_token, repository) - executor.run() diff --git a/source-github/fixtures/requirements.txt b/source-github/fixtures/requirements.txt deleted file mode 100644 index 138d722ef8..0000000000 --- a/source-github/fixtures/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -requests==2.26.0 - diff --git a/source-github/fixtures/run.sh b/source-github/fixtures/run.sh deleted file mode 100755 index c96499961b..0000000000 --- a/source-github/fixtures/run.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -read -p "Enter your repository ssh link: " ssh_url -./scripts/init_repository.sh $ssh_url -read -p "Enter your api_key: " api_key -read -p "Enter your repository name: airbyte/airbyte-main: " repo -./scripts/create_branches_and_commits.sh - -python main.py $api_key $repo - -echo "Success" diff --git a/source-github/fixtures/scripts/create_branches_and_commits.sh b/source-github/fixtures/scripts/create_branches_and_commits.sh deleted file mode 100755 index 1d9084d451..0000000000 --- a/source-github/fixtures/scripts/create_branches_and_commits.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -touch ".gitignore" -git add ".gitignore" -git commit -m "Initial commit" -git push origin master - -for (( i = 0; i < 5; i++ )); do - git branch "feature/branch_$i" -done - -for (( i = 0; i < 5; i++ )); do - git checkout "feature/branch_$i" - mkdir github_sources - for (( j = 0; j < 5; j++ )); do - echo "text_for_file_$j_commit" > "github_sources/file_$j.txt" - git add github_sources - git commit -m "commit number $j" - git push origin "feature/branch_$i" - done -done \ No newline at end of file diff --git a/source-github/fixtures/scripts/init_repository.sh b/source-github/fixtures/scripts/init_repository.sh deleted file mode 100755 index ee49490fc1..0000000000 --- a/source-github/fixtures/scripts/init_repository.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -if git status -then - echo "Repository already initialized" -elif [ ! "$1" ] -then - echo "No repository url was provided" -else - git init - git remote add origin "$1" - echo "Initialized repository $1" -fi \ No newline at end of file diff --git a/source-github/icon.svg b/source-github/icon.svg deleted file mode 100644 index 190d424e20..0000000000 --- a/source-github/icon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/source-github/integration_tests/__init__.py b/source-github/integration_tests/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/source-github/integration_tests/abnormal_state.json b/source-github/integration_tests/abnormal_state.json deleted file mode 100644 index c8bcb9af64..0000000000 --- a/source-github/integration_tests/abnormal_state.json +++ /dev/null @@ -1,237 +0,0 @@ -[ - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2121-06-30T10:22:10Z" } - }, - "stream_descriptor": { "name": "comments" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { - "55538825": { "created_at": "2121-12-31T23:59:59Z" }, - "55538840": { "created_at": "2121-12-31T23:59:59Z" } - } - }, - "stream_descriptor": { "name": "commit_comment_reactions" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2121-04-30T20:36:17Z" } - }, - "stream_descriptor": { "name": "commit_comments" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { - "master": { "created_at": "2121-06-30T10:04:41Z" } - } - }, - "stream_descriptor": { "name": "commits" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2121-06-30T10:04:41Z" } - }, - "stream_descriptor": { "name": "deployments" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "created_at": "2121-06-29T03:44:45Z" } - }, - "stream_descriptor": { "name": "events" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { - "907296275": { "created_at": "2121-12-31T23:59:59Z" } - } - }, - "stream_descriptor": { "name": "issue_comment_reactions" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "created_at": "2121-06-29T01:49:42Z" } - }, - "stream_descriptor": { "name": "issue_events" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2121-06-25T22:28:33Z" } - }, - "stream_descriptor": { "name": "issue_milestones" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "created_at": "2121-12-31T23:59:59Z" } - }, - "stream_descriptor": { "name": "issue_reactions" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2121-06-30T06:44:42Z" } - }, - "stream_descriptor": { "name": "issues" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { - "13167124": { "17807006": { "updated_at": "2121-06-29T02:04:57Z" } } - } - }, - "stream_descriptor": { "name": "project_cards" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { - "13167122": { "updated_at": "2121-06-29T02:04:57Z" }, - "13167124": { "updated_at": "2121-06-29T02:04:57Z" } - } - }, - "stream_descriptor": { "name": "project_columns" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2121-06-28T17:24:51Z" } - }, - "stream_descriptor": { "name": "projects" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "created_at": "2121-12-31T23:59:59Z" } - }, - "stream_descriptor": { "name": "pull_request_comment_reactions" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2121-06-29T02:04:57Z" } - }, - "stream_descriptor": { "name": "pull_request_stats" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2121-06-28T23:36:35Z" } - }, - "stream_descriptor": { "name": "pull_requests" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "created_at": "2121-06-23T23:57:07Z" } - }, - "stream_descriptor": { "name": "releases" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { "airbytehq": { "updated_at": "2121-12-31T23:59:59Z" } }, - "stream_descriptor": { "name": "repositories" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2121-06-23T23:57:07Z" } - }, - "stream_descriptor": { "name": "review_comments" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2121-06-29T02:04:57Z" } - }, - "stream_descriptor": { "name": "reviews" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "starred_at": "2121-06-29T02:04:57Z" } - }, - "stream_descriptor": { "name": "stargazers" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2121-12-31T23:59:59Z" } - }, - "stream_descriptor": { "name": "workflows" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2121-12-31T23:59:59Z" } - }, - "stream_descriptor": { "name": "workflow_runs" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "completed_at": "2121-12-31T23:59:59Z" } - }, - "stream_descriptor": { "name": "workflow_jobs" } - } - } -] diff --git a/source-github/integration_tests/acceptance.py b/source-github/integration_tests/acceptance.py deleted file mode 100644 index 9e64092362..0000000000 --- a/source-github/integration_tests/acceptance.py +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (c) 2023 Airbyte, Inc., all rights reserved. -# - - -import pytest - -pytest_plugins = ("connector_acceptance_test.plugin",) - - -@pytest.fixture(scope="session", autouse=True) -def connector_setup(): - """This fixture is a placeholder for external resources that acceptance test might require.""" - # TODO: setup test dependencies if needed. otherwise remove the TODO comments - yield - # TODO: clean up test dependencies diff --git a/source-github/integration_tests/configured_catalog.json b/source-github/integration_tests/configured_catalog.json deleted file mode 100644 index abd43868c6..0000000000 --- a/source-github/integration_tests/configured_catalog.json +++ /dev/null @@ -1,435 +0,0 @@ -{ - "streams": [ - { - "stream": { - "name": "assignees", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "branches", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["repository"], ["name"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "collaborators", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "comments", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "commit_comment_reactions", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "commit_comments", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "commits", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["created_at"], - "source_defined_primary_key": [["sha"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["created_at"] - }, - { - "stream": { - "name": "contributor_activity", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "deployments", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "events", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["created_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["created_at"] - }, - { - "stream": { - "name": "issue_comment_reactions", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "issue_events", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["created_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["created_at"] - }, - { - "stream": { - "name": "issue_labels", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "issue_milestones", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "issue_reactions", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "issues", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "organizations", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "project_cards", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "project_columns", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "projects", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "pull_request_comment_reactions", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "pull_request_commits", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["sha"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "pull_request_stats", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "pull_requests", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "releases", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["created_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["created_at"] - }, - { - "stream": { - "name": "repositories", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "review_comments", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "reviews", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "stargazers", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["starred_at"], - "source_defined_primary_key": [["user_id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["starred_at"] - }, - { - "stream": { - "name": "tags", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["repository"], ["name"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "teams", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "users", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "workflows", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "workflow_runs", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "workflow_jobs", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "team_members", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"], ["team_slug"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "team_memberships", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["url"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "issue_timeline_events", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["repository"], ["issue_number"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - } - ] -} diff --git a/source-github/integration_tests/configured_catalog_full_refresh_test.json b/source-github/integration_tests/configured_catalog_full_refresh_test.json deleted file mode 100644 index 6c0b17fa6b..0000000000 --- a/source-github/integration_tests/configured_catalog_full_refresh_test.json +++ /dev/null @@ -1,415 +0,0 @@ -{ - "streams": [ - { - "stream": { - "name": "assignees", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "branches", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["repository"], ["name"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "collaborators", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "comments", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "commit_comment_reactions", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "commit_comments", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "commits", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["created_at"], - "source_defined_primary_key": [["sha"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["created_at"] - }, - { - "stream": { - "name": "contributor_activity", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "deployments", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "events", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["created_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["created_at"] - }, - { - "stream": { - "name": "issue_comment_reactions", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "issue_events", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["created_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["created_at"] - }, - { - "stream": { - "name": "issue_labels", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "issue_milestones", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "issue_reactions", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "issues", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "organizations", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "project_cards", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "project_columns", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "projects", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "pull_request_comment_reactions", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "pull_request_commits", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["sha"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "pull_request_stats", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "pull_requests", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "releases", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["created_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["created_at"] - }, - { - "stream": { - "name": "repositories", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "review_comments", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "reviews", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["updated_at"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["updated_at"] - }, - { - "stream": { - "name": "stargazers", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_cursor": true, - "default_cursor_field": ["starred_at"], - "source_defined_primary_key": [["user_id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "append", - "cursor_field": ["starred_at"] - }, - { - "stream": { - "name": "tags", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["repository"], ["name"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "teams", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "users", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "workflows", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "workflow_runs", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "workflow_jobs", - "json_schema": {}, - "supported_sync_modes": ["full_refresh", "incremental"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "incremental", - "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "team_members", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"], ["team_slug"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" - } - ] -} diff --git a/source-github/integration_tests/expected_records.jsonl b/source-github/integration_tests/expected_records.jsonl deleted file mode 100644 index 8a9f03a3f0..0000000000 --- a/source-github/integration_tests/expected_records.jsonl +++ /dev/null @@ -1,41 +0,0 @@ -{"stream":"assignees","data":{"login":"AirbyteEricksson","id":101604444,"node_id":"U_kgDOBg5cXA","avatar_url":"https://avatars.githubusercontent.com/u/101604444?v=4","gravatar_id":"","url":"https://api.github.com/users/AirbyteEricksson","html_url":"https://github.com/AirbyteEricksson","followers_url":"https://api.github.com/users/AirbyteEricksson/followers","following_url":"https://api.github.com/users/AirbyteEricksson/following{/other_user}","gists_url":"https://api.github.com/users/AirbyteEricksson/gists{/gist_id}","starred_url":"https://api.github.com/users/AirbyteEricksson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AirbyteEricksson/subscriptions","organizations_url":"https://api.github.com/users/AirbyteEricksson/orgs","repos_url":"https://api.github.com/users/AirbyteEricksson/repos","events_url":"https://api.github.com/users/AirbyteEricksson/events{/privacy}","received_events_url":"https://api.github.com/users/AirbyteEricksson/received_events","type":"User","site_admin":false,"repository":"airbytehq/integration-test"},"emitted_at":1677668743181} -{"stream":"branches", "data": {"name": "feature/branch_0", "commit": {"sha": "cbbeaf3ef6eb7217052eae2fe665f655e3813973", "url": "https://api.github.com/repos/airbytehq/integration-test/commits/cbbeaf3ef6eb7217052eae2fe665f655e3813973"}, "protected": false, "protection": {"enabled": false, "required_status_checks": {"enforcement_level": "off", "contexts": [], "checks": []}}, "protection_url": "https://api.github.com/repos/airbytehq/integration-test/branches/feature/branch_0/protection", "repository": "airbytehq/integration-test"}, "emitted_at": 1707933365457} -{"stream":"collaborators","data":{"login": "octavia-approvington", "id": 117117241, "node_id": "U_kgDOBvsROQ", "avatar_url": "https://avatars.githubusercontent.com/u/117117241?v=4", "gravatar_id": "", "url": "https://api.github.com/users/octavia-approvington", "html_url": "https://github.com/octavia-approvington", "followers_url": "https://api.github.com/users/octavia-approvington/followers", "following_url": "https://api.github.com/users/octavia-approvington/following{/other_user}", "gists_url": "https://api.github.com/users/octavia-approvington/gists{/gist_id}", "starred_url": "https://api.github.com/users/octavia-approvington/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/octavia-approvington/subscriptions", "organizations_url": "https://api.github.com/users/octavia-approvington/orgs", "repos_url": "https://api.github.com/users/octavia-approvington/repos", "events_url": "https://api.github.com/users/octavia-approvington/events{/privacy}", "received_events_url": "https://api.github.com/users/octavia-approvington/received_events", "type": "User", "site_admin": false, "permissions": {"admin": true, "maintain": true, "push": true, "triage": true, "pull": true}, "role_name": "admin", "repository": "airbytehq/integration-test"},"emitted_at":1677668744171} -{"stream":"comments","data":{"url":"https://api.github.com/repos/airbytehq/integration-test/issues/comments/907296167","html_url":"https://github.com/airbytehq/integration-test/issues/6#issuecomment-907296167","issue_url":"https://api.github.com/repos/airbytehq/integration-test/issues/6","id":907296167,"node_id":"IC_kwDOF9hP9c42FD2n","user":{"login":"gaart","id":743901,"node_id":"MDQ6VXNlcjc0MzkwMQ==","avatar_url":"https://avatars.githubusercontent.com/u/743901?v=4","gravatar_id":"","url":"https://api.github.com/users/gaart","html_url":"https://github.com/gaart","followers_url":"https://api.github.com/users/gaart/followers","following_url":"https://api.github.com/users/gaart/following{/other_user}","gists_url":"https://api.github.com/users/gaart/gists{/gist_id}","starred_url":"https://api.github.com/users/gaart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaart/subscriptions","organizations_url":"https://api.github.com/users/gaart/orgs","repos_url":"https://api.github.com/users/gaart/repos","events_url":"https://api.github.com/users/gaart/events{/privacy}","received_events_url":"https://api.github.com/users/gaart/received_events","type":"User","site_admin":false},"created_at":"2021-08-27T15:43:59Z","updated_at":"2021-08-27T15:43:59Z","author_association":"CONTRIBUTOR","body":"comment for issues https://api.github.com/repos/airbytehq/integration-test/issues/6/comments","reactions":{"url":"https://api.github.com/repos/airbytehq/integration-test/issues/comments/907296167/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"repository":"airbytehq/integration-test"},"emitted_at":1677668744803} -{"stream":"commit_comment_reactions","data":{"id":154935429,"node_id":"REA_lADOF9hP9c4DT3SJzgk8IIU","user":{"login":"grubberr","id":195743,"node_id":"MDQ6VXNlcjE5NTc0Mw==","avatar_url":"https://avatars.githubusercontent.com/u/195743?v=4","gravatar_id":"","url":"https://api.github.com/users/grubberr","html_url":"https://github.com/grubberr","followers_url":"https://api.github.com/users/grubberr/followers","following_url":"https://api.github.com/users/grubberr/following{/other_user}","gists_url":"https://api.github.com/users/grubberr/gists{/gist_id}","starred_url":"https://api.github.com/users/grubberr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grubberr/subscriptions","organizations_url":"https://api.github.com/users/grubberr/orgs","repos_url":"https://api.github.com/users/grubberr/repos","events_url":"https://api.github.com/users/grubberr/events{/privacy}","received_events_url":"https://api.github.com/users/grubberr/received_events","type":"User","site_admin":false},"content":"laugh","created_at":"2022-03-20T11:29:29Z","repository":"airbytehq/integration-test","comment_id":55538825},"emitted_at":1677668746490} -{"stream":"commit_comments","data":{"url":"https://api.github.com/repos/airbytehq/integration-test/comments/55538825","html_url":"https://github.com/airbytehq/integration-test/commit/cbbeaf3ef6eb7217052eae2fe665f655e3813973#commitcomment-55538825","id":55538825,"node_id":"MDEzOkNvbW1pdENvbW1lbnQ1NTUzODgyNQ==","user":{"login":"gaart","id":743901,"node_id":"MDQ6VXNlcjc0MzkwMQ==","avatar_url":"https://avatars.githubusercontent.com/u/743901?v=4","gravatar_id":"","url":"https://api.github.com/users/gaart","html_url":"https://github.com/gaart","followers_url":"https://api.github.com/users/gaart/followers","following_url":"https://api.github.com/users/gaart/following{/other_user}","gists_url":"https://api.github.com/users/gaart/gists{/gist_id}","starred_url":"https://api.github.com/users/gaart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaart/subscriptions","organizations_url":"https://api.github.com/users/gaart/orgs","repos_url":"https://api.github.com/users/gaart/repos","events_url":"https://api.github.com/users/gaart/events{/privacy}","received_events_url":"https://api.github.com/users/gaart/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"cbbeaf3ef6eb7217052eae2fe665f655e3813973","created_at":"2021-08-27T15:43:32Z","updated_at":"2021-08-27T15:43:32Z","author_association":"CONTRIBUTOR","body":"comment for cbbeaf3ef6eb7217052eae2fe665f655e3813973 branch","reactions":{"url":"https://api.github.com/repos/airbytehq/integration-test/comments/55538825/reactions","total_count":2,"+1":0,"-1":0,"laugh":1,"hooray":0,"confused":0,"heart":1,"rocket":0,"eyes":0},"repository":"airbytehq/integration-test"},"emitted_at":1677668747441} -{"stream":"commits","data":{"sha":"a12c9379604f7b32e54e5459122aa48473f806ee","node_id":"C_kwDOF9hP9doAKGExMmM5Mzc5NjA0ZjdiMzJlNTRlNTQ1OTEyMmFhNDg0NzNmODA2ZWU","commit":{"author":{"name":"Marcos Marx","email":"marcosmarxm@users.noreply.github.com","date":"2022-03-30T19:35:47Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2022-03-30T19:35:47Z"},"message":"Update secret","tree":{"sha":"20041b32912f78ebe33ba4475e6ee439b28eea91","url":"https://api.github.com/repos/airbytehq/integration-test/git/trees/20041b32912f78ebe33ba4475e6ee439b28eea91"},"url":"https://api.github.com/repos/airbytehq/integration-test/git/commits/a12c9379604f7b32e54e5459122aa48473f806ee","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJiRLETCRBK7hj4Ov3rIwAA5HYIAG4TCKKHConYOP4KJw0FAbFC\nkoIySnA2Zw5npa261DWJhMuSHHRu1HV0O7jzANOYuu3WlJAVPNEs7lkA0e2+eqVJ\nXIwKvEcoJ7DnRU2IL8JQQ5Ivtkv6XRCYoCW0koL0wcD1ORb4ZwFtd60MCezOoPms\nIszZaj4zXjpIe8Dw5N7je9UlP8nlqMJP4ll3cv9mt5VX+NwPVHj2vLnBX6zdGEPE\nNW5HlFRX1G5+hAzZ6bbIcFfB8TMlFa74MbPVMR9TccVgucbCHQFPSkYM8zILUVKM\nLdNh1U3+oYKH6Di/b2tef2dgW24NobXoKD0aSeVx/7V0MlockF8AKH2JZiXnMDg=\n=f0MM\n-----END PGP SIGNATURE-----\n","payload":"tree 20041b32912f78ebe33ba4475e6ee439b28eea91\nparent 1a75ba447e31cc2d8908694db3371ee39bc783eb\nauthor Marcos Marx 1648668947 -0300\ncommitter GitHub 1648668947 -0300\n\nUpdate secret"}},"url":"https://api.github.com/repos/airbytehq/integration-test/commits/a12c9379604f7b32e54e5459122aa48473f806ee","html_url":"https://github.com/airbytehq/integration-test/commit/a12c9379604f7b32e54e5459122aa48473f806ee","comments_url":"https://api.github.com/repos/airbytehq/integration-test/commits/a12c9379604f7b32e54e5459122aa48473f806ee/comments","author":{"login":"marcosmarxm","id":5154322,"node_id":"MDQ6VXNlcjUxNTQzMjI=","avatar_url":"https://avatars.githubusercontent.com/u/5154322?v=4","gravatar_id":"","url":"https://api.github.com/users/marcosmarxm","html_url":"https://github.com/marcosmarxm","followers_url":"https://api.github.com/users/marcosmarxm/followers","following_url":"https://api.github.com/users/marcosmarxm/following{/other_user}","gists_url":"https://api.github.com/users/marcosmarxm/gists{/gist_id}","starred_url":"https://api.github.com/users/marcosmarxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcosmarxm/subscriptions","organizations_url":"https://api.github.com/users/marcosmarxm/orgs","repos_url":"https://api.github.com/users/marcosmarxm/repos","events_url":"https://api.github.com/users/marcosmarxm/events{/privacy}","received_events_url":"https://api.github.com/users/marcosmarxm/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"1a75ba447e31cc2d8908694db3371ee39bc783eb","url":"https://api.github.com/repos/airbytehq/integration-test/commits/1a75ba447e31cc2d8908694db3371ee39bc783eb","html_url":"https://github.com/airbytehq/integration-test/commit/1a75ba447e31cc2d8908694db3371ee39bc783eb"}],"repository":"airbytehq/integration-test","created_at":"2022-03-30T19:35:47Z","branch":"master"},"emitted_at":1677668747823} -{"stream":"contributor_activity","data":{"total":4,"weeks":[{"w":1629590400,"a":0,"d":0,"c":0},{"w":1630195200,"a":0,"d":0,"c":0},{"w":1630800000,"a":0,"d":0,"c":0},{"w":1631404800,"a":0,"d":0,"c":0}],"repository":"airbytehq/integration-test","login":"marcosmarxm","id":5154322,"node_id":"MDQ6VXNlcjUxNTQzMjI=","avatar_url":"https://avatars.githubusercontent.com/u/5154322?v=4","gravatar_id":"","url":"https://api.github.com/users/marcosmarxm","html_url":"https://github.com/marcosmarxm","followers_url":"https://api.github.com/users/marcosmarxm/followers","following_url":"https://api.github.com/users/marcosmarxm/following{/other_user}","gists_url":"https://api.github.com/users/marcosmarxm/gists{/gist_id}","starred_url":"https://api.github.com/users/marcosmarxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcosmarxm/subscriptions","organizations_url":"https://api.github.com/users/marcosmarxm/orgs","repos_url":"https://api.github.com/users/marcosmarxm/repos","events_url":"https://api.github.com/users/marcosmarxm/events{/privacy}","received_events_url":"https://api.github.com/users/marcosmarxm/received_events","type":"User","site_admin":false},"emitted_at":1695214089426} -{"stream":"contributor_activity","data":{"total":6,"weeks":[{"w":1629590400,"a":5,"d":0,"c":6},{"w":1630195200,"a":0,"d":0,"c":0},{"w":1630800000,"a":0,"d":0,"c":0},{"w":1631404800,"a":0,"d":0,"c":0}],"repository":"airbytehq/integration-test","login":"gaart","id":743901,"node_id":"MDQ6VXNlcjc0MzkwMQ==","avatar_url":"https://avatars.githubusercontent.com/u/743901?v=4","gravatar_id":"","url":"https://api.github.com/users/gaart","html_url":"https://github.com/gaart","followers_url":"https://api.github.com/users/gaart/followers","following_url":"https://api.github.com/users/gaart/following{/other_user}","gists_url":"https://api.github.com/users/gaart/gists{/gist_id}","starred_url":"https://api.github.com/users/gaart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaart/subscriptions","organizations_url":"https://api.github.com/users/gaart/orgs","repos_url":"https://api.github.com/users/gaart/repos","events_url":"https://api.github.com/users/gaart/events{/privacy}","received_events_url":"https://api.github.com/users/gaart/received_events","type":"User","site_admin":false},"emitted_at":1695214089428} -{"stream":"deployments","data":{"url":"https://api.github.com/repos/airbytehq/integration-test/deployments/508084910","id":508084910,"node_id":"DE_kwDOF9hP9c4eSMKu","task":"deploy","original_environment":"production","environment":"production","description":null,"created_at":"2022-02-16T10:17:53Z","updated_at":"2022-02-16T10:17:53Z","statuses_url":"https://api.github.com/repos/airbytehq/integration-test/deployments/508084910/statuses","repository_url":"https://api.github.com/repos/airbytehq/integration-test","creator":{"login":"sherifnada","id":6246757,"node_id":"MDQ6VXNlcjYyNDY3NTc=","avatar_url":"https://avatars.githubusercontent.com/u/6246757?v=4","gravatar_id":"","url":"https://api.github.com/users/sherifnada","html_url":"https://github.com/sherifnada","followers_url":"https://api.github.com/users/sherifnada/followers","following_url":"https://api.github.com/users/sherifnada/following{/other_user}","gists_url":"https://api.github.com/users/sherifnada/gists{/gist_id}","starred_url":"https://api.github.com/users/sherifnada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sherifnada/subscriptions","organizations_url":"https://api.github.com/users/sherifnada/orgs","repos_url":"https://api.github.com/users/sherifnada/repos","events_url":"https://api.github.com/users/sherifnada/events{/privacy}","received_events_url":"https://api.github.com/users/sherifnada/received_events","type":"User","site_admin":false},"sha":"0c033903d2b400c262d75199db5f0bd3c6d81fe2","ref":"master","payload":{},"transient_environment":false,"production_environment":false,"performed_via_github_app":null,"repository":"airbytehq/integration-test"},"emitted_at":1677668748127} -{"stream":"issue_comment_reactions","data":{"id":127042034,"node_id":"MDIwOklzc3VlQ29tbWVudFJlYWN0aW9uMTI3MDQyMDM0","user":{"login":"yevhenii-ldv","id":34103125,"node_id":"MDQ6VXNlcjM0MTAzMTI1","avatar_url":"https://avatars.githubusercontent.com/u/34103125?v=4","gravatar_id":"","url":"https://api.github.com/users/yevhenii-ldv","html_url":"https://github.com/yevhenii-ldv","followers_url":"https://api.github.com/users/yevhenii-ldv/followers","following_url":"https://api.github.com/users/yevhenii-ldv/following{/other_user}","gists_url":"https://api.github.com/users/yevhenii-ldv/gists{/gist_id}","starred_url":"https://api.github.com/users/yevhenii-ldv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yevhenii-ldv/subscriptions","organizations_url":"https://api.github.com/users/yevhenii-ldv/orgs","repos_url":"https://api.github.com/users/yevhenii-ldv/repos","events_url":"https://api.github.com/users/yevhenii-ldv/events{/privacy}","received_events_url":"https://api.github.com/users/yevhenii-ldv/received_events","type":"User","site_admin":false},"content":"hooray","created_at":"2021-09-06T10:18:19Z","repository":"airbytehq/integration-test","comment_id":907296275},"emitted_at":1677668749798} -{"stream":"issue_events","data":{"id": 6917774630, "node_id": "RRE_lADOF9hP9c5M9xnAzwAAAAGcVN0m", "url": "https://api.github.com/repos/airbytehq/integration-test/issues/events/6917774630", "actor": {"login": "annalvova05", "id": 37615075, "node_id": "MDQ6VXNlcjM3NjE1MDc1", "avatar_url": "https://avatars.githubusercontent.com/u/37615075?v=4", "gravatar_id": "", "url": "https://api.github.com/users/annalvova05", "html_url": "https://github.com/annalvova05", "followers_url": "https://api.github.com/users/annalvova05/followers", "following_url": "https://api.github.com/users/annalvova05/following{/other_user}", "gists_url": "https://api.github.com/users/annalvova05/gists{/gist_id}", "starred_url": "https://api.github.com/users/annalvova05/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/annalvova05/subscriptions", "organizations_url": "https://api.github.com/users/annalvova05/orgs", "repos_url": "https://api.github.com/users/annalvova05/repos", "events_url": "https://api.github.com/users/annalvova05/events{/privacy}", "received_events_url": "https://api.github.com/users/annalvova05/received_events", "type": "User", "site_admin": false}, "event": "review_requested", "commit_id": null, "commit_url": null, "created_at": "2022-07-01T11:22:20Z", "review_requester": {"login": "annalvova05", "id": 37615075, "node_id": "MDQ6VXNlcjM3NjE1MDc1", "avatar_url": "https://avatars.githubusercontent.com/u/37615075?v=4", "gravatar_id": "", "url": "https://api.github.com/users/annalvova05", "html_url": "https://github.com/annalvova05", "followers_url": "https://api.github.com/users/annalvova05/followers", "following_url": "https://api.github.com/users/annalvova05/following{/other_user}", "gists_url": "https://api.github.com/users/annalvova05/gists{/gist_id}", "starred_url": "https://api.github.com/users/annalvova05/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/annalvova05/subscriptions", "organizations_url": "https://api.github.com/users/annalvova05/orgs", "repos_url": "https://api.github.com/users/annalvova05/repos", "events_url": "https://api.github.com/users/annalvova05/events{/privacy}", "received_events_url": "https://api.github.com/users/annalvova05/received_events", "type": "User", "site_admin": false}, "requested_reviewer": {"login": "annalvova05", "id": 37615075, "node_id": "MDQ6VXNlcjM3NjE1MDc1", "avatar_url": "https://avatars.githubusercontent.com/u/37615075?v=4", "gravatar_id": "", "url": "https://api.github.com/users/annalvova05", "html_url": "https://github.com/annalvova05", "followers_url": "https://api.github.com/users/annalvova05/followers", "following_url": "https://api.github.com/users/annalvova05/following{/other_user}", "gists_url": "https://api.github.com/users/annalvova05/gists{/gist_id}", "starred_url": "https://api.github.com/users/annalvova05/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/annalvova05/subscriptions", "organizations_url": "https://api.github.com/users/annalvova05/orgs", "repos_url": "https://api.github.com/users/annalvova05/repos", "events_url": "https://api.github.com/users/annalvova05/events{/privacy}", "received_events_url": "https://api.github.com/users/annalvova05/received_events", "type": "User", "site_admin": false}, "issue": {"url": "https://api.github.com/repos/airbytehq/integration-test/issues/14", "repository_url": "https://api.github.com/repos/airbytehq/integration-test", "labels_url": "https://api.github.com/repos/airbytehq/integration-test/issues/14/labels{/name}", "comments_url": "https://api.github.com/repos/airbytehq/integration-test/issues/14/comments", "events_url": "https://api.github.com/repos/airbytehq/integration-test/issues/14/events", "html_url": "https://github.com/airbytehq/integration-test/pull/14", "id": 1291262400, "node_id": "PR_kwDOF9hP9c46s2Qa", "number": 14, "title": "New PR from feature/branch_5", "user": {"login": "grubberr", "id": 195743, "node_id": "MDQ6VXNlcjE5NTc0Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/195743?v=4", "gravatar_id": "", "url": "https://api.github.com/users/grubberr", "html_url": "https://github.com/grubberr", "followers_url": "https://api.github.com/users/grubberr/followers", "following_url": "https://api.github.com/users/grubberr/following{/other_user}", "gists_url": "https://api.github.com/users/grubberr/gists{/gist_id}", "starred_url": "https://api.github.com/users/grubberr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/grubberr/subscriptions", "organizations_url": "https://api.github.com/users/grubberr/orgs", "repos_url": "https://api.github.com/users/grubberr/repos", "events_url": "https://api.github.com/users/grubberr/events{/privacy}", "received_events_url": "https://api.github.com/users/grubberr/received_events", "type": "User", "site_admin": false}, "labels": [{"id": 3984065862, "node_id": "LA_kwDOF9hP9c7teAVG", "url": "https://api.github.com/repos/airbytehq/integration-test/labels/labeler", "name": "labeler", "color": "ededed", "default": false, "description": null}], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 0, "created_at": "2022-07-01T11:05:28Z", "updated_at": "2022-10-04T17:41:29Z", "closed_at": null, "author_association": "FIRST_TIME_CONTRIBUTOR", "active_lock_reason": null, "draft": false, "pull_request": {"url": "https://api.github.com/repos/airbytehq/integration-test/pulls/14", "html_url": "https://github.com/airbytehq/integration-test/pull/14", "diff_url": "https://github.com/airbytehq/integration-test/pull/14.diff", "patch_url": "https://github.com/airbytehq/integration-test/pull/14.patch", "merged_at": null}, "body": "Signed-off-by: Sergey Chvalyuk ", "reactions": {"url": "https://api.github.com/repos/airbytehq/integration-test/issues/14/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/airbytehq/integration-test/issues/14/timeline", "performed_via_github_app": null, "state_reason": null}, "performed_via_github_app": null, "repository": "airbytehq/integration-test"},"emitted_at":1677668750398} -{"stream":"issue_labels","data":{"id":3295756566,"node_id":"MDU6TGFiZWwzMjk1NzU2NTY2","url":"https://api.github.com/repos/airbytehq/integration-test/labels/bug","name":"bug","color":"d73a4a","default":true,"description":"Something isn't working","repository":"airbytehq/integration-test"},"emitted_at":1677668750697} -{"stream":"issue_milestones","data":{"url":"https://api.github.com/repos/airbytehq/integration-test/milestones/1","html_url":"https://github.com/airbytehq/integration-test/milestone/1","labels_url":"https://api.github.com/repos/airbytehq/integration-test/milestones/1/labels","id":7097357,"node_id":"MI_kwDOF9hP9c4AbEwN","number":1,"title":"main","description":null,"creator":{"login":"gaart","id":743901,"node_id":"MDQ6VXNlcjc0MzkwMQ==","avatar_url":"https://avatars.githubusercontent.com/u/743901?v=4","gravatar_id":"","url":"https://api.github.com/users/gaart","html_url":"https://github.com/gaart","followers_url":"https://api.github.com/users/gaart/followers","following_url":"https://api.github.com/users/gaart/following{/other_user}","gists_url":"https://api.github.com/users/gaart/gists{/gist_id}","starred_url":"https://api.github.com/users/gaart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaart/subscriptions","organizations_url":"https://api.github.com/users/gaart/orgs","repos_url":"https://api.github.com/users/gaart/repos","events_url":"https://api.github.com/users/gaart/events{/privacy}","received_events_url":"https://api.github.com/users/gaart/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2021-08-27T15:43:44Z","updated_at":"2021-08-27T16:02:49Z","due_on":null,"closed_at":null,"repository":"airbytehq/integration-test"},"emitted_at":1677668751023} -{"stream":"issue_reactions","data":{"node_id":"MDEzOklzc3VlUmVhY3Rpb24xMjcwNDg0NTY=","id":127048456,"content":"ROCKET","created_at":"2021-09-06T11:13:32Z","user":{"node_id":"MDQ6VXNlcjM0MTAzMTI1","id":34103125,"login":"yevhenii-ldv","avatar_url":"https://avatars.githubusercontent.com/u/34103125?u=3e49bb73177a9f70896e3d49b34656ab659c70a5&v=4","html_url":"https://github.com/yevhenii-ldv","site_admin":false,"type":"User"},"repository":"airbytehq/integration-test","issue_number":11},"emitted_at":1677668751465} -{"stream": "issues", "data": {"url": "https://api.github.com/repos/airbytehq/integration-test/issues/14", "repository_url": "https://api.github.com/repos/airbytehq/integration-test", "labels_url": "https://api.github.com/repos/airbytehq/integration-test/issues/14/labels{/name}", "comments_url": "https://api.github.com/repos/airbytehq/integration-test/issues/14/comments", "events_url": "https://api.github.com/repos/airbytehq/integration-test/issues/14/events", "html_url": "https://github.com/airbytehq/integration-test/pull/14", "id": 1291262400, "node_id": "PR_kwDOF9hP9c46s2Qa", "number": 14, "title": "New PR from feature/branch_5", "user": {"login": "grubberr", "id": 195743, "node_id": "MDQ6VXNlcjE5NTc0Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/195743?v=4", "gravatar_id": "", "url": "https://api.github.com/users/grubberr", "html_url": "https://github.com/grubberr", "followers_url": "https://api.github.com/users/grubberr/followers", "following_url": "https://api.github.com/users/grubberr/following{/other_user}", "gists_url": "https://api.github.com/users/grubberr/gists{/gist_id}", "starred_url": "https://api.github.com/users/grubberr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/grubberr/subscriptions", "organizations_url": "https://api.github.com/users/grubberr/orgs", "repos_url": "https://api.github.com/users/grubberr/repos", "events_url": "https://api.github.com/users/grubberr/events{/privacy}", "received_events_url": "https://api.github.com/users/grubberr/received_events", "type": "User", "site_admin": false}, "labels": [{"id": 3984065862, "node_id": "LA_kwDOF9hP9c7teAVG", "url": "https://api.github.com/repos/airbytehq/integration-test/labels/labeler", "name": "labeler", "color": "ededed", "default": false, "description": null}], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 0, "created_at": "2022-07-01T11:05:28Z", "updated_at": "2022-10-04T17:41:29Z", "closed_at": null, "author_association": "FIRST_TIME_CONTRIBUTOR", "active_lock_reason": null, "draft": false, "pull_request": {"url": "https://api.github.com/repos/airbytehq/integration-test/pulls/14", "html_url": "https://github.com/airbytehq/integration-test/pull/14", "diff_url": "https://github.com/airbytehq/integration-test/pull/14.diff", "patch_url": "https://github.com/airbytehq/integration-test/pull/14.patch", "merged_at": null}, "body": "Signed-off-by: Sergey Chvalyuk ", "reactions": {"url": "https://api.github.com/repos/airbytehq/integration-test/issues/14/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/airbytehq/integration-test/issues/14/timeline", "performed_via_github_app": null, "state_reason": null, "repository": "airbytehq/integration-test"}, "emitted_at": 1689868850497} -{"stream": "organizations", "data": {"login": "airbytehq", "id": 59758427, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NzU4NDI3", "url": "https://api.github.com/orgs/airbytehq", "repos_url": "https://api.github.com/orgs/airbytehq/repos", "events_url": "https://api.github.com/orgs/airbytehq/events", "hooks_url": "https://api.github.com/orgs/airbytehq/hooks", "issues_url": "https://api.github.com/orgs/airbytehq/issues", "members_url": "https://api.github.com/orgs/airbytehq/members{/member}", "public_members_url": "https://api.github.com/orgs/airbytehq/public_members{/member}", "avatar_url": "https://avatars.githubusercontent.com/u/59758427?v=4", "description": "Simple & extensible open-source data integration", "name": "Airbyte", "company": null, "blog": "https://airbyte.io", "location": "United States of America", "email": "contact@airbyte.io", "twitter_username": "AirbyteHQ", "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 46, "public_gists": 0, "followers": 267, "following": 0, "html_url": "https://github.com/airbytehq", "created_at": "2020-01-11T06:27:48Z", "updated_at": "2023-05-03T17:28:12Z", "archived_at": null, "type": "Organization", "total_private_repos": 57, "owned_private_repos": 55, "private_gists": null, "disk_usage": null, "collaborators": null, "billing_email": null, "default_repository_permission": null, "members_can_create_repositories": true, "two_factor_requirement_enabled": null, "members_allowed_repository_creation_type": "all", "members_can_create_public_repositories": true, "members_can_create_private_repositories": true, "members_can_create_internal_repositories": false, "members_can_create_pages": true, "members_can_fork_private_repositories": false, "web_commit_signoff_required": false, "members_can_create_public_pages": true, "members_can_create_private_pages": true, "plan": {"name": "team", "space": 976562499, "private_repos": 999999, "filled_seats": 116, "seats": 118}}, "emitted_at": 1689065014314} -{"stream":"project_cards","data":{"url":"https://api.github.com/projects/columns/cards/77859890","project_url":"https://api.github.com/projects/13167124","id":77859890,"node_id":"PRC_lALOF9hP9c4AyOoUzgSkDDI","note":"note_1","archived":false,"creator":{"login":"grubberr","id":195743,"node_id":"MDQ6VXNlcjE5NTc0Mw==","avatar_url":"https://avatars.githubusercontent.com/u/195743?v=4","gravatar_id":"","url":"https://api.github.com/users/grubberr","html_url":"https://github.com/grubberr","followers_url":"https://api.github.com/users/grubberr/followers","following_url":"https://api.github.com/users/grubberr/following{/other_user}","gists_url":"https://api.github.com/users/grubberr/gists{/gist_id}","starred_url":"https://api.github.com/users/grubberr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grubberr/subscriptions","organizations_url":"https://api.github.com/users/grubberr/orgs","repos_url":"https://api.github.com/users/grubberr/repos","events_url":"https://api.github.com/users/grubberr/events{/privacy}","received_events_url":"https://api.github.com/users/grubberr/received_events","type":"User","site_admin":false},"created_at":"2022-02-17T09:56:51Z","updated_at":"2022-02-17T09:56:51Z","column_url":"https://api.github.com/projects/columns/17807006","repository":"airbytehq/integration-test","project_id":13167124,"column_id":17807006},"emitted_at":1677668754200} -{"stream":"project_columns","data":{"url":"https://api.github.com/projects/columns/17807092","project_url":"https://api.github.com/projects/13167124","cards_url":"https://api.github.com/projects/columns/17807092/cards","id":17807092,"node_id":"PC_lATOF9hP9c4AyOoUzgEPtvQ","name":"column_2","created_at":"2022-02-17T09:57:27Z","updated_at":"2022-02-17T09:57:27Z","repository":"airbytehq/integration-test","project_id":13167124},"emitted_at":1677668754456} -{"stream":"projects","data":{"owner_url":"https://api.github.com/repos/airbytehq/integration-test","url":"https://api.github.com/projects/13167124","html_url":"https://github.com/airbytehq/integration-test/projects/3","columns_url":"https://api.github.com/projects/13167124/columns","id":13167124,"node_id":"PRO_kwLOF9hP9c4AyOoU","name":"project_3","body":null,"number":3,"state":"open","creator":{"login":"gaart","id":743901,"node_id":"MDQ6VXNlcjc0MzkwMQ==","avatar_url":"https://avatars.githubusercontent.com/u/743901?v=4","gravatar_id":"","url":"https://api.github.com/users/gaart","html_url":"https://github.com/gaart","followers_url":"https://api.github.com/users/gaart/followers","following_url":"https://api.github.com/users/gaart/following{/other_user}","gists_url":"https://api.github.com/users/gaart/gists{/gist_id}","starred_url":"https://api.github.com/users/gaart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaart/subscriptions","organizations_url":"https://api.github.com/users/gaart/orgs","repos_url":"https://api.github.com/users/gaart/repos","events_url":"https://api.github.com/users/gaart/events{/privacy}","received_events_url":"https://api.github.com/users/gaart/received_events","type":"User","site_admin":false},"created_at":"2021-08-27T15:43:57Z","updated_at":"2022-02-17T12:16:56Z","repository":"airbytehq/integration-test"},"emitted_at":1677668754468} -{"stream":"projects_v2","data":{"closed":false,"created_at":"2023-09-25T18:34:52Z","closed_at":null,"updated_at":"2023-09-25T18:35:45Z","creator":{"avatarUrl":"https://avatars.githubusercontent.com/u/92915184?u=e53c87d81ec6fb0596bc0f75e12e84e8f0df8d83&v=4","login":"airbyteio","resourcePath":"/airbyteio","url":"https://github.com/airbyteio"},"node_id":"PVT_kwDOA4_XW84AV7NS","id":5747538,"number":58,"public":false,"readme":"# Title\nintegration test project","short_description":"integration test project description","template":false,"title":"integration test project","url":"https://github.com/orgs/airbytehq/projects/58","viewerCanClose":true,"viewerCanReopen":true,"viewerCanUpdate":true,"owner_id":"MDEyOk9yZ2FuaXphdGlvbjU5NzU4NDI3","repository":"airbytehq/integration-test"},"emitted_at":1695666959656} -{"stream":"pull_request_comment_reactions","data":{"node_id":"MDMyOlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudFJlYWN0aW9uMTI3MDUxNDM4","id":127051438,"content":"HEART","created_at":"2021-09-06T11:37:25Z","user":{"node_id":"MDQ6VXNlcjM0MTAzMTI1","id":34103125,"login":"yevhenii-ldv","avatar_url":"https://avatars.githubusercontent.com/u/34103125?u=3e49bb73177a9f70896e3d49b34656ab659c70a5&v=4","html_url":"https://github.com/yevhenii-ldv","site_admin":false,"type":"User"},"repository":"airbytehq/integration-test","comment_id":699253726},"emitted_at":1677668755106} -{"stream":"pull_request_commits","data":{"sha":"00a74695eb754865a552196ee158a87f0b9dcff7","node_id":"MDY6Q29tbWl0NDAwMDUyMjEzOjAwYTc0Njk1ZWI3NTQ4NjVhNTUyMTk2ZWUxNThhODdmMGI5ZGNmZjc=","commit":{"author":{"name":"Arthur Galuza","email":"a.galuza@exaft.com","date":"2021-08-27T15:41:11Z"},"committer":{"name":"Arthur Galuza","email":"a.galuza@exaft.com","date":"2021-08-27T15:41:11Z"},"message":"commit number 0","tree":{"sha":"3f2a52f90f9acc30359b00065e5b989267fef1f5","url":"https://api.github.com/repos/airbytehq/integration-test/git/trees/3f2a52f90f9acc30359b00065e5b989267fef1f5"},"url":"https://api.github.com/repos/airbytehq/integration-test/git/commits/00a74695eb754865a552196ee158a87f0b9dcff7","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/airbytehq/integration-test/commits/00a74695eb754865a552196ee158a87f0b9dcff7","html_url":"https://github.com/airbytehq/integration-test/commit/00a74695eb754865a552196ee158a87f0b9dcff7","comments_url":"https://api.github.com/repos/airbytehq/integration-test/commits/00a74695eb754865a552196ee158a87f0b9dcff7/comments","author":{"login":"gaart","id":743901,"node_id":"MDQ6VXNlcjc0MzkwMQ==","avatar_url":"https://avatars.githubusercontent.com/u/743901?v=4","gravatar_id":"","url":"https://api.github.com/users/gaart","html_url":"https://github.com/gaart","followers_url":"https://api.github.com/users/gaart/followers","following_url":"https://api.github.com/users/gaart/following{/other_user}","gists_url":"https://api.github.com/users/gaart/gists{/gist_id}","starred_url":"https://api.github.com/users/gaart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaart/subscriptions","organizations_url":"https://api.github.com/users/gaart/orgs","repos_url":"https://api.github.com/users/gaart/repos","events_url":"https://api.github.com/users/gaart/events{/privacy}","received_events_url":"https://api.github.com/users/gaart/received_events","type":"User","site_admin":false},"committer":{"login":"gaart","id":743901,"node_id":"MDQ6VXNlcjc0MzkwMQ==","avatar_url":"https://avatars.githubusercontent.com/u/743901?v=4","gravatar_id":"","url":"https://api.github.com/users/gaart","html_url":"https://github.com/gaart","followers_url":"https://api.github.com/users/gaart/followers","following_url":"https://api.github.com/users/gaart/following{/other_user}","gists_url":"https://api.github.com/users/gaart/gists{/gist_id}","starred_url":"https://api.github.com/users/gaart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaart/subscriptions","organizations_url":"https://api.github.com/users/gaart/orgs","repos_url":"https://api.github.com/users/gaart/repos","events_url":"https://api.github.com/users/gaart/events{/privacy}","received_events_url":"https://api.github.com/users/gaart/received_events","type":"User","site_admin":false},"parents":[{"sha":"978753aeb56f7b49872279d1b491411a6235aa90","url":"https://api.github.com/repos/airbytehq/integration-test/commits/978753aeb56f7b49872279d1b491411a6235aa90","html_url":"https://github.com/airbytehq/integration-test/commit/978753aeb56f7b49872279d1b491411a6235aa90"}],"repository":"airbytehq/integration-test","pull_number":5},"emitted_at":1677668756160} -{"stream": "pull_request_stats", "data": {"node_id": "MDExOlB1bGxSZXF1ZXN0NzIxNDM1NTA2", "id": 721435506, "number": 5, "updated_at": "2023-11-16T14:38:58Z", "changed_files": 5, "deletions": 0, "additions": 5, "merged": false, "mergeable": "MERGEABLE", "can_be_rebased": false, "maintainer_can_modify": false, "merge_state_status": "BLOCKED", "comments": 0, "commits": 5, "review_comments": 0, "merged_by": null, "repository": "airbytehq/integration-test"}, "emitted_at": 1700557306144} -{"stream": "pull_requests", "data": {"url": "https://api.github.com/repos/airbytehq/integration-test/pulls/5", "id": 721435506, "node_id": "MDExOlB1bGxSZXF1ZXN0NzIxNDM1NTA2", "html_url": "https://github.com/airbytehq/integration-test/pull/5", "diff_url": "https://github.com/airbytehq/integration-test/pull/5.diff", "patch_url": "https://github.com/airbytehq/integration-test/pull/5.patch", "issue_url": "https://api.github.com/repos/airbytehq/integration-test/issues/5", "number": 5, "state": "closed", "locked": false, "title": "New PR from feature/branch_4", "user": {"login": "gaart", "id": 743901, "node_id": "MDQ6VXNlcjc0MzkwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaart", "html_url": "https://github.com/gaart", "followers_url": "https://api.github.com/users/gaart/followers", "following_url": "https://api.github.com/users/gaart/following{/other_user}", "gists_url": "https://api.github.com/users/gaart/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaart/subscriptions", "organizations_url": "https://api.github.com/users/gaart/orgs", "repos_url": "https://api.github.com/users/gaart/repos", "events_url": "https://api.github.com/users/gaart/events{/privacy}", "received_events_url": "https://api.github.com/users/gaart/received_events", "type": "User", "site_admin": false}, "body": null, "created_at": "2021-08-27T15:43:40Z", "updated_at": "2023-11-16T14:38:58Z", "closed_at": "2023-11-16T14:38:58Z", "merged_at": null, "merge_commit_sha": "191309e3da8b36705156348ae73f4dca836533f9", "assignee": null, "assignees": [], "requested_reviewers": [], "requested_teams": [], "labels": [{"id": 3295756566, "node_id": "MDU6TGFiZWwzMjk1NzU2NTY2", "url": "https://api.github.com/repos/airbytehq/integration-test/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working"}, {"id": 3300346197, "node_id": "MDU6TGFiZWwzMzAwMzQ2MTk3", "url": "https://api.github.com/repos/airbytehq/integration-test/labels/critical", "name": "critical", "color": "ededed", "default": false, "description": null}], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/airbytehq/integration-test/pulls/5/commits", "review_comments_url": "https://api.github.com/repos/airbytehq/integration-test/pulls/5/comments", "review_comment_url": "https://api.github.com/repos/airbytehq/integration-test/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/airbytehq/integration-test/issues/5/comments", "statuses_url": "https://api.github.com/repos/airbytehq/integration-test/statuses/31a3e3f19fefce60fba6bfc69dd2b3fb5195a083", "head": {"label": "airbytehq:feature/branch_4", "ref": "feature/branch_4", "sha": "31a3e3f19fefce60fba6bfc69dd2b3fb5195a083", "user": {"login": "airbytehq", "id": 59758427, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NzU4NDI3", "avatar_url": "https://avatars.githubusercontent.com/u/59758427?v=4", "gravatar_id": "", "url": "https://api.github.com/users/airbytehq", "html_url": "https://github.com/airbytehq", "followers_url": "https://api.github.com/users/airbytehq/followers", "following_url": "https://api.github.com/users/airbytehq/following{/other_user}", "gists_url": "https://api.github.com/users/airbytehq/gists{/gist_id}", "starred_url": "https://api.github.com/users/airbytehq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/airbytehq/subscriptions", "organizations_url": "https://api.github.com/users/airbytehq/orgs", "repos_url": "https://api.github.com/users/airbytehq/repos", "events_url": "https://api.github.com/users/airbytehq/events{/privacy}", "received_events_url": "https://api.github.com/users/airbytehq/received_events", "type": "Organization", "site_admin": false}, "repo_id": 400052213}, "base": {"label": "airbytehq:master", "ref": "master", "sha": "978753aeb56f7b49872279d1b491411a6235aa90", "user": {"login": "airbytehq", "id": 59758427, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NzU4NDI3", "avatar_url": "https://avatars.githubusercontent.com/u/59758427?v=4", "gravatar_id": "", "url": "https://api.github.com/users/airbytehq", "html_url": "https://github.com/airbytehq", "followers_url": "https://api.github.com/users/airbytehq/followers", "following_url": "https://api.github.com/users/airbytehq/following{/other_user}", "gists_url": "https://api.github.com/users/airbytehq/gists{/gist_id}", "starred_url": "https://api.github.com/users/airbytehq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/airbytehq/subscriptions", "organizations_url": "https://api.github.com/users/airbytehq/orgs", "repos_url": "https://api.github.com/users/airbytehq/repos", "events_url": "https://api.github.com/users/airbytehq/events{/privacy}", "received_events_url": "https://api.github.com/users/airbytehq/received_events", "type": "Organization", "site_admin": false}, "repo": {"id": 400052213, "node_id": "MDEwOlJlcG9zaXRvcnk0MDAwNTIyMTM=", "name": "integration-test", "full_name": "airbytehq/integration-test", "private": false, "owner": {"login": "airbytehq", "id": 59758427, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NzU4NDI3", "avatar_url": "https://avatars.githubusercontent.com/u/59758427?v=4", "gravatar_id": "", "url": "https://api.github.com/users/airbytehq", "html_url": "https://github.com/airbytehq", "followers_url": "https://api.github.com/users/airbytehq/followers", "following_url": "https://api.github.com/users/airbytehq/following{/other_user}", "gists_url": "https://api.github.com/users/airbytehq/gists{/gist_id}", "starred_url": "https://api.github.com/users/airbytehq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/airbytehq/subscriptions", "organizations_url": "https://api.github.com/users/airbytehq/orgs", "repos_url": "https://api.github.com/users/airbytehq/repos", "events_url": "https://api.github.com/users/airbytehq/events{/privacy}", "received_events_url": "https://api.github.com/users/airbytehq/received_events", "type": "Organization", "site_admin": false}, "html_url": "https://github.com/airbytehq/integration-test", "description": "Used for integration testing the Github source connector", "fork": false, "url": "https://api.github.com/repos/airbytehq/integration-test", "forks_url": "https://api.github.com/repos/airbytehq/integration-test/forks", "keys_url": "https://api.github.com/repos/airbytehq/integration-test/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/airbytehq/integration-test/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/airbytehq/integration-test/teams", "hooks_url": "https://api.github.com/repos/airbytehq/integration-test/hooks", "issue_events_url": "https://api.github.com/repos/airbytehq/integration-test/issues/events{/number}", "events_url": "https://api.github.com/repos/airbytehq/integration-test/events", "assignees_url": "https://api.github.com/repos/airbytehq/integration-test/assignees{/user}", "branches_url": "https://api.github.com/repos/airbytehq/integration-test/branches{/branch}", "tags_url": "https://api.github.com/repos/airbytehq/integration-test/tags", "blobs_url": "https://api.github.com/repos/airbytehq/integration-test/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/airbytehq/integration-test/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/airbytehq/integration-test/git/refs{/sha}", "trees_url": "https://api.github.com/repos/airbytehq/integration-test/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/airbytehq/integration-test/statuses/{sha}", "languages_url": "https://api.github.com/repos/airbytehq/integration-test/languages", "stargazers_url": "https://api.github.com/repos/airbytehq/integration-test/stargazers", "contributors_url": "https://api.github.com/repos/airbytehq/integration-test/contributors", "subscribers_url": "https://api.github.com/repos/airbytehq/integration-test/subscribers", "subscription_url": "https://api.github.com/repos/airbytehq/integration-test/subscription", "commits_url": "https://api.github.com/repos/airbytehq/integration-test/commits{/sha}", "git_commits_url": "https://api.github.com/repos/airbytehq/integration-test/git/commits{/sha}", "comments_url": "https://api.github.com/repos/airbytehq/integration-test/comments{/number}", "issue_comment_url": "https://api.github.com/repos/airbytehq/integration-test/issues/comments{/number}", "contents_url": "https://api.github.com/repos/airbytehq/integration-test/contents/{+path}", "compare_url": "https://api.github.com/repos/airbytehq/integration-test/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/airbytehq/integration-test/merges", "archive_url": "https://api.github.com/repos/airbytehq/integration-test/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/airbytehq/integration-test/downloads", "issues_url": "https://api.github.com/repos/airbytehq/integration-test/issues{/number}", "pulls_url": "https://api.github.com/repos/airbytehq/integration-test/pulls{/number}", "milestones_url": "https://api.github.com/repos/airbytehq/integration-test/milestones{/number}", "notifications_url": "https://api.github.com/repos/airbytehq/integration-test/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/airbytehq/integration-test/labels{/name}", "releases_url": "https://api.github.com/repos/airbytehq/integration-test/releases{/id}", "deployments_url": "https://api.github.com/repos/airbytehq/integration-test/deployments", "created_at": "2021-08-26T05:32:43Z", "updated_at": "2023-11-16T14:48:53Z", "pushed_at": "2023-05-03T16:40:56Z", "git_url": "git://github.com/airbytehq/integration-test.git", "ssh_url": "git@github.com:airbytehq/integration-test.git", "clone_url": "https://github.com/airbytehq/integration-test.git", "svn_url": "https://github.com/airbytehq/integration-test", "homepage": null, "size": 11, "stargazers_count": 4, "watchers_count": 4, "language": null, "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": false, "forks_count": 2, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 6, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 2, "open_issues": 6, "watchers": 4, "default_branch": "master"}, "repo_id": null}, "_links": {"self": {"href": "https://api.github.com/repos/airbytehq/integration-test/pulls/5"}, "html": {"href": "https://github.com/airbytehq/integration-test/pull/5"}, "issue": {"href": "https://api.github.com/repos/airbytehq/integration-test/issues/5"}, "comments": {"href": "https://api.github.com/repos/airbytehq/integration-test/issues/5/comments"}, "review_comments": {"href": "https://api.github.com/repos/airbytehq/integration-test/pulls/5/comments"}, "review_comment": {"href": "https://api.github.com/repos/airbytehq/integration-test/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/airbytehq/integration-test/pulls/5/commits"}, "statuses": {"href": "https://api.github.com/repos/airbytehq/integration-test/statuses/31a3e3f19fefce60fba6bfc69dd2b3fb5195a083"}}, "author_association": "CONTRIBUTOR", "auto_merge": null, "active_lock_reason": null, "repository": "airbytehq/integration-test"}, "emitted_at": 1700585060024} -{"stream":"releases","data":{"url":"https://api.github.com/repos/airbytehq/integration-test/releases/48581586","assets_url":"https://api.github.com/repos/airbytehq/integration-test/releases/48581586/assets","upload_url":"https://uploads.github.com/repos/airbytehq/integration-test/releases/48581586/assets{?name,label}","html_url":"https://github.com/airbytehq/integration-test/releases/tag/dev-0.9","id":48581586,"author":{"login":"gaart","id":743901,"node_id":"MDQ6VXNlcjc0MzkwMQ==","avatar_url":"https://avatars.githubusercontent.com/u/743901?v=4","gravatar_id":"","url":"https://api.github.com/users/gaart","html_url":"https://github.com/gaart","followers_url":"https://api.github.com/users/gaart/followers","following_url":"https://api.github.com/users/gaart/following{/other_user}","gists_url":"https://api.github.com/users/gaart/gists{/gist_id}","starred_url":"https://api.github.com/users/gaart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaart/subscriptions","organizations_url":"https://api.github.com/users/gaart/orgs","repos_url":"https://api.github.com/users/gaart/repos","events_url":"https://api.github.com/users/gaart/events{/privacy}","received_events_url":"https://api.github.com/users/gaart/received_events","type":"User","site_admin":false},"node_id":"MDc6UmVsZWFzZTQ4NTgxNTg2","tag_name":"dev-0.9","target_commitish":"master","name":"9 global release","draft":false,"prerelease":false,"created_at":"2021-08-27T07:03:09Z","published_at":"2021-08-27T15:43:53Z","assets":[],"tarball_url":"https://api.github.com/repos/airbytehq/integration-test/tarball/dev-0.9","zipball_url":"https://api.github.com/repos/airbytehq/integration-test/zipball/dev-0.9","body":"","repository":"airbytehq/integration-test"},"emitted_at":1677668760424} -{"stream":"repositories","data":{"id":283046497,"node_id":"MDEwOlJlcG9zaXRvcnkyODMwNDY0OTc=","name":"airbyte","full_name":"airbytehq/airbyte","private":false,"owner":{"login":"airbytehq","id":59758427,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5NzU4NDI3","avatar_url":"https://avatars.githubusercontent.com/u/59758427?v=4","gravatar_id":"","url":"https://api.github.com/users/airbytehq","html_url":"https://github.com/airbytehq","followers_url":"https://api.github.com/users/airbytehq/followers","following_url":"https://api.github.com/users/airbytehq/following{/other_user}","gists_url":"https://api.github.com/users/airbytehq/gists{/gist_id}","starred_url":"https://api.github.com/users/airbytehq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airbytehq/subscriptions","organizations_url":"https://api.github.com/users/airbytehq/orgs","repos_url":"https://api.github.com/users/airbytehq/repos","events_url":"https://api.github.com/users/airbytehq/events{/privacy}","received_events_url":"https://api.github.com/users/airbytehq/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/airbytehq/airbyte","description":"The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.","fork":false,"url":"https://api.github.com/repos/airbytehq/airbyte","forks_url":"https://api.github.com/repos/airbytehq/airbyte/forks","keys_url":"https://api.github.com/repos/airbytehq/airbyte/keys{/key_id}","collaborators_url":"https://api.github.com/repos/airbytehq/airbyte/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/airbytehq/airbyte/teams","hooks_url":"https://api.github.com/repos/airbytehq/airbyte/hooks","issue_events_url":"https://api.github.com/repos/airbytehq/airbyte/issues/events{/number}","events_url":"https://api.github.com/repos/airbytehq/airbyte/events","assignees_url":"https://api.github.com/repos/airbytehq/airbyte/assignees{/user}","branches_url":"https://api.github.com/repos/airbytehq/airbyte/branches{/branch}","tags_url":"https://api.github.com/repos/airbytehq/airbyte/tags","blobs_url":"https://api.github.com/repos/airbytehq/airbyte/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/airbytehq/airbyte/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/airbytehq/airbyte/git/refs{/sha}","trees_url":"https://api.github.com/repos/airbytehq/airbyte/git/trees{/sha}","statuses_url":"https://api.github.com/repos/airbytehq/airbyte/statuses/{sha}","languages_url":"https://api.github.com/repos/airbytehq/airbyte/languages","stargazers_url":"https://api.github.com/repos/airbytehq/airbyte/stargazers","contributors_url":"https://api.github.com/repos/airbytehq/airbyte/contributors","subscribers_url":"https://api.github.com/repos/airbytehq/airbyte/subscribers","subscription_url":"https://api.github.com/repos/airbytehq/airbyte/subscription","commits_url":"https://api.github.com/repos/airbytehq/airbyte/commits{/sha}","git_commits_url":"https://api.github.com/repos/airbytehq/airbyte/git/commits{/sha}","comments_url":"https://api.github.com/repos/airbytehq/airbyte/comments{/number}","issue_comment_url":"https://api.github.com/repos/airbytehq/airbyte/issues/comments{/number}","contents_url":"https://api.github.com/repos/airbytehq/airbyte/contents/{+path}","compare_url":"https://api.github.com/repos/airbytehq/airbyte/compare/{base}...{head}","merges_url":"https://api.github.com/repos/airbytehq/airbyte/merges","archive_url":"https://api.github.com/repos/airbytehq/airbyte/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/airbytehq/airbyte/downloads","issues_url":"https://api.github.com/repos/airbytehq/airbyte/issues{/number}","pulls_url":"https://api.github.com/repos/airbytehq/airbyte/pulls{/number}","milestones_url":"https://api.github.com/repos/airbytehq/airbyte/milestones{/number}","notifications_url":"https://api.github.com/repos/airbytehq/airbyte/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/airbytehq/airbyte/labels{/name}","releases_url":"https://api.github.com/repos/airbytehq/airbyte/releases{/id}","deployments_url":"https://api.github.com/repos/airbytehq/airbyte/deployments","created_at":"2020-07-27T23:55:54Z","updated_at":"2024-01-26T13:38:04Z","pushed_at":"2024-01-26T13:46:31Z","git_url":"git://github.com/airbytehq/airbyte.git","ssh_url":"git@github.com:airbytehq/airbyte.git","clone_url":"https://github.com/airbytehq/airbyte.git","svn_url":"https://github.com/airbytehq/airbyte","homepage":"https://airbyte.com","size":486685,"stargazers_count":12924,"watchers_count":12924,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":true,"forks_count":3381,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":5107,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":["bigquery","change-data-capture","data","data-analysis","data-collection","data-engineering","data-integration","data-pipeline","elt","etl","java","mssql","mysql","pipeline","postgresql","python","redshift","s3","self-hosted","snowflake"],"visibility":"public","forks":3381,"open_issues":5107,"watchers":12924,"default_branch":"master","permissions":{"admin":true,"maintain":true,"push":true,"triage":true,"pull":true},"security_and_analysis":{"secret_scanning":{"status":"disabled"},"secret_scanning_push_protection":{"status":"disabled"},"dependabot_security_updates":{"status":"enabled"},"secret_scanning_validity_checks":{"status":"disabled"}},"organization":"airbytehq"},"emitted_at":1706276794871} -{"stream":"review_comments","data":{"url":"https://api.github.com/repos/airbytehq/integration-test/pulls/comments/699253726","pull_request_review_id":742633128,"id":699253726,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDY5OTI1MzcyNg==","diff_hunk":"@@ -0,0 +1 @@\n+text_for_file_","path":"github_sources/file_1.txt","commit_id":"da5fa314f9b3a272d0aa47a453aec0f68a80cbae","original_commit_id":"da5fa314f9b3a272d0aa47a453aec0f68a80cbae","user":{"login":"yevhenii-ldv","id":34103125,"node_id":"MDQ6VXNlcjM0MTAzMTI1","avatar_url":"https://avatars.githubusercontent.com/u/34103125?v=4","gravatar_id":"","url":"https://api.github.com/users/yevhenii-ldv","html_url":"https://github.com/yevhenii-ldv","followers_url":"https://api.github.com/users/yevhenii-ldv/followers","following_url":"https://api.github.com/users/yevhenii-ldv/following{/other_user}","gists_url":"https://api.github.com/users/yevhenii-ldv/gists{/gist_id}","starred_url":"https://api.github.com/users/yevhenii-ldv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yevhenii-ldv/subscriptions","organizations_url":"https://api.github.com/users/yevhenii-ldv/orgs","repos_url":"https://api.github.com/users/yevhenii-ldv/repos","events_url":"https://api.github.com/users/yevhenii-ldv/events{/privacy}","received_events_url":"https://api.github.com/users/yevhenii-ldv/received_events","type":"User","site_admin":false},"body":"Good point","created_at":"2021-08-31T12:01:15Z","updated_at":"2021-08-31T12:01:15Z","html_url":"https://github.com/airbytehq/integration-test/pull/4#discussion_r699253726","pull_request_url":"https://api.github.com/repos/airbytehq/integration-test/pulls/4","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/airbytehq/integration-test/pulls/comments/699253726"},"html":{"href":"https://github.com/airbytehq/integration-test/pull/4#discussion_r699253726"},"pull_request":{"href":"https://api.github.com/repos/airbytehq/integration-test/pulls/4"}},"reactions":{"url":"https://api.github.com/repos/airbytehq/integration-test/pulls/comments/699253726/reactions","total_count":1,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":1,"rocket":0,"eyes":0},"start_line":null,"original_start_line":null,"start_side":null,"line":1,"original_line":1,"side":"RIGHT","original_position":1,"position":1,"subject_type":"line","repository":"airbytehq/integration-test"},"emitted_at":1695375624151} -{"stream":"reviews","data":{"node_id":"MDE3OlB1bGxSZXF1ZXN0UmV2aWV3NzQwNjU5Nzk4","id":740659798,"body":"Review commit for branch feature/branch_4","state":"COMMENTED","html_url":"https://github.com/airbytehq/integration-test/pull/5#pullrequestreview-740659798","author_association":"CONTRIBUTOR","submitted_at":"2021-08-27T15:43:42Z","created_at":"2021-08-27T15:43:42Z","updated_at":"2021-08-27T15:43:42Z","user":{"node_id":"MDQ6VXNlcjc0MzkwMQ==","id":743901,"login":"gaart","avatar_url":"https://avatars.githubusercontent.com/u/743901?v=4","html_url":"https://github.com/gaart","site_admin":false,"type":"User"},"repository":"airbytehq/integration-test","pull_request_url":"https://github.com/airbytehq/integration-test/pull/5","commit_id":"31a3e3f19fefce60fba6bfc69dd2b3fb5195a083","_links":{"html":{"href":"https://github.com/airbytehq/integration-test/pull/5#pullrequestreview-740659798"},"pull_request":{"href":"https://github.com/airbytehq/integration-test/pull/5"}}},"emitted_at":1677668764954} -{"stream":"stargazers","data":{"starred_at":"2021-08-27T16:23:34Z","user":{"login":"VasylLazebnyk","id":68591643,"node_id":"MDQ6VXNlcjY4NTkxNjQz","avatar_url":"https://avatars.githubusercontent.com/u/68591643?v=4","gravatar_id":"","url":"https://api.github.com/users/VasylLazebnyk","html_url":"https://github.com/VasylLazebnyk","followers_url":"https://api.github.com/users/VasylLazebnyk/followers","following_url":"https://api.github.com/users/VasylLazebnyk/following{/other_user}","gists_url":"https://api.github.com/users/VasylLazebnyk/gists{/gist_id}","starred_url":"https://api.github.com/users/VasylLazebnyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VasylLazebnyk/subscriptions","organizations_url":"https://api.github.com/users/VasylLazebnyk/orgs","repos_url":"https://api.github.com/users/VasylLazebnyk/repos","events_url":"https://api.github.com/users/VasylLazebnyk/events{/privacy}","received_events_url":"https://api.github.com/users/VasylLazebnyk/received_events","type":"User","site_admin":false},"repository":"airbytehq/integration-test","user_id":68591643},"emitted_at":1677668765231} -{"stream":"tags","data":{"name":"dev-0.9","zipball_url":"https://api.github.com/repos/airbytehq/integration-test/zipball/refs/tags/dev-0.9","tarball_url":"https://api.github.com/repos/airbytehq/integration-test/tarball/refs/tags/dev-0.9","commit":{"sha":"978753aeb56f7b49872279d1b491411a6235aa90","url":"https://api.github.com/repos/airbytehq/integration-test/commits/978753aeb56f7b49872279d1b491411a6235aa90"},"node_id":"MDM6UmVmNDAwMDUyMjEzOnJlZnMvdGFncy9kZXYtMC45","repository":"airbytehq/integration-test"},"emitted_at":1677668765467} -{"stream":"teams", "data": {"name": "Zazmic", "id": 4432406, "node_id": "MDQ6VGVhbTQ0MzI0MDY=", "slug": "zazmic", "description": "", "privacy": "closed", "notification_setting": "notifications_enabled", "url": "https://api.github.com/organizations/59758427/team/4432406", "html_url": "https://github.com/orgs/airbytehq/teams/zazmic", "members_url": "https://api.github.com/organizations/59758427/team/4432406/members{/member}", "repositories_url": "https://api.github.com/organizations/59758427/team/4432406/repos", "permission": "pull", "parent": null, "organization": "airbytehq"}, "emitted_at": 1681307598422} -{"stream":"users","data":{"login":"AirbyteEricksson","id":101604444,"node_id":"U_kgDOBg5cXA","avatar_url":"https://avatars.githubusercontent.com/u/101604444?v=4","gravatar_id":"","url":"https://api.github.com/users/AirbyteEricksson","html_url":"https://github.com/AirbyteEricksson","followers_url":"https://api.github.com/users/AirbyteEricksson/followers","following_url":"https://api.github.com/users/AirbyteEricksson/following{/other_user}","gists_url":"https://api.github.com/users/AirbyteEricksson/gists{/gist_id}","starred_url":"https://api.github.com/users/AirbyteEricksson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AirbyteEricksson/subscriptions","organizations_url":"https://api.github.com/users/AirbyteEricksson/orgs","repos_url":"https://api.github.com/users/AirbyteEricksson/repos","events_url":"https://api.github.com/users/AirbyteEricksson/events{/privacy}","received_events_url":"https://api.github.com/users/AirbyteEricksson/received_events","type":"User","site_admin":false,"organization":"airbytehq"},"emitted_at":1677668766142} -{"stream":"workflows","data":{"id":22952989,"node_id":"W_kwDOF9hP9c4BXjwd","name":"Pull Request Labeler","path":".github/workflows/labeler.yml","state":"active","created_at":"2022-03-30T21:30:37.000+02:00","updated_at":"2022-03-30T21:30:37.000+02:00","url":"https://api.github.com/repos/airbytehq/integration-test/actions/workflows/22952989","html_url":"https://github.com/airbytehq/integration-test/blob/master/.github/workflows/labeler.yml","badge_url":"https://github.com/airbytehq/integration-test/workflows/Pull%20Request%20Labeler/badge.svg","repository":"airbytehq/integration-test"},"emitted_at":1677668766580} -{"stream": "workflow_runs", "data": {"id": 4871166142, "name": "Pull Request Labeler", "node_id": "WFR_kwLOF9hP9c8AAAABIlgYvg", "head_branch": "arsenlosenko/test-pending-comments-in-pr", "head_sha": "47c7a128f28791f657265eb89cdf7ab28a0ff51b", "path": ".github/workflows/labeler.yml", "display_title": "Update .gitignore", "run_number": 4, "event": "pull_request_target", "status": "completed", "conclusion": "success", "workflow_id": 22952989, "check_suite_id": 12643387080, "check_suite_node_id": "CS_kwDOF9hP9c8AAAAC8ZrGyA", "url": "https://api.github.com/repos/airbytehq/integration-test/actions/runs/4871166142", "html_url": "https://github.com/airbytehq/integration-test/actions/runs/4871166142", "pull_requests": [], "created_at": "2023-05-03T11:05:23Z", "updated_at": "2023-05-03T11:05:36Z", "actor": {"login": "arsenlosenko", "id": 20901439, "node_id": "MDQ6VXNlcjIwOTAxNDM5", "avatar_url": "https://avatars.githubusercontent.com/u/20901439?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arsenlosenko", "html_url": "https://github.com/arsenlosenko", "followers_url": "https://api.github.com/users/arsenlosenko/followers", "following_url": "https://api.github.com/users/arsenlosenko/following{/other_user}", "gists_url": "https://api.github.com/users/arsenlosenko/gists{/gist_id}", "starred_url": "https://api.github.com/users/arsenlosenko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arsenlosenko/subscriptions", "organizations_url": "https://api.github.com/users/arsenlosenko/orgs", "repos_url": "https://api.github.com/users/arsenlosenko/repos", "events_url": "https://api.github.com/users/arsenlosenko/events{/privacy}", "received_events_url": "https://api.github.com/users/arsenlosenko/received_events", "type": "User", "site_admin": false}, "run_attempt": 1, "referenced_workflows": [], "run_started_at": "2023-05-03T11:05:23Z", "triggering_actor": {"login": "arsenlosenko", "id": 20901439, "node_id": "MDQ6VXNlcjIwOTAxNDM5", "avatar_url": "https://avatars.githubusercontent.com/u/20901439?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arsenlosenko", "html_url": "https://github.com/arsenlosenko", "followers_url": "https://api.github.com/users/arsenlosenko/followers", "following_url": "https://api.github.com/users/arsenlosenko/following{/other_user}", "gists_url": "https://api.github.com/users/arsenlosenko/gists{/gist_id}", "starred_url": "https://api.github.com/users/arsenlosenko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arsenlosenko/subscriptions", "organizations_url": "https://api.github.com/users/arsenlosenko/orgs", "repos_url": "https://api.github.com/users/arsenlosenko/repos", "events_url": "https://api.github.com/users/arsenlosenko/events{/privacy}", "received_events_url": "https://api.github.com/users/arsenlosenko/received_events", "type": "User", "site_admin": false}, "jobs_url": "https://api.github.com/repos/airbytehq/integration-test/actions/runs/4871166142/jobs", "logs_url": "https://api.github.com/repos/airbytehq/integration-test/actions/runs/4871166142/logs", "check_suite_url": "https://api.github.com/repos/airbytehq/integration-test/check-suites/12643387080", "artifacts_url": "https://api.github.com/repos/airbytehq/integration-test/actions/runs/4871166142/artifacts", "cancel_url": "https://api.github.com/repos/airbytehq/integration-test/actions/runs/4871166142/cancel", "rerun_url": "https://api.github.com/repos/airbytehq/integration-test/actions/runs/4871166142/rerun", "previous_attempt_url": null, "workflow_url": "https://api.github.com/repos/airbytehq/integration-test/actions/workflows/22952989", "head_commit": {"id": "47c7a128f28791f657265eb89cdf7ab28a0ff51b", "tree_id": "3cc1c41924b3cb67150684024877f6e02d283afb", "message": "Update .gitignore", "timestamp": "2023-05-03T11:04:11Z", "author": {"name": "Arsen Losenko", "email": "20901439+arsenlosenko@users.noreply.github.com"}, "committer": {"name": "Arsen Losenko", "email": "20901439+arsenlosenko@users.noreply.github.com"}}, "repository": {"id": 400052213, "node_id": "MDEwOlJlcG9zaXRvcnk0MDAwNTIyMTM=", "name": "integration-test", "full_name": "airbytehq/integration-test", "private": false, "owner": {"login": "airbytehq", "id": 59758427, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NzU4NDI3", "avatar_url": "https://avatars.githubusercontent.com/u/59758427?v=4", "gravatar_id": "", "url": "https://api.github.com/users/airbytehq", "html_url": "https://github.com/airbytehq", "followers_url": "https://api.github.com/users/airbytehq/followers", "following_url": "https://api.github.com/users/airbytehq/following{/other_user}", "gists_url": "https://api.github.com/users/airbytehq/gists{/gist_id}", "starred_url": "https://api.github.com/users/airbytehq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/airbytehq/subscriptions", "organizations_url": "https://api.github.com/users/airbytehq/orgs", "repos_url": "https://api.github.com/users/airbytehq/repos", "events_url": "https://api.github.com/users/airbytehq/events{/privacy}", "received_events_url": "https://api.github.com/users/airbytehq/received_events", "type": "Organization", "site_admin": false}, "html_url": "https://github.com/airbytehq/integration-test", "description": "Used for integration testing the Github source connector", "fork": false, "url": "https://api.github.com/repos/airbytehq/integration-test", "forks_url": "https://api.github.com/repos/airbytehq/integration-test/forks", "keys_url": "https://api.github.com/repos/airbytehq/integration-test/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/airbytehq/integration-test/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/airbytehq/integration-test/teams", "hooks_url": "https://api.github.com/repos/airbytehq/integration-test/hooks", "issue_events_url": "https://api.github.com/repos/airbytehq/integration-test/issues/events{/number}", "events_url": "https://api.github.com/repos/airbytehq/integration-test/events", "assignees_url": "https://api.github.com/repos/airbytehq/integration-test/assignees{/user}", "branches_url": "https://api.github.com/repos/airbytehq/integration-test/branches{/branch}", "tags_url": "https://api.github.com/repos/airbytehq/integration-test/tags", "blobs_url": "https://api.github.com/repos/airbytehq/integration-test/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/airbytehq/integration-test/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/airbytehq/integration-test/git/refs{/sha}", "trees_url": "https://api.github.com/repos/airbytehq/integration-test/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/airbytehq/integration-test/statuses/{sha}", "languages_url": "https://api.github.com/repos/airbytehq/integration-test/languages", "stargazers_url": "https://api.github.com/repos/airbytehq/integration-test/stargazers", "contributors_url": "https://api.github.com/repos/airbytehq/integration-test/contributors", "subscribers_url": "https://api.github.com/repos/airbytehq/integration-test/subscribers", "subscription_url": "https://api.github.com/repos/airbytehq/integration-test/subscription", "commits_url": "https://api.github.com/repos/airbytehq/integration-test/commits{/sha}", "git_commits_url": "https://api.github.com/repos/airbytehq/integration-test/git/commits{/sha}", "comments_url": "https://api.github.com/repos/airbytehq/integration-test/comments{/number}", "issue_comment_url": "https://api.github.com/repos/airbytehq/integration-test/issues/comments{/number}", "contents_url": "https://api.github.com/repos/airbytehq/integration-test/contents/{+path}", "compare_url": "https://api.github.com/repos/airbytehq/integration-test/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/airbytehq/integration-test/merges", "archive_url": "https://api.github.com/repos/airbytehq/integration-test/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/airbytehq/integration-test/downloads", "issues_url": "https://api.github.com/repos/airbytehq/integration-test/issues{/number}", "pulls_url": "https://api.github.com/repos/airbytehq/integration-test/pulls{/number}", "milestones_url": "https://api.github.com/repos/airbytehq/integration-test/milestones{/number}", "notifications_url": "https://api.github.com/repos/airbytehq/integration-test/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/airbytehq/integration-test/labels{/name}", "releases_url": "https://api.github.com/repos/airbytehq/integration-test/releases{/id}", "deployments_url": "https://api.github.com/repos/airbytehq/integration-test/deployments"}, "head_repository": {"id": 400052213, "node_id": "MDEwOlJlcG9zaXRvcnk0MDAwNTIyMTM=", "name": "integration-test", "full_name": "airbytehq/integration-test", "private": false, "owner": {"login": "airbytehq", "id": 59758427, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NzU4NDI3", "avatar_url": "https://avatars.githubusercontent.com/u/59758427?v=4", "gravatar_id": "", "url": "https://api.github.com/users/airbytehq", "html_url": "https://github.com/airbytehq", "followers_url": "https://api.github.com/users/airbytehq/followers", "following_url": "https://api.github.com/users/airbytehq/following{/other_user}", "gists_url": "https://api.github.com/users/airbytehq/gists{/gist_id}", "starred_url": "https://api.github.com/users/airbytehq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/airbytehq/subscriptions", "organizations_url": "https://api.github.com/users/airbytehq/orgs", "repos_url": "https://api.github.com/users/airbytehq/repos", "events_url": "https://api.github.com/users/airbytehq/events{/privacy}", "received_events_url": "https://api.github.com/users/airbytehq/received_events", "type": "Organization", "site_admin": false}, "html_url": "https://github.com/airbytehq/integration-test", "description": "Used for integration testing the Github source connector", "fork": false, "url": "https://api.github.com/repos/airbytehq/integration-test", "forks_url": "https://api.github.com/repos/airbytehq/integration-test/forks", "keys_url": "https://api.github.com/repos/airbytehq/integration-test/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/airbytehq/integration-test/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/airbytehq/integration-test/teams", "hooks_url": "https://api.github.com/repos/airbytehq/integration-test/hooks", "issue_events_url": "https://api.github.com/repos/airbytehq/integration-test/issues/events{/number}", "events_url": "https://api.github.com/repos/airbytehq/integration-test/events", "assignees_url": "https://api.github.com/repos/airbytehq/integration-test/assignees{/user}", "branches_url": "https://api.github.com/repos/airbytehq/integration-test/branches{/branch}", "tags_url": "https://api.github.com/repos/airbytehq/integration-test/tags", "blobs_url": "https://api.github.com/repos/airbytehq/integration-test/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/airbytehq/integration-test/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/airbytehq/integration-test/git/refs{/sha}", "trees_url": "https://api.github.com/repos/airbytehq/integration-test/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/airbytehq/integration-test/statuses/{sha}", "languages_url": "https://api.github.com/repos/airbytehq/integration-test/languages", "stargazers_url": "https://api.github.com/repos/airbytehq/integration-test/stargazers", "contributors_url": "https://api.github.com/repos/airbytehq/integration-test/contributors", "subscribers_url": "https://api.github.com/repos/airbytehq/integration-test/subscribers", "subscription_url": "https://api.github.com/repos/airbytehq/integration-test/subscription", "commits_url": "https://api.github.com/repos/airbytehq/integration-test/commits{/sha}", "git_commits_url": "https://api.github.com/repos/airbytehq/integration-test/git/commits{/sha}", "comments_url": "https://api.github.com/repos/airbytehq/integration-test/comments{/number}", "issue_comment_url": "https://api.github.com/repos/airbytehq/integration-test/issues/comments{/number}", "contents_url": "https://api.github.com/repos/airbytehq/integration-test/contents/{+path}", "compare_url": "https://api.github.com/repos/airbytehq/integration-test/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/airbytehq/integration-test/merges", "archive_url": "https://api.github.com/repos/airbytehq/integration-test/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/airbytehq/integration-test/downloads", "issues_url": "https://api.github.com/repos/airbytehq/integration-test/issues{/number}", "pulls_url": "https://api.github.com/repos/airbytehq/integration-test/pulls{/number}", "milestones_url": "https://api.github.com/repos/airbytehq/integration-test/milestones{/number}", "notifications_url": "https://api.github.com/repos/airbytehq/integration-test/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/airbytehq/integration-test/labels{/name}", "releases_url": "https://api.github.com/repos/airbytehq/integration-test/releases{/id}", "deployments_url": "https://api.github.com/repos/airbytehq/integration-test/deployments"}}, "emitted_at": 1700586521273} -{"stream": "workflow_jobs", "data": {"id": 13199605689, "run_id": 4871166142, "workflow_name": "Pull Request Labeler", "head_branch": "arsenlosenko/test-pending-comments-in-pr", "run_url": "https://api.github.com/repos/airbytehq/integration-test/actions/runs/4871166142", "run_attempt": 1, "node_id": "CR_kwDOF9hP9c8AAAADEsH_uQ", "head_sha": "47c7a128f28791f657265eb89cdf7ab28a0ff51b", "url": "https://api.github.com/repos/airbytehq/integration-test/actions/jobs/13199605689", "html_url": "https://github.com/airbytehq/integration-test/actions/runs/4871166142/job/13199605689", "status": "completed", "conclusion": "success", "created_at": "2023-05-03T11:05:25Z", "started_at": "2023-05-03T11:05:30Z", "completed_at": "2023-05-03T11:05:34Z", "name": "triage", "steps": [{"name": "Set up job", "status": "completed", "conclusion": "success", "number": 1, "started_at": "2023-05-03T14:05:30.000+03:00", "completed_at": "2023-05-03T14:05:31.000+03:00"}, {"name": "Run actions/labeler@v3", "status": "completed", "conclusion": "success", "number": 2, "started_at": "2023-05-03T14:05:32.000+03:00", "completed_at": "2023-05-03T14:05:32.000+03:00"}, {"name": "Complete job", "status": "completed", "conclusion": "success", "number": 3, "started_at": "2023-05-03T14:05:32.000+03:00", "completed_at": "2023-05-03T14:05:32.000+03:00"}], "check_run_url": "https://api.github.com/repos/airbytehq/integration-test/check-runs/13199605689", "labels": ["ubuntu-latest"], "runner_id": 4, "runner_name": "GitHub Actions 4", "runner_group_id": 2, "runner_group_name": "GitHub Actions", "repository": "airbytehq/integration-test"}, "emitted_at": 1700587195423} -{"stream": "team_members", "data": {"login": "johnlafleur", "id": 68561602, "node_id": "MDQ6VXNlcjY4NTYxNjAy", "avatar_url": "https://avatars.githubusercontent.com/u/68561602?v=4", "gravatar_id": "", "url": "https://api.github.com/users/johnlafleur", "html_url": "https://github.com/johnlafleur", "followers_url": "https://api.github.com/users/johnlafleur/followers", "following_url": "https://api.github.com/users/johnlafleur/following{/other_user}", "gists_url": "https://api.github.com/users/johnlafleur/gists{/gist_id}", "starred_url": "https://api.github.com/users/johnlafleur/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/johnlafleur/subscriptions", "organizations_url": "https://api.github.com/users/johnlafleur/orgs", "repos_url": "https://api.github.com/users/johnlafleur/repos", "events_url": "https://api.github.com/users/johnlafleur/events{/privacy}", "received_events_url": "https://api.github.com/users/johnlafleur/received_events", "type": "User", "site_admin": false, "organization": "airbytehq", "team_slug": "airbyte-eng"}, "emitted_at": 1698750584444} -{"stream": "team_memberships", "data": {"state": "active", "role": "member", "url": "https://api.github.com/organizations/59758427/team/4559297/memberships/johnlafleur", "organization": "airbytehq", "team_slug": "airbyte-core", "username": "johnlafleur"}, "emitted_at": 1698757985640} -{"stream": "issue_timeline_events", "data": {"repository": "airbytehq/integration-test", "issue_number": 6, "labeled": {"id": 5219398390, "node_id": "MDEyOkxhYmVsZWRFdmVudDUyMTkzOTgzOTA=", "url": "https://api.github.com/repos/airbytehq/integration-test/issues/events/5219398390", "actor": {"login": "gaart", "id": 743901, "node_id": "MDQ6VXNlcjc0MzkwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaart", "html_url": "https://github.com/gaart", "followers_url": "https://api.github.com/users/gaart/followers", "following_url": "https://api.github.com/users/gaart/following{/other_user}", "gists_url": "https://api.github.com/users/gaart/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaart/subscriptions", "organizations_url": "https://api.github.com/users/gaart/orgs", "repos_url": "https://api.github.com/users/gaart/repos", "events_url": "https://api.github.com/users/gaart/events{/privacy}", "received_events_url": "https://api.github.com/users/gaart/received_events", "type": "User", "site_admin": false}, "event": "labeled", "commit_id": null, "commit_url": null, "created_at": "2021-08-27T15:43:58Z", "label": {"name": "critical", "color": "ededed"}, "performed_via_github_app": null}, "milestoned": {"id": 5219398392, "node_id": "MDE1Ok1pbGVzdG9uZWRFdmVudDUyMTkzOTgzOTI=", "url": "https://api.github.com/repos/airbytehq/integration-test/issues/events/5219398392", "actor": {"login": "gaart", "id": 743901, "node_id": "MDQ6VXNlcjc0MzkwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaart", "html_url": "https://github.com/gaart", "followers_url": "https://api.github.com/users/gaart/followers", "following_url": "https://api.github.com/users/gaart/following{/other_user}", "gists_url": "https://api.github.com/users/gaart/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaart/subscriptions", "organizations_url": "https://api.github.com/users/gaart/orgs", "repos_url": "https://api.github.com/users/gaart/repos", "events_url": "https://api.github.com/users/gaart/events{/privacy}", "received_events_url": "https://api.github.com/users/gaart/received_events", "type": "User", "site_admin": false}, "event": "milestoned", "commit_id": null, "commit_url": null, "created_at": "2021-08-27T15:43:58Z", "milestone": {"title": "main"}, "performed_via_github_app": null}, "commented": {"url": "https://api.github.com/repos/airbytehq/integration-test/issues/comments/907296167", "html_url": "https://github.com/airbytehq/integration-test/issues/6#issuecomment-907296167", "issue_url": "https://api.github.com/repos/airbytehq/integration-test/issues/6", "id": 907296167, "node_id": "IC_kwDOF9hP9c42FD2n", "user": {"login": "gaart", "id": 743901, "node_id": "MDQ6VXNlcjc0MzkwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaart", "html_url": "https://github.com/gaart", "followers_url": "https://api.github.com/users/gaart/followers", "following_url": "https://api.github.com/users/gaart/following{/other_user}", "gists_url": "https://api.github.com/users/gaart/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaart/subscriptions", "organizations_url": "https://api.github.com/users/gaart/orgs", "repos_url": "https://api.github.com/users/gaart/repos", "events_url": "https://api.github.com/users/gaart/events{/privacy}", "received_events_url": "https://api.github.com/users/gaart/received_events", "type": "User", "site_admin": false}, "created_at": "2021-08-27T15:43:59Z", "updated_at": "2021-08-27T15:43:59Z", "author_association": "CONTRIBUTOR", "body": "comment for issues https://api.github.com/repos/airbytehq/integration-test/issues/6/comments", "reactions": {"url": "https://api.github.com/repos/airbytehq/integration-test/issues/comments/907296167/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "performed_via_github_app": null, "event": "commented", "actor": {"login": "gaart", "id": 743901, "node_id": "MDQ6VXNlcjc0MzkwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaart", "html_url": "https://github.com/gaart", "followers_url": "https://api.github.com/users/gaart/followers", "following_url": "https://api.github.com/users/gaart/following{/other_user}", "gists_url": "https://api.github.com/users/gaart/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaart/subscriptions", "organizations_url": "https://api.github.com/users/gaart/orgs", "repos_url": "https://api.github.com/users/gaart/repos", "events_url": "https://api.github.com/users/gaart/events{/privacy}", "received_events_url": "https://api.github.com/users/gaart/received_events", "type": "User", "site_admin": false}}}, "emitted_at": 1695815681406} -{"stream": "issue_timeline_events", "data": {"repository": "airbytehq/integration-test", "issue_number": 9, "labeled": {"id": 5219398888, "node_id": "MDEyOkxhYmVsZWRFdmVudDUyMTkzOTg4ODg=", "url": "https://api.github.com/repos/airbytehq/integration-test/issues/events/5219398888", "actor": {"login": "gaart", "id": 743901, "node_id": "MDQ6VXNlcjc0MzkwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaart", "html_url": "https://github.com/gaart", "followers_url": "https://api.github.com/users/gaart/followers", "following_url": "https://api.github.com/users/gaart/following{/other_user}", "gists_url": "https://api.github.com/users/gaart/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaart/subscriptions", "organizations_url": "https://api.github.com/users/gaart/orgs", "repos_url": "https://api.github.com/users/gaart/repos", "events_url": "https://api.github.com/users/gaart/events{/privacy}", "received_events_url": "https://api.github.com/users/gaart/received_events", "type": "User", "site_admin": false}, "event": "labeled", "commit_id": null, "commit_url": null, "created_at": "2021-08-27T15:44:04Z", "label": {"name": "important", "color": "ededed"}, "performed_via_github_app": null}, "milestoned": {"id": 5219398894, "node_id": "MDE1Ok1pbGVzdG9uZWRFdmVudDUyMTkzOTg4OTQ=", "url": "https://api.github.com/repos/airbytehq/integration-test/issues/events/5219398894", "actor": {"login": "gaart", "id": 743901, "node_id": "MDQ6VXNlcjc0MzkwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaart", "html_url": "https://github.com/gaart", "followers_url": "https://api.github.com/users/gaart/followers", "following_url": "https://api.github.com/users/gaart/following{/other_user}", "gists_url": "https://api.github.com/users/gaart/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaart/subscriptions", "organizations_url": "https://api.github.com/users/gaart/orgs", "repos_url": "https://api.github.com/users/gaart/repos", "events_url": "https://api.github.com/users/gaart/events{/privacy}", "received_events_url": "https://api.github.com/users/gaart/received_events", "type": "User", "site_admin": false}, "event": "milestoned", "commit_id": null, "commit_url": null, "created_at": "2021-08-27T15:44:04Z", "milestone": {"title": "main"}, "performed_via_github_app": null}, "commented": {"url": "https://api.github.com/repos/airbytehq/integration-test/issues/comments/907296239", "html_url": "https://github.com/airbytehq/integration-test/issues/9#issuecomment-907296239", "issue_url": "https://api.github.com/repos/airbytehq/integration-test/issues/9", "id": 907296239, "node_id": "IC_kwDOF9hP9c42FD3v", "user": {"login": "gaart", "id": 743901, "node_id": "MDQ6VXNlcjc0MzkwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaart", "html_url": "https://github.com/gaart", "followers_url": "https://api.github.com/users/gaart/followers", "following_url": "https://api.github.com/users/gaart/following{/other_user}", "gists_url": "https://api.github.com/users/gaart/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaart/subscriptions", "organizations_url": "https://api.github.com/users/gaart/orgs", "repos_url": "https://api.github.com/users/gaart/repos", "events_url": "https://api.github.com/users/gaart/events{/privacy}", "received_events_url": "https://api.github.com/users/gaart/received_events", "type": "User", "site_admin": false}, "created_at": "2021-08-27T15:44:05Z", "updated_at": "2021-08-27T15:44:05Z", "author_association": "CONTRIBUTOR", "body": "comment for issues https://api.github.com/repos/airbytehq/integration-test/issues/9/comments", "reactions": {"url": "https://api.github.com/repos/airbytehq/integration-test/issues/comments/907296239/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "performed_via_github_app": null, "event": "commented", "actor": {"login": "gaart", "id": 743901, "node_id": "MDQ6VXNlcjc0MzkwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaart", "html_url": "https://github.com/gaart", "followers_url": "https://api.github.com/users/gaart/followers", "following_url": "https://api.github.com/users/gaart/following{/other_user}", "gists_url": "https://api.github.com/users/gaart/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaart/subscriptions", "organizations_url": "https://api.github.com/users/gaart/orgs", "repos_url": "https://api.github.com/users/gaart/repos", "events_url": "https://api.github.com/users/gaart/events{/privacy}", "received_events_url": "https://api.github.com/users/gaart/received_events", "type": "User", "site_admin": false}}}, "emitted_at": 1695815681650} -{"stream": "issue_timeline_events", "data": {"repository": "airbytehq/integration-test", "issue_number": 11, "labeled": {"id": 5219399223, "node_id": "MDEyOkxhYmVsZWRFdmVudDUyMTkzOTkyMjM=", "url": "https://api.github.com/repos/airbytehq/integration-test/issues/events/5219399223", "actor": {"login": "gaart", "id": 743901, "node_id": "MDQ6VXNlcjc0MzkwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaart", "html_url": "https://github.com/gaart", "followers_url": "https://api.github.com/users/gaart/followers", "following_url": "https://api.github.com/users/gaart/following{/other_user}", "gists_url": "https://api.github.com/users/gaart/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaart/subscriptions", "organizations_url": "https://api.github.com/users/gaart/orgs", "repos_url": "https://api.github.com/users/gaart/repos", "events_url": "https://api.github.com/users/gaart/events{/privacy}", "received_events_url": "https://api.github.com/users/gaart/received_events", "type": "User", "site_admin": false}, "event": "labeled", "commit_id": null, "commit_url": null, "created_at": "2021-08-27T15:44:08Z", "label": {"name": "important", "color": "ededed"}, "performed_via_github_app": null}, "milestoned": {"id": 5219399233, "node_id": "MDE1Ok1pbGVzdG9uZWRFdmVudDUyMTkzOTkyMzM=", "url": "https://api.github.com/repos/airbytehq/integration-test/issues/events/5219399233", "actor": {"login": "gaart", "id": 743901, "node_id": "MDQ6VXNlcjc0MzkwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaart", "html_url": "https://github.com/gaart", "followers_url": "https://api.github.com/users/gaart/followers", "following_url": "https://api.github.com/users/gaart/following{/other_user}", "gists_url": "https://api.github.com/users/gaart/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaart/subscriptions", "organizations_url": "https://api.github.com/users/gaart/orgs", "repos_url": "https://api.github.com/users/gaart/repos", "events_url": "https://api.github.com/users/gaart/events{/privacy}", "received_events_url": "https://api.github.com/users/gaart/received_events", "type": "User", "site_admin": false}, "event": "milestoned", "commit_id": null, "commit_url": null, "created_at": "2021-08-27T15:44:08Z", "milestone": {"title": "main"}, "performed_via_github_app": null}, "commented": {"url": "https://api.github.com/repos/airbytehq/integration-test/issues/comments/907296275", "html_url": "https://github.com/airbytehq/integration-test/issues/11#issuecomment-907296275", "issue_url": "https://api.github.com/repos/airbytehq/integration-test/issues/11", "id": 907296275, "node_id": "IC_kwDOF9hP9c42FD4T", "user": {"login": "gaart", "id": 743901, "node_id": "MDQ6VXNlcjc0MzkwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaart", "html_url": "https://github.com/gaart", "followers_url": "https://api.github.com/users/gaart/followers", "following_url": "https://api.github.com/users/gaart/following{/other_user}", "gists_url": "https://api.github.com/users/gaart/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaart/subscriptions", "organizations_url": "https://api.github.com/users/gaart/orgs", "repos_url": "https://api.github.com/users/gaart/repos", "events_url": "https://api.github.com/users/gaart/events{/privacy}", "received_events_url": "https://api.github.com/users/gaart/received_events", "type": "User", "site_admin": false}, "created_at": "2021-08-27T15:44:09Z", "updated_at": "2021-08-27T15:44:09Z", "author_association": "CONTRIBUTOR", "body": "comment for issues https://api.github.com/repos/airbytehq/integration-test/issues/11/comments", "reactions": {"url": "https://api.github.com/repos/airbytehq/integration-test/issues/comments/907296275/reactions", "total_count": 3, "+1": 1, "-1": 0, "laugh": 1, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "performed_via_github_app": null, "event": "commented", "actor": {"login": "gaart", "id": 743901, "node_id": "MDQ6VXNlcjc0MzkwMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaart", "html_url": "https://github.com/gaart", "followers_url": "https://api.github.com/users/gaart/followers", "following_url": "https://api.github.com/users/gaart/following{/other_user}", "gists_url": "https://api.github.com/users/gaart/gists{/gist_id}", "starred_url": "https://api.github.com/users/gaart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaart/subscriptions", "organizations_url": "https://api.github.com/users/gaart/orgs", "repos_url": "https://api.github.com/users/gaart/repos", "events_url": "https://api.github.com/users/gaart/events{/privacy}", "received_events_url": "https://api.github.com/users/gaart/received_events", "type": "User", "site_admin": false}}}, "emitted_at": 1695815681995} diff --git a/source-github/integration_tests/invalid_config.json b/source-github/integration_tests/invalid_config.json deleted file mode 100644 index 74b603f2df..0000000000 --- a/source-github/integration_tests/invalid_config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "credentials": { "access_token": "WRONG KEY" }, - "repository": "airbytehq/integration-test", - "start_date": "2021-06-30T11:30:03Z" -} diff --git a/source-github/integration_tests/sample_config.json b/source-github/integration_tests/sample_config.json deleted file mode 100644 index f4d6b54395..0000000000 --- a/source-github/integration_tests/sample_config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "access_token": "", - "repository": "", - "start_date": "2021-06-29T03:46:25Z" -} diff --git a/source-github/integration_tests/sample_state.json b/source-github/integration_tests/sample_state.json deleted file mode 100644 index 80561c1dee..0000000000 --- a/source-github/integration_tests/sample_state.json +++ /dev/null @@ -1,137 +0,0 @@ -[ - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2021-04-30T20:36:17Z" } - }, - "stream_descriptor": { "name": "commit_comments" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2021-06-28T17:24:51Z" } - }, - "stream_descriptor": { "name": "projects" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "starred_at": "2021-06-29T02:04:57Z" } - }, - "stream_descriptor": { "name": "stargazers" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "created_at": "2021-06-29T03:44:45Z" } - }, - "stream_descriptor": { "name": "events" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "created_at": "2021-06-29T01:49:42Z" } - }, - "stream_descriptor": { "name": "issue_events" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "created_at": "2021-06-23T23:57:07Z" } - }, - "stream_descriptor": { "name": "releases" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2021-08-30T12:01:15Z" } - }, - "stream_descriptor": { "name": "pull_request_stats" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2021-06-28T23:36:35Z" } - }, - "stream_descriptor": { "name": "pull_requests" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2021-06-25T22:28:33Z" } - }, - "stream_descriptor": { "name": "issue_milestones" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2021-06-30T11:32:49Z" } - }, - "stream_descriptor": { "name": "issues" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2021-06-30T10:22:10Z" } - }, - "stream_descriptor": { "name": "comments" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "created_at": "2021-06-30T10:04:41Z" } - }, - "stream_descriptor": { "name": "commits" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "updated_at": "2021-08-30T12:01:15Z" } - }, - "stream_descriptor": { "name": "reviews" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "completed_at": "2021-08-30T12:01:15Z" } - }, - "stream_descriptor": { "name": "workflow_runs" } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "airbytehq/integration-test": { "completed_at": "2021-08-30T12:01:15Z" } - }, - "stream_descriptor": { "name": "workflow_jobs" } - } - } -] diff --git a/source-github/main.py b/source-github/main.py deleted file mode 100644 index 4d37ce6ccc..0000000000 --- a/source-github/main.py +++ /dev/null @@ -1,8 +0,0 @@ -# -# Copyright (c) 2023 Airbyte, Inc., all rights reserved. -# - -from source_github.run import run - -if __name__ == "__main__": - run() diff --git a/source-github/metadata.yaml b/source-github/metadata.yaml deleted file mode 100644 index 9e45ad943b..0000000000 --- a/source-github/metadata.yaml +++ /dev/null @@ -1,47 +0,0 @@ -data: - ab_internal: - ql: 400 - sl: 200 - allowedHosts: - hosts: - - ${api_url} - connectorBuildOptions: - baseImage: docker.io/airbyte/python-connector-base:1.2.0@sha256:c22a9d97464b69d6ef01898edf3f8612dc11614f05a84984451dde195f337db9 - connectorSubtype: api - connectorType: source - definitionId: ef69ef6e-aa7f-4af1-a01d-ef775033524e - dockerImageTag: 1.7.1 - dockerRepository: airbyte/source-github - documentationUrl: https://docs.airbyte.com/integrations/sources/github - githubIssueLabel: source-github - icon: github.svg - license: MIT - maxSecondsBetweenMessages: 3600 - name: GitHub - remoteRegistries: - pypi: - enabled: true - packageName: airbyte-source-github - registries: - cloud: - enabled: true - oss: - enabled: true - releaseStage: generally_available - suggestedStreams: - streams: - - branches - - comments - - issues - - organizations - - pull_requests - - repositories - - stargazers - - tags - - teams - - users - supportLevel: certified - tags: - - language:python - - cdk:python -metadataSpecVersion: "1.0" diff --git a/source-github/poetry.lock b/source-github/poetry.lock index f185950f28..9aef695e63 100644 --- a/source-github/poetry.lock +++ b/source-github/poetry.lock @@ -1,18 +1,141 @@ -# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. + +[[package]] +name = "aiodns" +version = "3.2.0" +description = "Simple DNS resolver for asyncio" +optional = false +python-versions = "*" +files = [ + {file = "aiodns-3.2.0-py3-none-any.whl", hash = "sha256:e443c0c27b07da3174a109fd9e736d69058d808f144d3c9d56dbd1776964c5f5"}, + {file = "aiodns-3.2.0.tar.gz", hash = "sha256:62869b23409349c21b072883ec8998316b234c9a9e36675756e8e317e8768f72"}, +] + +[package.dependencies] +pycares = ">=4.0.0" + +[[package]] +name = "aiohttp" +version = "3.9.5" +description = "Async http client/server framework (asyncio)" +optional = false +python-versions = ">=3.8" +files = [ + {file = "aiohttp-3.9.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:fcde4c397f673fdec23e6b05ebf8d4751314fa7c24f93334bf1f1364c1c69ac7"}, + {file = "aiohttp-3.9.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5d6b3f1fabe465e819aed2c421a6743d8debbde79b6a8600739300630a01bf2c"}, + {file = "aiohttp-3.9.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:6ae79c1bc12c34082d92bf9422764f799aee4746fd7a392db46b7fd357d4a17a"}, + {file = "aiohttp-3.9.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4d3ebb9e1316ec74277d19c5f482f98cc65a73ccd5430540d6d11682cd857430"}, + {file = "aiohttp-3.9.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:84dabd95154f43a2ea80deffec9cb44d2e301e38a0c9d331cc4aa0166fe28ae3"}, + {file = "aiohttp-3.9.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c8a02fbeca6f63cb1f0475c799679057fc9268b77075ab7cf3f1c600e81dd46b"}, + {file = "aiohttp-3.9.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c26959ca7b75ff768e2776d8055bf9582a6267e24556bb7f7bd29e677932be72"}, + {file = "aiohttp-3.9.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:714d4e5231fed4ba2762ed489b4aec07b2b9953cf4ee31e9871caac895a839c0"}, + {file = "aiohttp-3.9.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e7a6a8354f1b62e15d48e04350f13e726fa08b62c3d7b8401c0a1314f02e3558"}, + {file = "aiohttp-3.9.5-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:c413016880e03e69d166efb5a1a95d40f83d5a3a648d16486592c49ffb76d0db"}, + {file = "aiohttp-3.9.5-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:ff84aeb864e0fac81f676be9f4685f0527b660f1efdc40dcede3c251ef1e867f"}, + {file = "aiohttp-3.9.5-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:ad7f2919d7dac062f24d6f5fe95d401597fbb015a25771f85e692d043c9d7832"}, + {file = "aiohttp-3.9.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:702e2c7c187c1a498a4e2b03155d52658fdd6fda882d3d7fbb891a5cf108bb10"}, + {file = "aiohttp-3.9.5-cp310-cp310-win32.whl", hash = "sha256:67c3119f5ddc7261d47163ed86d760ddf0e625cd6246b4ed852e82159617b5fb"}, + {file = "aiohttp-3.9.5-cp310-cp310-win_amd64.whl", hash = "sha256:471f0ef53ccedec9995287f02caf0c068732f026455f07db3f01a46e49d76bbb"}, + {file = "aiohttp-3.9.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:e0ae53e33ee7476dd3d1132f932eeb39bf6125083820049d06edcdca4381f342"}, + {file = "aiohttp-3.9.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c088c4d70d21f8ca5c0b8b5403fe84a7bc8e024161febdd4ef04575ef35d474d"}, + {file = "aiohttp-3.9.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:639d0042b7670222f33b0028de6b4e2fad6451462ce7df2af8aee37dcac55424"}, + {file = "aiohttp-3.9.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f26383adb94da5e7fb388d441bf09c61e5e35f455a3217bfd790c6b6bc64b2ee"}, + {file = "aiohttp-3.9.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:66331d00fb28dc90aa606d9a54304af76b335ae204d1836f65797d6fe27f1ca2"}, + {file = "aiohttp-3.9.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4ff550491f5492ab5ed3533e76b8567f4b37bd2995e780a1f46bca2024223233"}, + {file = "aiohttp-3.9.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f22eb3a6c1080d862befa0a89c380b4dafce29dc6cd56083f630073d102eb595"}, + {file = "aiohttp-3.9.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a81b1143d42b66ffc40a441379387076243ef7b51019204fd3ec36b9f69e77d6"}, + {file = "aiohttp-3.9.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:f64fd07515dad67f24b6ea4a66ae2876c01031de91c93075b8093f07c0a2d93d"}, + {file = "aiohttp-3.9.5-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:93e22add827447d2e26d67c9ac0161756007f152fdc5210277d00a85f6c92323"}, + {file = "aiohttp-3.9.5-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:55b39c8684a46e56ef8c8d24faf02de4a2b2ac60d26cee93bc595651ff545de9"}, + {file = "aiohttp-3.9.5-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4715a9b778f4293b9f8ae7a0a7cef9829f02ff8d6277a39d7f40565c737d3771"}, + {file = "aiohttp-3.9.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:afc52b8d969eff14e069a710057d15ab9ac17cd4b6753042c407dcea0e40bf75"}, + {file = "aiohttp-3.9.5-cp311-cp311-win32.whl", hash = "sha256:b3df71da99c98534be076196791adca8819761f0bf6e08e07fd7da25127150d6"}, + {file = "aiohttp-3.9.5-cp311-cp311-win_amd64.whl", hash = "sha256:88e311d98cc0bf45b62fc46c66753a83445f5ab20038bcc1b8a1cc05666f428a"}, + {file = "aiohttp-3.9.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:c7a4b7a6cf5b6eb11e109a9755fd4fda7d57395f8c575e166d363b9fc3ec4678"}, + {file = "aiohttp-3.9.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:0a158704edf0abcac8ac371fbb54044f3270bdbc93e254a82b6c82be1ef08f3c"}, + {file = "aiohttp-3.9.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d153f652a687a8e95ad367a86a61e8d53d528b0530ef382ec5aaf533140ed00f"}, + {file = "aiohttp-3.9.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:82a6a97d9771cb48ae16979c3a3a9a18b600a8505b1115cfe354dfb2054468b4"}, + {file = "aiohttp-3.9.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:60cdbd56f4cad9f69c35eaac0fbbdf1f77b0ff9456cebd4902f3dd1cf096464c"}, + {file = "aiohttp-3.9.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8676e8fd73141ded15ea586de0b7cda1542960a7b9ad89b2b06428e97125d4fa"}, + {file = "aiohttp-3.9.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:da00da442a0e31f1c69d26d224e1efd3a1ca5bcbf210978a2ca7426dfcae9f58"}, + {file = "aiohttp-3.9.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:18f634d540dd099c262e9f887c8bbacc959847cfe5da7a0e2e1cf3f14dbf2daf"}, + {file = "aiohttp-3.9.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:320e8618eda64e19d11bdb3bd04ccc0a816c17eaecb7e4945d01deee2a22f95f"}, + {file = "aiohttp-3.9.5-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:2faa61a904b83142747fc6a6d7ad8fccff898c849123030f8e75d5d967fd4a81"}, + {file = "aiohttp-3.9.5-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:8c64a6dc3fe5db7b1b4d2b5cb84c4f677768bdc340611eca673afb7cf416ef5a"}, + {file = "aiohttp-3.9.5-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:393c7aba2b55559ef7ab791c94b44f7482a07bf7640d17b341b79081f5e5cd1a"}, + {file = "aiohttp-3.9.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:c671dc117c2c21a1ca10c116cfcd6e3e44da7fcde37bf83b2be485ab377b25da"}, + {file = "aiohttp-3.9.5-cp312-cp312-win32.whl", hash = "sha256:5a7ee16aab26e76add4afc45e8f8206c95d1d75540f1039b84a03c3b3800dd59"}, + {file = "aiohttp-3.9.5-cp312-cp312-win_amd64.whl", hash = "sha256:5ca51eadbd67045396bc92a4345d1790b7301c14d1848feaac1d6a6c9289e888"}, + {file = "aiohttp-3.9.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:694d828b5c41255e54bc2dddb51a9f5150b4eefa9886e38b52605a05d96566e8"}, + {file = "aiohttp-3.9.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0605cc2c0088fcaae79f01c913a38611ad09ba68ff482402d3410bf59039bfb8"}, + {file = "aiohttp-3.9.5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4558e5012ee03d2638c681e156461d37b7a113fe13970d438d95d10173d25f78"}, + {file = "aiohttp-3.9.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9dbc053ac75ccc63dc3a3cc547b98c7258ec35a215a92bd9f983e0aac95d3d5b"}, + {file = "aiohttp-3.9.5-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4109adee842b90671f1b689901b948f347325045c15f46b39797ae1bf17019de"}, + {file = "aiohttp-3.9.5-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a6ea1a5b409a85477fd8e5ee6ad8f0e40bf2844c270955e09360418cfd09abac"}, + {file = "aiohttp-3.9.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f3c2890ca8c59ee683fd09adf32321a40fe1cf164e3387799efb2acebf090c11"}, + {file = "aiohttp-3.9.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3916c8692dbd9d55c523374a3b8213e628424d19116ac4308e434dbf6d95bbdd"}, + {file = "aiohttp-3.9.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:8d1964eb7617907c792ca00b341b5ec3e01ae8c280825deadbbd678447b127e1"}, + {file = "aiohttp-3.9.5-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:d5ab8e1f6bee051a4bf6195e38a5c13e5e161cb7bad83d8854524798bd9fcd6e"}, + {file = "aiohttp-3.9.5-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:52c27110f3862a1afbcb2af4281fc9fdc40327fa286c4625dfee247c3ba90156"}, + {file = "aiohttp-3.9.5-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:7f64cbd44443e80094309875d4f9c71d0401e966d191c3d469cde4642bc2e031"}, + {file = "aiohttp-3.9.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8b4f72fbb66279624bfe83fd5eb6aea0022dad8eec62b71e7bf63ee1caadeafe"}, + {file = "aiohttp-3.9.5-cp38-cp38-win32.whl", hash = "sha256:6380c039ec52866c06d69b5c7aad5478b24ed11696f0e72f6b807cfb261453da"}, + {file = "aiohttp-3.9.5-cp38-cp38-win_amd64.whl", hash = "sha256:da22dab31d7180f8c3ac7c7635f3bcd53808f374f6aa333fe0b0b9e14b01f91a"}, + {file = "aiohttp-3.9.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:1732102949ff6087589408d76cd6dea656b93c896b011ecafff418c9661dc4ed"}, + {file = "aiohttp-3.9.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c6021d296318cb6f9414b48e6a439a7f5d1f665464da507e8ff640848ee2a58a"}, + {file = "aiohttp-3.9.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:239f975589a944eeb1bad26b8b140a59a3a320067fb3cd10b75c3092405a1372"}, + {file = "aiohttp-3.9.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3b7b30258348082826d274504fbc7c849959f1989d86c29bc355107accec6cfb"}, + {file = "aiohttp-3.9.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cd2adf5c87ff6d8b277814a28a535b59e20bfea40a101db6b3bdca7e9926bc24"}, + {file = "aiohttp-3.9.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e9a3d838441bebcf5cf442700e3963f58b5c33f015341f9ea86dcd7d503c07e2"}, + {file = "aiohttp-3.9.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9e3a1ae66e3d0c17cf65c08968a5ee3180c5a95920ec2731f53343fac9bad106"}, + {file = "aiohttp-3.9.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9c69e77370cce2d6df5d12b4e12bdcca60c47ba13d1cbbc8645dd005a20b738b"}, + {file = "aiohttp-3.9.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:0cbf56238f4bbf49dab8c2dc2e6b1b68502b1e88d335bea59b3f5b9f4c001475"}, + {file = "aiohttp-3.9.5-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:d1469f228cd9ffddd396d9948b8c9cd8022b6d1bf1e40c6f25b0fb90b4f893ed"}, + {file = "aiohttp-3.9.5-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:45731330e754f5811c314901cebdf19dd776a44b31927fa4b4dbecab9e457b0c"}, + {file = "aiohttp-3.9.5-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:3fcb4046d2904378e3aeea1df51f697b0467f2aac55d232c87ba162709478c46"}, + {file = "aiohttp-3.9.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8cf142aa6c1a751fcb364158fd710b8a9be874b81889c2bd13aa8893197455e2"}, + {file = "aiohttp-3.9.5-cp39-cp39-win32.whl", hash = "sha256:7b179eea70833c8dee51ec42f3b4097bd6370892fa93f510f76762105568cf09"}, + {file = "aiohttp-3.9.5-cp39-cp39-win_amd64.whl", hash = "sha256:38d80498e2e169bc61418ff36170e0aad0cd268da8b38a17c4cf29d254a8b3f1"}, + {file = "aiohttp-3.9.5.tar.gz", hash = "sha256:edea7d15772ceeb29db4aff55e482d4bcfb6ae160ce144f2682de02f6d693551"}, +] + +[package.dependencies] +aiosignal = ">=1.1.2" +attrs = ">=17.3.0" +frozenlist = ">=1.1.1" +multidict = ">=4.5,<7.0" +yarl = ">=1.0,<2.0" + +[package.extras] +speedups = ["Brotli", "aiodns", "brotlicffi"] + +[[package]] +name = "aiosignal" +version = "1.3.1" +description = "aiosignal: a list of registered asynchronous callbacks" +optional = false +python-versions = ">=3.7" +files = [ + {file = "aiosignal-1.3.1-py3-none-any.whl", hash = "sha256:f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17"}, + {file = "aiosignal-1.3.1.tar.gz", hash = "sha256:54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc"}, +] + +[package.dependencies] +frozenlist = ">=1.1.0" [[package]] name = "airbyte-cdk" -version = "0.72.1" +version = "0.52.10" description = "A framework for writing Airbyte Connectors." optional = false python-versions = ">=3.8" files = [ - {file = "airbyte-cdk-0.72.1.tar.gz", hash = "sha256:1dbd0a11f3784cfdd5afa9f40315c9a6123e803be91f9f861642a78e7ee14cd9"}, - {file = "airbyte_cdk-0.72.1-py3-none-any.whl", hash = "sha256:849077805442286de99f589ecba4be82491a3d9d3f516ce1a8b0cbaf303db9a4"}, + {file = "airbyte-cdk-0.52.10.tar.gz", hash = "sha256:0daee950fe0d4453e6ceea2633090fc1d2144224e6f170b3c6cb4c6392811b47"}, + {file = "airbyte_cdk-0.52.10-py3-none-any.whl", hash = "sha256:366fd7bbbba317223edc1571d22b91c6f5bcff4ba65b3131e42f9b37e29932f4"}, ] [package.dependencies] -airbyte-protocol-models = "0.5.1" +airbyte-protocol-models = "0.4.2" backoff = "*" cachetools = "*" Deprecated = ">=1.2,<2.0" @@ -22,9 +145,8 @@ isodate = ">=0.6.1,<0.7.0" Jinja2 = ">=3.1.2,<3.2.0" jsonref = ">=0.2,<1.0" jsonschema = ">=3.2.0,<3.3.0" -pendulum = "<3.0.0" +pendulum = "*" pydantic = ">=1.10.8,<2.0.0" -pyrate-limiter = ">=3.1.0,<3.2.0" python-dateutil = "*" PyYAML = ">=6.0.1" requests = "*" @@ -32,35 +154,25 @@ requests-cache = "*" wcmatch = "8.4" [package.extras] -dev = ["avro (>=1.11.2,<1.12.0)", "cohere (==4.21)", "fastavro (>=1.8.0,<1.9.0)", "freezegun", "langchain (==0.0.271)", "markdown", "mypy", "openai[embeddings] (==0.27.9)", "pandas (==2.0.3)", "pdf2image (==1.16.3)", "pdfminer.six (==20221105)", "pyarrow (>=15.0.0,<15.1.0)", "pytesseract (==0.3.10)", "pytest", "pytest-cov", "pytest-httpserver", "pytest-mock", "requests-mock", "tiktoken (==0.4.0)", "unstructured (==0.10.27)", "unstructured.pytesseract (>=0.3.12)", "unstructured[docx,pptx] (==0.10.27)"] -file-based = ["avro (>=1.11.2,<1.12.0)", "fastavro (>=1.8.0,<1.9.0)", "markdown", "pdf2image (==1.16.3)", "pdfminer.six (==20221105)", "pyarrow (>=15.0.0,<15.1.0)", "pytesseract (==0.3.10)", "unstructured (==0.10.27)", "unstructured.pytesseract (>=0.3.12)", "unstructured[docx,pptx] (==0.10.27)"] +dev = ["avro (>=1.11.2,<1.12.0)", "cohere (==4.21)", "fastavro (>=1.8.0,<1.9.0)", "freezegun", "langchain (==0.0.271)", "markdown", "mypy", "openai[embeddings] (==0.27.9)", "pandas (==2.0.3)", "pdf2image (==1.16.3)", "pdfminer.six (==20221105)", "pyarrow (==12.0.1)", "pytesseract (==0.3.10)", "pytest", "pytest-cov", "pytest-httpserver", "pytest-mock", "requests-mock", "tiktoken (==0.4.0)", "unstructured (==0.10.19)", "unstructured.pytesseract (>=0.3.12)", "unstructured[docx,pptx] (==0.10.19)"] +file-based = ["avro (>=1.11.2,<1.12.0)", "fastavro (>=1.8.0,<1.9.0)", "markdown", "pdf2image (==1.16.3)", "pdfminer.six (==20221105)", "pyarrow (==12.0.1)", "pytesseract (==0.3.10)", "unstructured (==0.10.19)", "unstructured.pytesseract (>=0.3.12)", "unstructured[docx,pptx] (==0.10.19)"] sphinx-docs = ["Sphinx (>=4.2,<5.0)", "sphinx-rtd-theme (>=1.0,<2.0)"] vector-db-based = ["cohere (==4.21)", "langchain (==0.0.271)", "openai[embeddings] (==0.27.9)", "tiktoken (==0.4.0)"] [[package]] name = "airbyte-protocol-models" -version = "0.5.1" +version = "0.4.2" description = "Declares the Airbyte Protocol." optional = false python-versions = ">=3.8" files = [ - {file = "airbyte_protocol_models-0.5.1-py3-none-any.whl", hash = "sha256:dfe84e130e51ce2ae81a06d5aa36f6c5ce3152b9e36e6f0195fad6c3dab0927e"}, - {file = "airbyte_protocol_models-0.5.1.tar.gz", hash = "sha256:7c8b16c7c1c7956b1996052e40585a3a93b1e44cb509c4e97c1ee4fe507ea086"}, + {file = "airbyte_protocol_models-0.4.2-py3-none-any.whl", hash = "sha256:d3bbb14d4af9483bd7b08f5eb06f87e7113553bf4baed3998af95be873a0d821"}, + {file = "airbyte_protocol_models-0.4.2.tar.gz", hash = "sha256:67b149d4812f8fdb88396b161274aa73cf0e16f22e35ce44f2bfc4d47e51915c"}, ] [package.dependencies] pydantic = ">=1.9.2,<2.0.0" -[[package]] -name = "atomicwrites" -version = "1.4.1" -description = "Atomic file writes." -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -files = [ - {file = "atomicwrites-1.4.1.tar.gz", hash = "sha256:81b2c9071a49367a7f770170e5eec8cb66567cfbbc8c73d20ce5ca4a8d71cf11"}, -] - [[package]] name = "attrs" version = "23.2.0" @@ -126,8 +238,6 @@ files = [ [package.dependencies] attrs = ">=23.1.0" -exceptiongroup = {version = ">=1.1.1", markers = "python_version < \"3.11\""} -typing-extensions = {version = ">=4.1.0,<4.6.3 || >4.6.3", markers = "python_version < \"3.11\""} [package.extras] bson = ["pymongo (>=4.4.0)"] @@ -149,6 +259,70 @@ files = [ {file = "certifi-2024.2.2.tar.gz", hash = "sha256:0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f"}, ] +[[package]] +name = "cffi" +version = "1.16.0" +description = "Foreign Function Interface for Python calling C code." +optional = false +python-versions = ">=3.8" +files = [ + {file = "cffi-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6b3d6606d369fc1da4fd8c357d026317fbb9c9b75d36dc16e90e84c26854b088"}, + {file = "cffi-1.16.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ac0f5edd2360eea2f1daa9e26a41db02dd4b0451b48f7c318e217ee092a213e9"}, + {file = "cffi-1.16.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7e61e3e4fa664a8588aa25c883eab612a188c725755afff6289454d6362b9673"}, + {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a72e8961a86d19bdb45851d8f1f08b041ea37d2bd8d4fd19903bc3083d80c896"}, + {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b50bf3f55561dac5438f8e70bfcdfd74543fd60df5fa5f62d94e5867deca684"}, + {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7651c50c8c5ef7bdb41108b7b8c5a83013bfaa8a935590c5d74627c047a583c7"}, + {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e4108df7fe9b707191e55f33efbcb2d81928e10cea45527879a4749cbe472614"}, + {file = "cffi-1.16.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:32c68ef735dbe5857c810328cb2481e24722a59a2003018885514d4c09af9743"}, + {file = "cffi-1.16.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:673739cb539f8cdaa07d92d02efa93c9ccf87e345b9a0b556e3ecc666718468d"}, + {file = "cffi-1.16.0-cp310-cp310-win32.whl", hash = "sha256:9f90389693731ff1f659e55c7d1640e2ec43ff725cc61b04b2f9c6d8d017df6a"}, + {file = "cffi-1.16.0-cp310-cp310-win_amd64.whl", hash = "sha256:e6024675e67af929088fda399b2094574609396b1decb609c55fa58b028a32a1"}, + {file = "cffi-1.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b84834d0cf97e7d27dd5b7f3aca7b6e9263c56308ab9dc8aae9784abb774d404"}, + {file = "cffi-1.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1b8ebc27c014c59692bb2664c7d13ce7a6e9a629be20e54e7271fa696ff2b417"}, + {file = "cffi-1.16.0-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ee07e47c12890ef248766a6e55bd38ebfb2bb8edd4142d56db91b21ea68b7627"}, + {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8a9d3ebe49f084ad71f9269834ceccbf398253c9fac910c4fd7053ff1386936"}, + {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e70f54f1796669ef691ca07d046cd81a29cb4deb1e5f942003f401c0c4a2695d"}, + {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5bf44d66cdf9e893637896c7faa22298baebcd18d1ddb6d2626a6e39793a1d56"}, + {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7b78010e7b97fef4bee1e896df8a4bbb6712b7f05b7ef630f9d1da00f6444d2e"}, + {file = "cffi-1.16.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c6a164aa47843fb1b01e941d385aab7215563bb8816d80ff3a363a9f8448a8dc"}, + {file = "cffi-1.16.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e09f3ff613345df5e8c3667da1d918f9149bd623cd9070c983c013792a9a62eb"}, + {file = "cffi-1.16.0-cp311-cp311-win32.whl", hash = "sha256:2c56b361916f390cd758a57f2e16233eb4f64bcbeee88a4881ea90fca14dc6ab"}, + {file = "cffi-1.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:db8e577c19c0fda0beb7e0d4e09e0ba74b1e4c092e0e40bfa12fe05b6f6d75ba"}, + {file = "cffi-1.16.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:fa3a0128b152627161ce47201262d3140edb5a5c3da88d73a1b790a959126956"}, + {file = "cffi-1.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:68e7c44931cc171c54ccb702482e9fc723192e88d25a0e133edd7aff8fcd1f6e"}, + {file = "cffi-1.16.0-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:abd808f9c129ba2beda4cfc53bde801e5bcf9d6e0f22f095e45327c038bfe68e"}, + {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:88e2b3c14bdb32e440be531ade29d3c50a1a59cd4e51b1dd8b0865c54ea5d2e2"}, + {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fcc8eb6d5902bb1cf6dc4f187ee3ea80a1eba0a89aba40a5cb20a5087d961357"}, + {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b7be2d771cdba2942e13215c4e340bfd76398e9227ad10402a8767ab1865d2e6"}, + {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e715596e683d2ce000574bae5d07bd522c781a822866c20495e52520564f0969"}, + {file = "cffi-1.16.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:2d92b25dbf6cae33f65005baf472d2c245c050b1ce709cc4588cdcdd5495b520"}, + {file = "cffi-1.16.0-cp312-cp312-win32.whl", hash = "sha256:b2ca4e77f9f47c55c194982e10f058db063937845bb2b7a86c84a6cfe0aefa8b"}, + {file = "cffi-1.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:68678abf380b42ce21a5f2abde8efee05c114c2fdb2e9eef2efdb0257fba1235"}, + {file = "cffi-1.16.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0c9ef6ff37e974b73c25eecc13952c55bceed9112be2d9d938ded8e856138bcc"}, + {file = "cffi-1.16.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a09582f178759ee8128d9270cd1344154fd473bb77d94ce0aeb2a93ebf0feaf0"}, + {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e760191dd42581e023a68b758769e2da259b5d52e3103c6060ddc02c9edb8d7b"}, + {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:80876338e19c951fdfed6198e70bc88f1c9758b94578d5a7c4c91a87af3cf31c"}, + {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a6a14b17d7e17fa0d207ac08642c8820f84f25ce17a442fd15e27ea18d67c59b"}, + {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6602bc8dc6f3a9e02b6c22c4fc1e47aa50f8f8e6d3f78a5e16ac33ef5fefa324"}, + {file = "cffi-1.16.0-cp38-cp38-win32.whl", hash = "sha256:131fd094d1065b19540c3d72594260f118b231090295d8c34e19a7bbcf2e860a"}, + {file = "cffi-1.16.0-cp38-cp38-win_amd64.whl", hash = "sha256:31d13b0f99e0836b7ff893d37af07366ebc90b678b6664c955b54561fc36ef36"}, + {file = "cffi-1.16.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:582215a0e9adbe0e379761260553ba11c58943e4bbe9c36430c4ca6ac74b15ed"}, + {file = "cffi-1.16.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:b29ebffcf550f9da55bec9e02ad430c992a87e5f512cd63388abb76f1036d8d2"}, + {file = "cffi-1.16.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dc9b18bf40cc75f66f40a7379f6a9513244fe33c0e8aa72e2d56b0196a7ef872"}, + {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9cb4a35b3642fc5c005a6755a5d17c6c8b6bcb6981baf81cea8bfbc8903e8ba8"}, + {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b86851a328eedc692acf81fb05444bdf1891747c25af7529e39ddafaf68a4f3f"}, + {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c0f31130ebc2d37cdd8e44605fb5fa7ad59049298b3f745c74fa74c62fbfcfc4"}, + {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8f8e709127c6c77446a8c0a8c8bf3c8ee706a06cd44b1e827c3e6a2ee6b8c098"}, + {file = "cffi-1.16.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:748dcd1e3d3d7cd5443ef03ce8685043294ad6bd7c02a38d1bd367cfd968e000"}, + {file = "cffi-1.16.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8895613bcc094d4a1b2dbe179d88d7fb4a15cee43c052e8885783fac397d91fe"}, + {file = "cffi-1.16.0-cp39-cp39-win32.whl", hash = "sha256:ed86a35631f7bfbb28e108dd96773b9d5a6ce4811cf6ea468bb6a359b256b1e4"}, + {file = "cffi-1.16.0-cp39-cp39-win_amd64.whl", hash = "sha256:3686dffb02459559c74dd3d81748269ffb0eb027c39a6fc99502de37d501faa8"}, + {file = "cffi-1.16.0.tar.gz", hash = "sha256:bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0"}, +] + +[package.dependencies] +pycparser = "*" + [[package]] name = "charset-normalizer" version = "3.3.2" @@ -259,6 +433,37 @@ files = [ {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] +[[package]] +name = "debugpy" +version = "1.8.1" +description = "An implementation of the Debug Adapter Protocol for Python" +optional = false +python-versions = ">=3.8" +files = [ + {file = "debugpy-1.8.1-cp310-cp310-macosx_11_0_x86_64.whl", hash = "sha256:3bda0f1e943d386cc7a0e71bfa59f4137909e2ed947fb3946c506e113000f741"}, + {file = "debugpy-1.8.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dda73bf69ea479c8577a0448f8c707691152e6c4de7f0c4dec5a4bc11dee516e"}, + {file = "debugpy-1.8.1-cp310-cp310-win32.whl", hash = "sha256:3a79c6f62adef994b2dbe9fc2cc9cc3864a23575b6e387339ab739873bea53d0"}, + {file = "debugpy-1.8.1-cp310-cp310-win_amd64.whl", hash = "sha256:7eb7bd2b56ea3bedb009616d9e2f64aab8fc7000d481faec3cd26c98a964bcdd"}, + {file = "debugpy-1.8.1-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:016a9fcfc2c6b57f939673c874310d8581d51a0fe0858e7fac4e240c5eb743cb"}, + {file = "debugpy-1.8.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd97ed11a4c7f6d042d320ce03d83b20c3fb40da892f994bc041bbc415d7a099"}, + {file = "debugpy-1.8.1-cp311-cp311-win32.whl", hash = "sha256:0de56aba8249c28a300bdb0672a9b94785074eb82eb672db66c8144fff673146"}, + {file = "debugpy-1.8.1-cp311-cp311-win_amd64.whl", hash = "sha256:1a9fe0829c2b854757b4fd0a338d93bc17249a3bf69ecf765c61d4c522bb92a8"}, + {file = "debugpy-1.8.1-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:3ebb70ba1a6524d19fa7bb122f44b74170c447d5746a503e36adc244a20ac539"}, + {file = "debugpy-1.8.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a2e658a9630f27534e63922ebf655a6ab60c370f4d2fc5c02a5b19baf4410ace"}, + {file = "debugpy-1.8.1-cp312-cp312-win32.whl", hash = "sha256:caad2846e21188797a1f17fc09c31b84c7c3c23baf2516fed5b40b378515bbf0"}, + {file = "debugpy-1.8.1-cp312-cp312-win_amd64.whl", hash = "sha256:edcc9f58ec0fd121a25bc950d4578df47428d72e1a0d66c07403b04eb93bcf98"}, + {file = "debugpy-1.8.1-cp38-cp38-macosx_11_0_x86_64.whl", hash = "sha256:7a3afa222f6fd3d9dfecd52729bc2e12c93e22a7491405a0ecbf9e1d32d45b39"}, + {file = "debugpy-1.8.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d915a18f0597ef685e88bb35e5d7ab968964b7befefe1aaea1eb5b2640b586c7"}, + {file = "debugpy-1.8.1-cp38-cp38-win32.whl", hash = "sha256:92116039b5500633cc8d44ecc187abe2dfa9b90f7a82bbf81d079fcdd506bae9"}, + {file = "debugpy-1.8.1-cp38-cp38-win_amd64.whl", hash = "sha256:e38beb7992b5afd9d5244e96ad5fa9135e94993b0c551ceebf3fe1a5d9beb234"}, + {file = "debugpy-1.8.1-cp39-cp39-macosx_11_0_x86_64.whl", hash = "sha256:bfb20cb57486c8e4793d41996652e5a6a885b4d9175dd369045dad59eaacea42"}, + {file = "debugpy-1.8.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:efd3fdd3f67a7e576dd869c184c5dd71d9aaa36ded271939da352880c012e703"}, + {file = "debugpy-1.8.1-cp39-cp39-win32.whl", hash = "sha256:58911e8521ca0c785ac7a0539f1e77e0ce2df753f786188f382229278b4cdf23"}, + {file = "debugpy-1.8.1-cp39-cp39-win_amd64.whl", hash = "sha256:6df9aa9599eb05ca179fb0b810282255202a66835c6efb1d112d21ecb830ddd3"}, + {file = "debugpy-1.8.1-py2.py3-none-any.whl", hash = "sha256:28acbe2241222b87e255260c76741e1fbf04fdc3b6d094fcf57b6c6f75ce1242"}, + {file = "debugpy-1.8.1.zip", hash = "sha256:f696d6be15be87aef621917585f9bb94b1dc9e8aced570db1b8a6fc14e8f9b42"}, +] + [[package]] name = "deprecated" version = "1.2.14" @@ -288,33 +493,111 @@ files = [ ] [[package]] -name = "exceptiongroup" -version = "1.2.0" -description = "Backport of PEP 654 (exception groups)" +name = "estuary-cdk" +version = "0.2.0" +description = "Estuary Connector Development Kit" optional = false -python-versions = ">=3.7" -files = [ - {file = "exceptiongroup-1.2.0-py3-none-any.whl", hash = "sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14"}, - {file = "exceptiongroup-1.2.0.tar.gz", hash = "sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68"}, -] +python-versions = "^3.11" +files = [] +develop = true -[package.extras] -test = ["pytest (>=6)"] +[package.dependencies] +aiodns = "^3.1.1" +aiohttp = "^3.9.3" +orjson = "^3.9.15" +pydantic = ">1.10,<3" +xxhash = "^3.4.1" + +[package.source] +type = "directory" +url = "../estuary-cdk" [[package]] -name = "freezegun" -version = "1.4.0" -description = "Let your Python tests travel through time" +name = "frozenlist" +version = "1.4.1" +description = "A list-like structure which implements collections.abc.MutableSequence" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "freezegun-1.4.0-py3-none-any.whl", hash = "sha256:55e0fc3c84ebf0a96a5aa23ff8b53d70246479e9a68863f1fcac5a3e52f19dd6"}, - {file = "freezegun-1.4.0.tar.gz", hash = "sha256:10939b0ba0ff5adaecf3b06a5c2f73071d9678e507c5eaedb23c761d56ac774b"}, + {file = "frozenlist-1.4.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:f9aa1878d1083b276b0196f2dfbe00c9b7e752475ed3b682025ff20c1c1f51ac"}, + {file = "frozenlist-1.4.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:29acab3f66f0f24674b7dc4736477bcd4bc3ad4b896f5f45379a67bce8b96868"}, + {file = "frozenlist-1.4.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:74fb4bee6880b529a0c6560885fce4dc95936920f9f20f53d99a213f7bf66776"}, + {file = "frozenlist-1.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:590344787a90ae57d62511dd7c736ed56b428f04cd8c161fcc5e7232c130c69a"}, + {file = "frozenlist-1.4.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:068b63f23b17df8569b7fdca5517edef76171cf3897eb68beb01341131fbd2ad"}, + {file = "frozenlist-1.4.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5c849d495bf5154cd8da18a9eb15db127d4dba2968d88831aff6f0331ea9bd4c"}, + {file = "frozenlist-1.4.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9750cc7fe1ae3b1611bb8cfc3f9ec11d532244235d75901fb6b8e42ce9229dfe"}, + {file = "frozenlist-1.4.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a9b2de4cf0cdd5bd2dee4c4f63a653c61d2408055ab77b151c1957f221cabf2a"}, + {file = "frozenlist-1.4.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:0633c8d5337cb5c77acbccc6357ac49a1770b8c487e5b3505c57b949b4b82e98"}, + {file = "frozenlist-1.4.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:27657df69e8801be6c3638054e202a135c7f299267f1a55ed3a598934f6c0d75"}, + {file = "frozenlist-1.4.1-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:f9a3ea26252bd92f570600098783d1371354d89d5f6b7dfd87359d669f2109b5"}, + {file = "frozenlist-1.4.1-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:4f57dab5fe3407b6c0c1cc907ac98e8a189f9e418f3b6e54d65a718aaafe3950"}, + {file = "frozenlist-1.4.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:e02a0e11cf6597299b9f3bbd3f93d79217cb90cfd1411aec33848b13f5c656cc"}, + {file = "frozenlist-1.4.1-cp310-cp310-win32.whl", hash = "sha256:a828c57f00f729620a442881cc60e57cfcec6842ba38e1b19fd3e47ac0ff8dc1"}, + {file = "frozenlist-1.4.1-cp310-cp310-win_amd64.whl", hash = "sha256:f56e2333dda1fe0f909e7cc59f021eba0d2307bc6f012a1ccf2beca6ba362439"}, + {file = "frozenlist-1.4.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a0cb6f11204443f27a1628b0e460f37fb30f624be6051d490fa7d7e26d4af3d0"}, + {file = "frozenlist-1.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b46c8ae3a8f1f41a0d2ef350c0b6e65822d80772fe46b653ab6b6274f61d4a49"}, + {file = "frozenlist-1.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:fde5bd59ab5357e3853313127f4d3565fc7dad314a74d7b5d43c22c6a5ed2ced"}, + {file = "frozenlist-1.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:722e1124aec435320ae01ee3ac7bec11a5d47f25d0ed6328f2273d287bc3abb0"}, + {file = "frozenlist-1.4.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2471c201b70d58a0f0c1f91261542a03d9a5e088ed3dc6c160d614c01649c106"}, + {file = "frozenlist-1.4.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c757a9dd70d72b076d6f68efdbb9bc943665ae954dad2801b874c8c69e185068"}, + {file = "frozenlist-1.4.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f146e0911cb2f1da549fc58fc7bcd2b836a44b79ef871980d605ec392ff6b0d2"}, + {file = "frozenlist-1.4.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4f9c515e7914626b2a2e1e311794b4c35720a0be87af52b79ff8e1429fc25f19"}, + {file = "frozenlist-1.4.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:c302220494f5c1ebeb0912ea782bcd5e2f8308037b3c7553fad0e48ebad6ad82"}, + {file = "frozenlist-1.4.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:442acde1e068288a4ba7acfe05f5f343e19fac87bfc96d89eb886b0363e977ec"}, + {file = "frozenlist-1.4.1-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:1b280e6507ea8a4fa0c0a7150b4e526a8d113989e28eaaef946cc77ffd7efc0a"}, + {file = "frozenlist-1.4.1-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:fe1a06da377e3a1062ae5fe0926e12b84eceb8a50b350ddca72dc85015873f74"}, + {file = "frozenlist-1.4.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:db9e724bebd621d9beca794f2a4ff1d26eed5965b004a97f1f1685a173b869c2"}, + {file = "frozenlist-1.4.1-cp311-cp311-win32.whl", hash = "sha256:e774d53b1a477a67838a904131c4b0eef6b3d8a651f8b138b04f748fccfefe17"}, + {file = "frozenlist-1.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:fb3c2db03683b5767dedb5769b8a40ebb47d6f7f45b1b3e3b4b51ec8ad9d9825"}, + {file = "frozenlist-1.4.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:1979bc0aeb89b33b588c51c54ab0161791149f2461ea7c7c946d95d5f93b56ae"}, + {file = "frozenlist-1.4.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:cc7b01b3754ea68a62bd77ce6020afaffb44a590c2289089289363472d13aedb"}, + {file = "frozenlist-1.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c9c92be9fd329ac801cc420e08452b70e7aeab94ea4233a4804f0915c14eba9b"}, + {file = "frozenlist-1.4.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5c3894db91f5a489fc8fa6a9991820f368f0b3cbdb9cd8849547ccfab3392d86"}, + {file = "frozenlist-1.4.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ba60bb19387e13597fb059f32cd4d59445d7b18b69a745b8f8e5db0346f33480"}, + {file = "frozenlist-1.4.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8aefbba5f69d42246543407ed2461db31006b0f76c4e32dfd6f42215a2c41d09"}, + {file = "frozenlist-1.4.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:780d3a35680ced9ce682fbcf4cb9c2bad3136eeff760ab33707b71db84664e3a"}, + {file = "frozenlist-1.4.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9acbb16f06fe7f52f441bb6f413ebae6c37baa6ef9edd49cdd567216da8600cd"}, + {file = "frozenlist-1.4.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:23b701e65c7b36e4bf15546a89279bd4d8675faabc287d06bbcfac7d3c33e1e6"}, + {file = "frozenlist-1.4.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:3e0153a805a98f5ada7e09826255ba99fb4f7524bb81bf6b47fb702666484ae1"}, + {file = "frozenlist-1.4.1-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:dd9b1baec094d91bf36ec729445f7769d0d0cf6b64d04d86e45baf89e2b9059b"}, + {file = "frozenlist-1.4.1-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:1a4471094e146b6790f61b98616ab8e44f72661879cc63fa1049d13ef711e71e"}, + {file = "frozenlist-1.4.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:5667ed53d68d91920defdf4035d1cdaa3c3121dc0b113255124bcfada1cfa1b8"}, + {file = "frozenlist-1.4.1-cp312-cp312-win32.whl", hash = "sha256:beee944ae828747fd7cb216a70f120767fc9f4f00bacae8543c14a6831673f89"}, + {file = "frozenlist-1.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:64536573d0a2cb6e625cf309984e2d873979709f2cf22839bf2d61790b448ad5"}, + {file = "frozenlist-1.4.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:20b51fa3f588ff2fe658663db52a41a4f7aa6c04f6201449c6c7c476bd255c0d"}, + {file = "frozenlist-1.4.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:410478a0c562d1a5bcc2f7ea448359fcb050ed48b3c6f6f4f18c313a9bdb1826"}, + {file = "frozenlist-1.4.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:c6321c9efe29975232da3bd0af0ad216800a47e93d763ce64f291917a381b8eb"}, + {file = "frozenlist-1.4.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:48f6a4533887e189dae092f1cf981f2e3885175f7a0f33c91fb5b7b682b6bab6"}, + {file = "frozenlist-1.4.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6eb73fa5426ea69ee0e012fb59cdc76a15b1283d6e32e4f8dc4482ec67d1194d"}, + {file = "frozenlist-1.4.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fbeb989b5cc29e8daf7f976b421c220f1b8c731cbf22b9130d8815418ea45887"}, + {file = "frozenlist-1.4.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:32453c1de775c889eb4e22f1197fe3bdfe457d16476ea407472b9442e6295f7a"}, + {file = "frozenlist-1.4.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:693945278a31f2086d9bf3df0fe8254bbeaef1fe71e1351c3bd730aa7d31c41b"}, + {file = "frozenlist-1.4.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:1d0ce09d36d53bbbe566fe296965b23b961764c0bcf3ce2fa45f463745c04701"}, + {file = "frozenlist-1.4.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:3a670dc61eb0d0eb7080890c13de3066790f9049b47b0de04007090807c776b0"}, + {file = "frozenlist-1.4.1-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:dca69045298ce5c11fd539682cff879cc1e664c245d1c64da929813e54241d11"}, + {file = "frozenlist-1.4.1-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:a06339f38e9ed3a64e4c4e43aec7f59084033647f908e4259d279a52d3757d09"}, + {file = "frozenlist-1.4.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:b7f2f9f912dca3934c1baec2e4585a674ef16fe00218d833856408c48d5beee7"}, + {file = "frozenlist-1.4.1-cp38-cp38-win32.whl", hash = "sha256:e7004be74cbb7d9f34553a5ce5fb08be14fb33bc86f332fb71cbe5216362a497"}, + {file = "frozenlist-1.4.1-cp38-cp38-win_amd64.whl", hash = "sha256:5a7d70357e7cee13f470c7883a063aae5fe209a493c57d86eb7f5a6f910fae09"}, + {file = "frozenlist-1.4.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:bfa4a17e17ce9abf47a74ae02f32d014c5e9404b6d9ac7f729e01562bbee601e"}, + {file = "frozenlist-1.4.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:b7e3ed87d4138356775346e6845cccbe66cd9e207f3cd11d2f0b9fd13681359d"}, + {file = "frozenlist-1.4.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c99169d4ff810155ca50b4da3b075cbde79752443117d89429595c2e8e37fed8"}, + {file = "frozenlist-1.4.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:edb678da49d9f72c9f6c609fbe41a5dfb9a9282f9e6a2253d5a91e0fc382d7c0"}, + {file = "frozenlist-1.4.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6db4667b187a6742b33afbbaf05a7bc551ffcf1ced0000a571aedbb4aa42fc7b"}, + {file = "frozenlist-1.4.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:55fdc093b5a3cb41d420884cdaf37a1e74c3c37a31f46e66286d9145d2063bd0"}, + {file = "frozenlist-1.4.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:82e8211d69a4f4bc360ea22cd6555f8e61a1bd211d1d5d39d3d228b48c83a897"}, + {file = "frozenlist-1.4.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:89aa2c2eeb20957be2d950b85974b30a01a762f3308cd02bb15e1ad632e22dc7"}, + {file = "frozenlist-1.4.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:9d3e0c25a2350080e9319724dede4f31f43a6c9779be48021a7f4ebde8b2d742"}, + {file = "frozenlist-1.4.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:7268252af60904bf52c26173cbadc3a071cece75f873705419c8681f24d3edea"}, + {file = "frozenlist-1.4.1-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:0c250a29735d4f15321007fb02865f0e6b6a41a6b88f1f523ca1596ab5f50bd5"}, + {file = "frozenlist-1.4.1-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:96ec70beabbd3b10e8bfe52616a13561e58fe84c0101dd031dc78f250d5128b9"}, + {file = "frozenlist-1.4.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:23b2d7679b73fe0e5a4560b672a39f98dfc6f60df63823b0a9970525325b95f6"}, + {file = "frozenlist-1.4.1-cp39-cp39-win32.whl", hash = "sha256:a7496bfe1da7fb1a4e1cc23bb67c58fab69311cc7d32b5a99c2007b4b2a0e932"}, + {file = "frozenlist-1.4.1-cp39-cp39-win_amd64.whl", hash = "sha256:e6a20a581f9ce92d389a8c7d7c3dd47c81fd5d6e655c8dddf341e14aa48659d0"}, + {file = "frozenlist-1.4.1-py3-none-any.whl", hash = "sha256:04ced3e6a46b4cfffe20f9ae482818e34eba9b5fb0ce4056e4cc9b6e212d09b7"}, + {file = "frozenlist-1.4.1.tar.gz", hash = "sha256:c037a86e8513059a2613aaba4d817bb90b9d9b6b69aace3ce9c877e8c8ed402b"}, ] -[package.dependencies] -python-dateutil = ">=2.7" - [[package]] name = "genson" version = "1.2.2" @@ -338,13 +621,13 @@ files = [ [[package]] name = "idna" -version = "3.6" +version = "3.7" description = "Internationalized Domain Names in Applications (IDNA)" optional = false python-versions = ">=3.5" files = [ - {file = "idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f"}, - {file = "idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca"}, + {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"}, + {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"}, ] [[package]] @@ -490,6 +773,238 @@ files = [ {file = "MarkupSafe-2.1.5.tar.gz", hash = "sha256:d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b"}, ] +[[package]] +name = "mock" +version = "5.1.0" +description = "Rolling backport of unittest.mock for all Pythons" +optional = false +python-versions = ">=3.6" +files = [ + {file = "mock-5.1.0-py3-none-any.whl", hash = "sha256:18c694e5ae8a208cdb3d2c20a993ca1a7b0efa258c247a1e565150f477f83744"}, + {file = "mock-5.1.0.tar.gz", hash = "sha256:5e96aad5ccda4718e0a229ed94b2024df75cc2d55575ba5762d31f5767b8767d"}, +] + +[package.extras] +build = ["blurb", "twine", "wheel"] +docs = ["sphinx"] +test = ["pytest", "pytest-cov"] + +[[package]] +name = "multidict" +version = "6.0.5" +description = "multidict implementation" +optional = false +python-versions = ">=3.7" +files = [ + {file = "multidict-6.0.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:228b644ae063c10e7f324ab1ab6b548bdf6f8b47f3ec234fef1093bc2735e5f9"}, + {file = "multidict-6.0.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:896ebdcf62683551312c30e20614305f53125750803b614e9e6ce74a96232604"}, + {file = "multidict-6.0.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:411bf8515f3be9813d06004cac41ccf7d1cd46dfe233705933dd163b60e37600"}, + {file = "multidict-6.0.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d147090048129ce3c453f0292e7697d333db95e52616b3793922945804a433c"}, + {file = "multidict-6.0.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:215ed703caf15f578dca76ee6f6b21b7603791ae090fbf1ef9d865571039ade5"}, + {file = "multidict-6.0.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7c6390cf87ff6234643428991b7359b5f59cc15155695deb4eda5c777d2b880f"}, + {file = "multidict-6.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:21fd81c4ebdb4f214161be351eb5bcf385426bf023041da2fd9e60681f3cebae"}, + {file = "multidict-6.0.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3cc2ad10255f903656017363cd59436f2111443a76f996584d1077e43ee51182"}, + {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:6939c95381e003f54cd4c5516740faba40cf5ad3eeff460c3ad1d3e0ea2549bf"}, + {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:220dd781e3f7af2c2c1053da9fa96d9cf3072ca58f057f4c5adaaa1cab8fc442"}, + {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:766c8f7511df26d9f11cd3a8be623e59cca73d44643abab3f8c8c07620524e4a"}, + {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:fe5d7785250541f7f5019ab9cba2c71169dc7d74d0f45253f8313f436458a4ef"}, + {file = "multidict-6.0.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c1c1496e73051918fcd4f58ff2e0f2f3066d1c76a0c6aeffd9b45d53243702cc"}, + {file = "multidict-6.0.5-cp310-cp310-win32.whl", hash = "sha256:7afcdd1fc07befad18ec4523a782cde4e93e0a2bf71239894b8d61ee578c1319"}, + {file = "multidict-6.0.5-cp310-cp310-win_amd64.whl", hash = "sha256:99f60d34c048c5c2fabc766108c103612344c46e35d4ed9ae0673d33c8fb26e8"}, + {file = "multidict-6.0.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:f285e862d2f153a70586579c15c44656f888806ed0e5b56b64489afe4a2dbfba"}, + {file = "multidict-6.0.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:53689bb4e102200a4fafa9de9c7c3c212ab40a7ab2c8e474491914d2305f187e"}, + {file = "multidict-6.0.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:612d1156111ae11d14afaf3a0669ebf6c170dbb735e510a7438ffe2369a847fd"}, + {file = "multidict-6.0.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7be7047bd08accdb7487737631d25735c9a04327911de89ff1b26b81745bd4e3"}, + {file = "multidict-6.0.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:de170c7b4fe6859beb8926e84f7d7d6c693dfe8e27372ce3b76f01c46e489fcf"}, + {file = "multidict-6.0.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:04bde7a7b3de05732a4eb39c94574db1ec99abb56162d6c520ad26f83267de29"}, + {file = "multidict-6.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:85f67aed7bb647f93e7520633d8f51d3cbc6ab96957c71272b286b2f30dc70ed"}, + {file = "multidict-6.0.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:425bf820055005bfc8aa9a0b99ccb52cc2f4070153e34b701acc98d201693733"}, + {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d3eb1ceec286eba8220c26f3b0096cf189aea7057b6e7b7a2e60ed36b373b77f"}, + {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:7901c05ead4b3fb75113fb1dd33eb1253c6d3ee37ce93305acd9d38e0b5f21a4"}, + {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:e0e79d91e71b9867c73323a3444724d496c037e578a0e1755ae159ba14f4f3d1"}, + {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:29bfeb0dff5cb5fdab2023a7a9947b3b4af63e9c47cae2a10ad58394b517fddc"}, + {file = "multidict-6.0.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e030047e85cbcedbfc073f71836d62dd5dadfbe7531cae27789ff66bc551bd5e"}, + {file = "multidict-6.0.5-cp311-cp311-win32.whl", hash = "sha256:2f4848aa3baa109e6ab81fe2006c77ed4d3cd1e0ac2c1fbddb7b1277c168788c"}, + {file = "multidict-6.0.5-cp311-cp311-win_amd64.whl", hash = "sha256:2faa5ae9376faba05f630d7e5e6be05be22913782b927b19d12b8145968a85ea"}, + {file = "multidict-6.0.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:51d035609b86722963404f711db441cf7134f1889107fb171a970c9701f92e1e"}, + {file = "multidict-6.0.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:cbebcd5bcaf1eaf302617c114aa67569dd3f090dd0ce8ba9e35e9985b41ac35b"}, + {file = "multidict-6.0.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2ffc42c922dbfddb4a4c3b438eb056828719f07608af27d163191cb3e3aa6cc5"}, + {file = "multidict-6.0.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ceb3b7e6a0135e092de86110c5a74e46bda4bd4fbfeeb3a3bcec79c0f861e450"}, + {file = "multidict-6.0.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:79660376075cfd4b2c80f295528aa6beb2058fd289f4c9252f986751a4cd0496"}, + {file = "multidict-6.0.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e4428b29611e989719874670fd152b6625500ad6c686d464e99f5aaeeaca175a"}, + {file = "multidict-6.0.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d84a5c3a5f7ce6db1f999fb9438f686bc2e09d38143f2d93d8406ed2dd6b9226"}, + {file = "multidict-6.0.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:76c0de87358b192de7ea9649beb392f107dcad9ad27276324c24c91774ca5271"}, + {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:79a6d2ba910adb2cbafc95dad936f8b9386e77c84c35bc0add315b856d7c3abb"}, + {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:92d16a3e275e38293623ebf639c471d3e03bb20b8ebb845237e0d3664914caef"}, + {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:fb616be3538599e797a2017cccca78e354c767165e8858ab5116813146041a24"}, + {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:14c2976aa9038c2629efa2c148022ed5eb4cb939e15ec7aace7ca932f48f9ba6"}, + {file = "multidict-6.0.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:435a0984199d81ca178b9ae2c26ec3d49692d20ee29bc4c11a2a8d4514c67eda"}, + {file = "multidict-6.0.5-cp312-cp312-win32.whl", hash = "sha256:9fe7b0653ba3d9d65cbe7698cca585bf0f8c83dbbcc710db9c90f478e175f2d5"}, + {file = "multidict-6.0.5-cp312-cp312-win_amd64.whl", hash = "sha256:01265f5e40f5a17f8241d52656ed27192be03bfa8764d88e8220141d1e4b3556"}, + {file = "multidict-6.0.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:19fe01cea168585ba0f678cad6f58133db2aa14eccaf22f88e4a6dccadfad8b3"}, + {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6bf7a982604375a8d49b6cc1b781c1747f243d91b81035a9b43a2126c04766f5"}, + {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:107c0cdefe028703fb5dafe640a409cb146d44a6ae201e55b35a4af8e95457dd"}, + {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:403c0911cd5d5791605808b942c88a8155c2592e05332d2bf78f18697a5fa15e"}, + {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aeaf541ddbad8311a87dd695ed9642401131ea39ad7bc8cf3ef3967fd093b626"}, + {file = "multidict-6.0.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e4972624066095e52b569e02b5ca97dbd7a7ddd4294bf4e7247d52635630dd83"}, + {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:d946b0a9eb8aaa590df1fe082cee553ceab173e6cb5b03239716338629c50c7a"}, + {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:b55358304d7a73d7bdf5de62494aaf70bd33015831ffd98bc498b433dfe5b10c"}, + {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:a3145cb08d8625b2d3fee1b2d596a8766352979c9bffe5d7833e0503d0f0b5e5"}, + {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:d65f25da8e248202bd47445cec78e0025c0fe7582b23ec69c3b27a640dd7a8e3"}, + {file = "multidict-6.0.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:c9bf56195c6bbd293340ea82eafd0071cb3d450c703d2c93afb89f93b8386ccc"}, + {file = "multidict-6.0.5-cp37-cp37m-win32.whl", hash = "sha256:69db76c09796b313331bb7048229e3bee7928eb62bab5e071e9f7fcc4879caee"}, + {file = "multidict-6.0.5-cp37-cp37m-win_amd64.whl", hash = "sha256:fce28b3c8a81b6b36dfac9feb1de115bab619b3c13905b419ec71d03a3fc1423"}, + {file = "multidict-6.0.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:76f067f5121dcecf0d63a67f29080b26c43c71a98b10c701b0677e4a065fbd54"}, + {file = "multidict-6.0.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b82cc8ace10ab5bd93235dfaab2021c70637005e1ac787031f4d1da63d493c1d"}, + {file = "multidict-6.0.5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:5cb241881eefd96b46f89b1a056187ea8e9ba14ab88ba632e68d7a2ecb7aadf7"}, + {file = "multidict-6.0.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e8e94e6912639a02ce173341ff62cc1201232ab86b8a8fcc05572741a5dc7d93"}, + {file = "multidict-6.0.5-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:09a892e4a9fb47331da06948690ae38eaa2426de97b4ccbfafbdcbe5c8f37ff8"}, + {file = "multidict-6.0.5-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:55205d03e8a598cfc688c71ca8ea5f66447164efff8869517f175ea632c7cb7b"}, + {file = "multidict-6.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:37b15024f864916b4951adb95d3a80c9431299080341ab9544ed148091b53f50"}, + {file = "multidict-6.0.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f2a1dee728b52b33eebff5072817176c172050d44d67befd681609b4746e1c2e"}, + {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:edd08e6f2f1a390bf137080507e44ccc086353c8e98c657e666c017718561b89"}, + {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:60d698e8179a42ec85172d12f50b1668254628425a6bd611aba022257cac1386"}, + {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:3d25f19500588cbc47dc19081d78131c32637c25804df8414463ec908631e453"}, + {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:4cc0ef8b962ac7a5e62b9e826bd0cd5040e7d401bc45a6835910ed699037a461"}, + {file = "multidict-6.0.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:eca2e9d0cc5a889850e9bbd68e98314ada174ff6ccd1129500103df7a94a7a44"}, + {file = "multidict-6.0.5-cp38-cp38-win32.whl", hash = "sha256:4a6a4f196f08c58c59e0b8ef8ec441d12aee4125a7d4f4fef000ccb22f8d7241"}, + {file = "multidict-6.0.5-cp38-cp38-win_amd64.whl", hash = "sha256:0275e35209c27a3f7951e1ce7aaf93ce0d163b28948444bec61dd7badc6d3f8c"}, + {file = "multidict-6.0.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:e7be68734bd8c9a513f2b0cfd508802d6609da068f40dc57d4e3494cefc92929"}, + {file = "multidict-6.0.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:1d9ea7a7e779d7a3561aade7d596649fbecfa5c08a7674b11b423783217933f9"}, + {file = "multidict-6.0.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ea1456df2a27c73ce51120fa2f519f1bea2f4a03a917f4a43c8707cf4cbbae1a"}, + {file = "multidict-6.0.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cf590b134eb70629e350691ecca88eac3e3b8b3c86992042fb82e3cb1830d5e1"}, + {file = "multidict-6.0.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5c0631926c4f58e9a5ccce555ad7747d9a9f8b10619621f22f9635f069f6233e"}, + {file = "multidict-6.0.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dce1c6912ab9ff5f179eaf6efe7365c1f425ed690b03341911bf4939ef2f3046"}, + {file = "multidict-6.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0868d64af83169e4d4152ec612637a543f7a336e4a307b119e98042e852ad9c"}, + {file = "multidict-6.0.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:141b43360bfd3bdd75f15ed811850763555a251e38b2405967f8e25fb43f7d40"}, + {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:7df704ca8cf4a073334e0427ae2345323613e4df18cc224f647f251e5e75a527"}, + {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:6214c5a5571802c33f80e6c84713b2c79e024995b9c5897f794b43e714daeec9"}, + {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:cd6c8fca38178e12c00418de737aef1261576bd1b6e8c6134d3e729a4e858b38"}, + {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:e02021f87a5b6932fa6ce916ca004c4d441509d33bbdbeca70d05dff5e9d2479"}, + {file = "multidict-6.0.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ebd8d160f91a764652d3e51ce0d2956b38efe37c9231cd82cfc0bed2e40b581c"}, + {file = "multidict-6.0.5-cp39-cp39-win32.whl", hash = "sha256:04da1bb8c8dbadf2a18a452639771951c662c5ad03aefe4884775454be322c9b"}, + {file = "multidict-6.0.5-cp39-cp39-win_amd64.whl", hash = "sha256:d6f6d4f185481c9669b9447bf9d9cf3b95a0e9df9d169bbc17e363b7d5487755"}, + {file = "multidict-6.0.5-py3-none-any.whl", hash = "sha256:0d63c74e3d7ab26de115c49bffc92cc77ed23395303d496eae515d4204a625e7"}, + {file = "multidict-6.0.5.tar.gz", hash = "sha256:f7e301075edaf50500f0b341543c41194d8df3ae5caf4702f2095f3ca73dd8da"}, +] + +[[package]] +name = "mypy" +version = "1.10.0" +description = "Optional static typing for Python" +optional = false +python-versions = ">=3.8" +files = [ + {file = "mypy-1.10.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:da1cbf08fb3b851ab3b9523a884c232774008267b1f83371ace57f412fe308c2"}, + {file = "mypy-1.10.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:12b6bfc1b1a66095ab413160a6e520e1dc076a28f3e22f7fb25ba3b000b4ef99"}, + {file = "mypy-1.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9e36fb078cce9904c7989b9693e41cb9711e0600139ce3970c6ef814b6ebc2b2"}, + {file = "mypy-1.10.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:2b0695d605ddcd3eb2f736cd8b4e388288c21e7de85001e9f85df9187f2b50f9"}, + {file = "mypy-1.10.0-cp310-cp310-win_amd64.whl", hash = "sha256:cd777b780312ddb135bceb9bc8722a73ec95e042f911cc279e2ec3c667076051"}, + {file = "mypy-1.10.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3be66771aa5c97602f382230165b856c231d1277c511c9a8dd058be4784472e1"}, + {file = "mypy-1.10.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8b2cbaca148d0754a54d44121b5825ae71868c7592a53b7292eeb0f3fdae95ee"}, + {file = "mypy-1.10.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1ec404a7cbe9fc0e92cb0e67f55ce0c025014e26d33e54d9e506a0f2d07fe5de"}, + {file = "mypy-1.10.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e22e1527dc3d4aa94311d246b59e47f6455b8729f4968765ac1eacf9a4760bc7"}, + {file = "mypy-1.10.0-cp311-cp311-win_amd64.whl", hash = "sha256:a87dbfa85971e8d59c9cc1fcf534efe664d8949e4c0b6b44e8ca548e746a8d53"}, + {file = "mypy-1.10.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:a781f6ad4bab20eef8b65174a57e5203f4be627b46291f4589879bf4e257b97b"}, + {file = "mypy-1.10.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b808e12113505b97d9023b0b5e0c0705a90571c6feefc6f215c1df9381256e30"}, + {file = "mypy-1.10.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8f55583b12156c399dce2df7d16f8a5095291354f1e839c252ec6c0611e86e2e"}, + {file = "mypy-1.10.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:4cf18f9d0efa1b16478c4c129eabec36148032575391095f73cae2e722fcf9d5"}, + {file = "mypy-1.10.0-cp312-cp312-win_amd64.whl", hash = "sha256:bc6ac273b23c6b82da3bb25f4136c4fd42665f17f2cd850771cb600bdd2ebeda"}, + {file = "mypy-1.10.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:9fd50226364cd2737351c79807775136b0abe084433b55b2e29181a4c3c878c0"}, + {file = "mypy-1.10.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:f90cff89eea89273727d8783fef5d4a934be2fdca11b47def50cf5d311aff727"}, + {file = "mypy-1.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fcfc70599efde5c67862a07a1aaf50e55bce629ace26bb19dc17cece5dd31ca4"}, + {file = "mypy-1.10.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:075cbf81f3e134eadaf247de187bd604748171d6b79736fa9b6c9685b4083061"}, + {file = "mypy-1.10.0-cp38-cp38-win_amd64.whl", hash = "sha256:3f298531bca95ff615b6e9f2fc0333aae27fa48052903a0ac90215021cdcfa4f"}, + {file = "mypy-1.10.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:fa7ef5244615a2523b56c034becde4e9e3f9b034854c93639adb667ec9ec2976"}, + {file = "mypy-1.10.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3236a4c8f535a0631f85f5fcdffba71c7feeef76a6002fcba7c1a8e57c8be1ec"}, + {file = "mypy-1.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a2b5cdbb5dd35aa08ea9114436e0d79aceb2f38e32c21684dcf8e24e1e92821"}, + {file = "mypy-1.10.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:92f93b21c0fe73dc00abf91022234c79d793318b8a96faac147cd579c1671746"}, + {file = "mypy-1.10.0-cp39-cp39-win_amd64.whl", hash = "sha256:28d0e038361b45f099cc086d9dd99c15ff14d0188f44ac883010e172ce86c38a"}, + {file = "mypy-1.10.0-py3-none-any.whl", hash = "sha256:f8c083976eb530019175aabadb60921e73b4f45736760826aa1689dda8208aee"}, + {file = "mypy-1.10.0.tar.gz", hash = "sha256:3d087fcbec056c4ee34974da493a826ce316947485cef3901f511848e687c131"}, +] + +[package.dependencies] +mypy-extensions = ">=1.0.0" +typing-extensions = ">=4.1.0" + +[package.extras] +dmypy = ["psutil (>=4.0)"] +install-types = ["pip"] +mypyc = ["setuptools (>=50)"] +reports = ["lxml"] + +[[package]] +name = "mypy-extensions" +version = "1.0.0" +description = "Type system extensions for programs checked with the mypy type checker." +optional = false +python-versions = ">=3.5" +files = [ + {file = "mypy_extensions-1.0.0-py3-none-any.whl", hash = "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d"}, + {file = "mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"}, +] + +[[package]] +name = "orjson" +version = "3.10.1" +description = "Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" +optional = false +python-versions = ">=3.8" +files = [ + {file = "orjson-3.10.1-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:8ec2fc456d53ea4a47768f622bb709be68acd455b0c6be57e91462259741c4f3"}, + {file = "orjson-3.10.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2e900863691d327758be14e2a491931605bd0aded3a21beb6ce133889830b659"}, + {file = "orjson-3.10.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ab6ecbd6fe57785ebc86ee49e183f37d45f91b46fc601380c67c5c5e9c0014a2"}, + {file = "orjson-3.10.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8af7c68b01b876335cccfb4eee0beef2b5b6eae1945d46a09a7c24c9faac7a77"}, + {file = "orjson-3.10.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:915abfb2e528677b488a06eba173e9d7706a20fdfe9cdb15890b74ef9791b85e"}, + {file = "orjson-3.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fe3fd4a36eff9c63d25503b439531d21828da9def0059c4f472e3845a081aa0b"}, + {file = "orjson-3.10.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d229564e72cfc062e6481a91977a5165c5a0fdce11ddc19ced8471847a67c517"}, + {file = "orjson-3.10.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:9e00495b18304173ac843b5c5fbea7b6f7968564d0d49bef06bfaeca4b656f4e"}, + {file = "orjson-3.10.1-cp310-none-win32.whl", hash = "sha256:fd78ec55179545c108174ba19c1795ced548d6cac4d80d014163033c047ca4ea"}, + {file = "orjson-3.10.1-cp310-none-win_amd64.whl", hash = "sha256:50ca42b40d5a442a9e22eece8cf42ba3d7cd4cd0f2f20184b4d7682894f05eec"}, + {file = "orjson-3.10.1-cp311-cp311-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:b345a3d6953628df2f42502297f6c1e1b475cfbf6268013c94c5ac80e8abc04c"}, + {file = "orjson-3.10.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:caa7395ef51af4190d2c70a364e2f42138e0e5fcb4bc08bc9b76997659b27dab"}, + {file = "orjson-3.10.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b01d701decd75ae092e5f36f7b88a1e7a1d3bb7c9b9d7694de850fb155578d5a"}, + {file = "orjson-3.10.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b5028981ba393f443d8fed9049211b979cadc9d0afecf162832f5a5b152c6297"}, + {file = "orjson-3.10.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:31ff6a222ea362b87bf21ff619598a4dc1106aaafaea32b1c4876d692891ec27"}, + {file = "orjson-3.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e852a83d7803d3406135fb7a57cf0c1e4a3e73bac80ec621bd32f01c653849c5"}, + {file = "orjson-3.10.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:2567bc928ed3c3fcd90998009e8835de7c7dc59aabcf764b8374d36044864f3b"}, + {file = "orjson-3.10.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:4ce98cac60b7bb56457bdd2ed7f0d5d7f242d291fdc0ca566c83fa721b52e92d"}, + {file = "orjson-3.10.1-cp311-none-win32.whl", hash = "sha256:813905e111318acb356bb8029014c77b4c647f8b03f314e7b475bd9ce6d1a8ce"}, + {file = "orjson-3.10.1-cp311-none-win_amd64.whl", hash = "sha256:03a3ca0b3ed52bed1a869163a4284e8a7b0be6a0359d521e467cdef7e8e8a3ee"}, + {file = "orjson-3.10.1-cp312-cp312-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:f02c06cee680b1b3a8727ec26c36f4b3c0c9e2b26339d64471034d16f74f4ef5"}, + {file = "orjson-3.10.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b1aa2f127ac546e123283e437cc90b5ecce754a22306c7700b11035dad4ccf85"}, + {file = "orjson-3.10.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2cf29b4b74f585225196944dffdebd549ad2af6da9e80db7115984103fb18a96"}, + {file = "orjson-3.10.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a1b130c20b116f413caf6059c651ad32215c28500dce9cd029a334a2d84aa66f"}, + {file = "orjson-3.10.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d31f9a709e6114492136e87c7c6da5e21dfedebefa03af85f3ad72656c493ae9"}, + {file = "orjson-3.10.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5d1d169461726f271ab31633cf0e7e7353417e16fb69256a4f8ecb3246a78d6e"}, + {file = "orjson-3.10.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:57c294d73825c6b7f30d11c9e5900cfec9a814893af7f14efbe06b8d0f25fba9"}, + {file = "orjson-3.10.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:d7f11dbacfa9265ec76b4019efffabaabba7a7ebf14078f6b4df9b51c3c9a8ea"}, + {file = "orjson-3.10.1-cp312-none-win32.whl", hash = "sha256:d89e5ed68593226c31c76ab4de3e0d35c760bfd3fbf0a74c4b2be1383a1bf123"}, + {file = "orjson-3.10.1-cp312-none-win_amd64.whl", hash = "sha256:aa76c4fe147fd162107ce1692c39f7189180cfd3a27cfbc2ab5643422812da8e"}, + {file = "orjson-3.10.1-cp38-cp38-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:a2c6a85c92d0e494c1ae117befc93cf8e7bca2075f7fe52e32698da650b2c6d1"}, + {file = "orjson-3.10.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9813f43da955197d36a7365eb99bed42b83680801729ab2487fef305b9ced866"}, + {file = "orjson-3.10.1-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ec917b768e2b34b7084cb6c68941f6de5812cc26c6f1a9fecb728e36a3deb9e8"}, + {file = "orjson-3.10.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5252146b3172d75c8a6d27ebca59c9ee066ffc5a277050ccec24821e68742fdf"}, + {file = "orjson-3.10.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:536429bb02791a199d976118b95014ad66f74c58b7644d21061c54ad284e00f4"}, + {file = "orjson-3.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7dfed3c3e9b9199fb9c3355b9c7e4649b65f639e50ddf50efdf86b45c6de04b5"}, + {file = "orjson-3.10.1-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:2b230ec35f188f003f5b543644ae486b2998f6afa74ee3a98fc8ed2e45960afc"}, + {file = "orjson-3.10.1-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:01234249ba19c6ab1eb0b8be89f13ea21218b2d72d496ef085cfd37e1bae9dd8"}, + {file = "orjson-3.10.1-cp38-none-win32.whl", hash = "sha256:8a884fbf81a3cc22d264ba780920d4885442144e6acaa1411921260416ac9a54"}, + {file = "orjson-3.10.1-cp38-none-win_amd64.whl", hash = "sha256:dab5f802d52b182163f307d2b1f727d30b1762e1923c64c9c56dd853f9671a49"}, + {file = "orjson-3.10.1-cp39-cp39-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:a51fd55d4486bc5293b7a400f9acd55a2dc3b5fc8420d5ffe9b1d6bb1a056a5e"}, + {file = "orjson-3.10.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:53521542a6db1411b3bfa1b24ddce18605a3abdc95a28a67b33f9145f26aa8f2"}, + {file = "orjson-3.10.1-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:27d610df96ac18ace4931411d489637d20ab3b8f63562b0531bba16011998db0"}, + {file = "orjson-3.10.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:79244b1456e5846d44e9846534bd9e3206712936d026ea8e6a55a7374d2c0694"}, + {file = "orjson-3.10.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d751efaa8a49ae15cbebdda747a62a9ae521126e396fda8143858419f3b03610"}, + {file = "orjson-3.10.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:27ff69c620a4fff33267df70cfd21e0097c2a14216e72943bd5414943e376d77"}, + {file = "orjson-3.10.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:ebc58693464146506fde0c4eb1216ff6d4e40213e61f7d40e2f0dde9b2f21650"}, + {file = "orjson-3.10.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:5be608c3972ed902e0143a5b8776d81ac1059436915d42defe5c6ae97b3137a4"}, + {file = "orjson-3.10.1-cp39-none-win32.whl", hash = "sha256:4ae10753e7511d359405aadcbf96556c86e9dbf3a948d26c2c9f9a150c52b091"}, + {file = "orjson-3.10.1-cp39-none-win_amd64.whl", hash = "sha256:fb5bc4caa2c192077fdb02dce4e5ef8639e7f20bec4e3a834346693907362932"}, + {file = "orjson-3.10.1.tar.gz", hash = "sha256:a883b28d73370df23ed995c466b4f6c708c1f7a9bdc400fe89165c96c7603204"}, +] + [[package]] name = "packaging" version = "24.0" @@ -503,62 +1018,128 @@ files = [ [[package]] name = "pendulum" -version = "2.1.2" +version = "3.0.0" description = "Python datetimes made easy" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = ">=3.8" files = [ - {file = "pendulum-2.1.2-cp27-cp27m-macosx_10_15_x86_64.whl", hash = "sha256:b6c352f4bd32dff1ea7066bd31ad0f71f8d8100b9ff709fb343f3b86cee43efe"}, - {file = "pendulum-2.1.2-cp27-cp27m-win_amd64.whl", hash = "sha256:318f72f62e8e23cd6660dbafe1e346950281a9aed144b5c596b2ddabc1d19739"}, - {file = "pendulum-2.1.2-cp35-cp35m-macosx_10_15_x86_64.whl", hash = "sha256:0731f0c661a3cb779d398803655494893c9f581f6488048b3fb629c2342b5394"}, - {file = "pendulum-2.1.2-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:3481fad1dc3f6f6738bd575a951d3c15d4b4ce7c82dce37cf8ac1483fde6e8b0"}, - {file = "pendulum-2.1.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:9702069c694306297ed362ce7e3c1ef8404ac8ede39f9b28b7c1a7ad8c3959e3"}, - {file = "pendulum-2.1.2-cp35-cp35m-win_amd64.whl", hash = "sha256:fb53ffa0085002ddd43b6ca61a7b34f2d4d7c3ed66f931fe599e1a531b42af9b"}, - {file = "pendulum-2.1.2-cp36-cp36m-macosx_10_15_x86_64.whl", hash = "sha256:c501749fdd3d6f9e726086bf0cd4437281ed47e7bca132ddb522f86a1645d360"}, - {file = "pendulum-2.1.2-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:c807a578a532eeb226150d5006f156632df2cc8c5693d778324b43ff8c515dd0"}, - {file = "pendulum-2.1.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:2d1619a721df661e506eff8db8614016f0720ac171fe80dda1333ee44e684087"}, - {file = "pendulum-2.1.2-cp36-cp36m-win_amd64.whl", hash = "sha256:f888f2d2909a414680a29ae74d0592758f2b9fcdee3549887779cd4055e975db"}, - {file = "pendulum-2.1.2-cp37-cp37m-macosx_10_15_x86_64.whl", hash = "sha256:e95d329384717c7bf627bf27e204bc3b15c8238fa8d9d9781d93712776c14002"}, - {file = "pendulum-2.1.2-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:4c9c689747f39d0d02a9f94fcee737b34a5773803a64a5fdb046ee9cac7442c5"}, - {file = "pendulum-2.1.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:1245cd0075a3c6d889f581f6325dd8404aca5884dea7223a5566c38aab94642b"}, - {file = "pendulum-2.1.2-cp37-cp37m-win_amd64.whl", hash = "sha256:db0a40d8bcd27b4fb46676e8eb3c732c67a5a5e6bfab8927028224fbced0b40b"}, - {file = "pendulum-2.1.2-cp38-cp38-macosx_10_15_x86_64.whl", hash = "sha256:f5e236e7730cab1644e1b87aca3d2ff3e375a608542e90fe25685dae46310116"}, - {file = "pendulum-2.1.2-cp38-cp38-manylinux1_i686.whl", hash = "sha256:de42ea3e2943171a9e95141f2eecf972480636e8e484ccffaf1e833929e9e052"}, - {file = "pendulum-2.1.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:7c5ec650cb4bec4c63a89a0242cc8c3cebcec92fcfe937c417ba18277d8560be"}, - {file = "pendulum-2.1.2-cp38-cp38-win_amd64.whl", hash = "sha256:33fb61601083f3eb1d15edeb45274f73c63b3c44a8524703dc143f4212bf3269"}, - {file = "pendulum-2.1.2-cp39-cp39-manylinux1_i686.whl", hash = "sha256:29c40a6f2942376185728c9a0347d7c0f07905638c83007e1d262781f1e6953a"}, - {file = "pendulum-2.1.2-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:94b1fc947bfe38579b28e1cccb36f7e28a15e841f30384b5ad6c5e31055c85d7"}, - {file = "pendulum-2.1.2.tar.gz", hash = "sha256:b06a0ca1bfe41c990bbf0c029f0b6501a7f2ec4e38bfec730712015e8860f207"}, + {file = "pendulum-3.0.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:2cf9e53ef11668e07f73190c805dbdf07a1939c3298b78d5a9203a86775d1bfd"}, + {file = "pendulum-3.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fb551b9b5e6059377889d2d878d940fd0bbb80ae4810543db18e6f77b02c5ef6"}, + {file = "pendulum-3.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6c58227ac260d5b01fc1025176d7b31858c9f62595737f350d22124a9a3ad82d"}, + {file = "pendulum-3.0.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:60fb6f415fea93a11c52578eaa10594568a6716602be8430b167eb0d730f3332"}, + {file = "pendulum-3.0.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b69f6b4dbcb86f2c2fe696ba991e67347bcf87fe601362a1aba6431454b46bde"}, + {file = "pendulum-3.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:138afa9c373ee450ede206db5a5e9004fd3011b3c6bbe1e57015395cd076a09f"}, + {file = "pendulum-3.0.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:83d9031f39c6da9677164241fd0d37fbfc9dc8ade7043b5d6d62f56e81af8ad2"}, + {file = "pendulum-3.0.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:0c2308af4033fa534f089595bcd40a95a39988ce4059ccd3dc6acb9ef14ca44a"}, + {file = "pendulum-3.0.0-cp310-none-win_amd64.whl", hash = "sha256:9a59637cdb8462bdf2dbcb9d389518c0263799189d773ad5c11db6b13064fa79"}, + {file = "pendulum-3.0.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:3725245c0352c95d6ca297193192020d1b0c0f83d5ee6bb09964edc2b5a2d508"}, + {file = "pendulum-3.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:6c035f03a3e565ed132927e2c1b691de0dbf4eb53b02a5a3c5a97e1a64e17bec"}, + {file = "pendulum-3.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:597e66e63cbd68dd6d58ac46cb7a92363d2088d37ccde2dae4332ef23e95cd00"}, + {file = "pendulum-3.0.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:99a0f8172e19f3f0c0e4ace0ad1595134d5243cf75985dc2233e8f9e8de263ca"}, + {file = "pendulum-3.0.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:77d8839e20f54706aed425bec82a83b4aec74db07f26acd039905d1237a5e1d4"}, + {file = "pendulum-3.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afde30e8146292b059020fbc8b6f8fd4a60ae7c5e6f0afef937bbb24880bdf01"}, + {file = "pendulum-3.0.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:660434a6fcf6303c4efd36713ca9212c753140107ee169a3fc6c49c4711c2a05"}, + {file = "pendulum-3.0.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:dee9e5a48c6999dc1106eb7eea3e3a50e98a50651b72c08a87ee2154e544b33e"}, + {file = "pendulum-3.0.0-cp311-none-win_amd64.whl", hash = "sha256:d4cdecde90aec2d67cebe4042fd2a87a4441cc02152ed7ed8fb3ebb110b94ec4"}, + {file = "pendulum-3.0.0-cp311-none-win_arm64.whl", hash = "sha256:773c3bc4ddda2dda9f1b9d51fe06762f9200f3293d75c4660c19b2614b991d83"}, + {file = "pendulum-3.0.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:409e64e41418c49f973d43a28afe5df1df4f1dd87c41c7c90f1a63f61ae0f1f7"}, + {file = "pendulum-3.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a38ad2121c5ec7c4c190c7334e789c3b4624798859156b138fcc4d92295835dc"}, + {file = "pendulum-3.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fde4d0b2024b9785f66b7f30ed59281bd60d63d9213cda0eb0910ead777f6d37"}, + {file = "pendulum-3.0.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4b2c5675769fb6d4c11238132962939b960fcb365436b6d623c5864287faa319"}, + {file = "pendulum-3.0.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8af95e03e066826f0f4c65811cbee1b3123d4a45a1c3a2b4fc23c4b0dff893b5"}, + {file = "pendulum-3.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2165a8f33cb15e06c67070b8afc87a62b85c5a273e3aaa6bc9d15c93a4920d6f"}, + {file = "pendulum-3.0.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:ad5e65b874b5e56bd942546ea7ba9dd1d6a25121db1c517700f1c9de91b28518"}, + {file = "pendulum-3.0.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:17fe4b2c844bbf5f0ece69cfd959fa02957c61317b2161763950d88fed8e13b9"}, + {file = "pendulum-3.0.0-cp312-none-win_amd64.whl", hash = "sha256:78f8f4e7efe5066aca24a7a57511b9c2119f5c2b5eb81c46ff9222ce11e0a7a5"}, + {file = "pendulum-3.0.0-cp312-none-win_arm64.whl", hash = "sha256:28f49d8d1e32aae9c284a90b6bb3873eee15ec6e1d9042edd611b22a94ac462f"}, + {file = "pendulum-3.0.0-cp37-cp37m-macosx_10_12_x86_64.whl", hash = "sha256:d4e2512f4e1a4670284a153b214db9719eb5d14ac55ada5b76cbdb8c5c00399d"}, + {file = "pendulum-3.0.0-cp37-cp37m-macosx_11_0_arm64.whl", hash = "sha256:3d897eb50883cc58d9b92f6405245f84b9286cd2de6e8694cb9ea5cb15195a32"}, + {file = "pendulum-3.0.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2e169cc2ca419517f397811bbe4589cf3cd13fca6dc38bb352ba15ea90739ebb"}, + {file = "pendulum-3.0.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f17c3084a4524ebefd9255513692f7e7360e23c8853dc6f10c64cc184e1217ab"}, + {file = "pendulum-3.0.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:826d6e258052715f64d05ae0fc9040c0151e6a87aae7c109ba9a0ed930ce4000"}, + {file = "pendulum-3.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2aae97087872ef152a0c40e06100b3665d8cb86b59bc8471ca7c26132fccd0f"}, + {file = "pendulum-3.0.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:ac65eeec2250d03106b5e81284ad47f0d417ca299a45e89ccc69e36130ca8bc7"}, + {file = "pendulum-3.0.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:a5346d08f3f4a6e9e672187faa179c7bf9227897081d7121866358af369f44f9"}, + {file = "pendulum-3.0.0-cp37-none-win_amd64.whl", hash = "sha256:235d64e87946d8f95c796af34818c76e0f88c94d624c268693c85b723b698aa9"}, + {file = "pendulum-3.0.0-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:6a881d9c2a7f85bc9adafcfe671df5207f51f5715ae61f5d838b77a1356e8b7b"}, + {file = "pendulum-3.0.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:d7762d2076b9b1cb718a6631ad6c16c23fc3fac76cbb8c454e81e80be98daa34"}, + {file = "pendulum-3.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4e8e36a8130819d97a479a0e7bf379b66b3b1b520e5dc46bd7eb14634338df8c"}, + {file = "pendulum-3.0.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7dc843253ac373358ffc0711960e2dd5b94ab67530a3e204d85c6e8cb2c5fa10"}, + {file = "pendulum-3.0.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0a78ad3635d609ceb1e97d6aedef6a6a6f93433ddb2312888e668365908c7120"}, + {file = "pendulum-3.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b30a137e9e0d1f751e60e67d11fc67781a572db76b2296f7b4d44554761049d6"}, + {file = "pendulum-3.0.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:c95984037987f4a457bb760455d9ca80467be792236b69d0084f228a8ada0162"}, + {file = "pendulum-3.0.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:d29c6e578fe0f893766c0d286adbf0b3c726a4e2341eba0917ec79c50274ec16"}, + {file = "pendulum-3.0.0-cp38-none-win_amd64.whl", hash = "sha256:deaba8e16dbfcb3d7a6b5fabdd5a38b7c982809567479987b9c89572df62e027"}, + {file = "pendulum-3.0.0-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:b11aceea5b20b4b5382962b321dbc354af0defe35daa84e9ff3aae3c230df694"}, + {file = "pendulum-3.0.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a90d4d504e82ad236afac9adca4d6a19e4865f717034fc69bafb112c320dcc8f"}, + {file = "pendulum-3.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:825799c6b66e3734227756fa746cc34b3549c48693325b8b9f823cb7d21b19ac"}, + {file = "pendulum-3.0.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ad769e98dc07972e24afe0cff8d365cb6f0ebc7e65620aa1976fcfbcadc4c6f3"}, + {file = "pendulum-3.0.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a6fc26907eb5fb8cc6188cc620bc2075a6c534d981a2f045daa5f79dfe50d512"}, + {file = "pendulum-3.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0c717eab1b6d898c00a3e0fa7781d615b5c5136bbd40abe82be100bb06df7a56"}, + {file = "pendulum-3.0.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:3ddd1d66d1a714ce43acfe337190be055cdc221d911fc886d5a3aae28e14b76d"}, + {file = "pendulum-3.0.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:822172853d7a9cf6da95d7b66a16c7160cb99ae6df55d44373888181d7a06edc"}, + {file = "pendulum-3.0.0-cp39-none-win_amd64.whl", hash = "sha256:840de1b49cf1ec54c225a2a6f4f0784d50bd47f68e41dc005b7f67c7d5b5f3ae"}, + {file = "pendulum-3.0.0-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:3b1f74d1e6ffe5d01d6023870e2ce5c2191486928823196f8575dcc786e107b1"}, + {file = "pendulum-3.0.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:729e9f93756a2cdfa77d0fc82068346e9731c7e884097160603872686e570f07"}, + {file = "pendulum-3.0.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e586acc0b450cd21cbf0db6bae386237011b75260a3adceddc4be15334689a9a"}, + {file = "pendulum-3.0.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:22e7944ffc1f0099a79ff468ee9630c73f8c7835cd76fdb57ef7320e6a409df4"}, + {file = "pendulum-3.0.0-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:fa30af36bd8e50686846bdace37cf6707bdd044e5cb6e1109acbad3277232e04"}, + {file = "pendulum-3.0.0-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:440215347b11914ae707981b9a57ab9c7b6983ab0babde07063c6ee75c0dc6e7"}, + {file = "pendulum-3.0.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:314c4038dc5e6a52991570f50edb2f08c339debdf8cea68ac355b32c4174e820"}, + {file = "pendulum-3.0.0-pp37-pypy37_pp73-macosx_10_12_x86_64.whl", hash = "sha256:5acb1d386337415f74f4d1955c4ce8d0201978c162927d07df8eb0692b2d8533"}, + {file = "pendulum-3.0.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a789e12fbdefaffb7b8ac67f9d8f22ba17a3050ceaaa635cd1cc4645773a4b1e"}, + {file = "pendulum-3.0.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:860aa9b8a888e5913bd70d819306749e5eb488e6b99cd6c47beb701b22bdecf5"}, + {file = "pendulum-3.0.0-pp37-pypy37_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:5ebc65ea033ef0281368217fbf59f5cb05b338ac4dd23d60959c7afcd79a60a0"}, + {file = "pendulum-3.0.0-pp37-pypy37_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:d9fef18ab0386ef6a9ac7bad7e43ded42c83ff7ad412f950633854f90d59afa8"}, + {file = "pendulum-3.0.0-pp38-pypy38_pp73-macosx_10_12_x86_64.whl", hash = "sha256:1c134ba2f0571d0b68b83f6972e2307a55a5a849e7dac8505c715c531d2a8795"}, + {file = "pendulum-3.0.0-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:385680812e7e18af200bb9b4a49777418c32422d05ad5a8eb85144c4a285907b"}, + {file = "pendulum-3.0.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9eec91cd87c59fb32ec49eb722f375bd58f4be790cae11c1b70fac3ee4f00da0"}, + {file = "pendulum-3.0.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4386bffeca23c4b69ad50a36211f75b35a4deb6210bdca112ac3043deb7e494a"}, + {file = "pendulum-3.0.0-pp38-pypy38_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:dfbcf1661d7146d7698da4b86e7f04814221081e9fe154183e34f4c5f5fa3bf8"}, + {file = "pendulum-3.0.0-pp38-pypy38_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:04a1094a5aa1daa34a6b57c865b25f691848c61583fb22722a4df5699f6bf74c"}, + {file = "pendulum-3.0.0-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:5b0ec85b9045bd49dd3a3493a5e7ddfd31c36a2a60da387c419fa04abcaecb23"}, + {file = "pendulum-3.0.0-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:0a15b90129765b705eb2039062a6daf4d22c4e28d1a54fa260892e8c3ae6e157"}, + {file = "pendulum-3.0.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:bb8f6d7acd67a67d6fedd361ad2958ff0539445ef51cbe8cd288db4306503cd0"}, + {file = "pendulum-3.0.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fd69b15374bef7e4b4440612915315cc42e8575fcda2a3d7586a0d88192d0c88"}, + {file = "pendulum-3.0.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dc00f8110db6898360c53c812872662e077eaf9c75515d53ecc65d886eec209a"}, + {file = "pendulum-3.0.0-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:83a44e8b40655d0ba565a5c3d1365d27e3e6778ae2a05b69124db9e471255c4a"}, + {file = "pendulum-3.0.0-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:1a3604e9fbc06b788041b2a8b78f75c243021e0f512447806a6d37ee5214905d"}, + {file = "pendulum-3.0.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:92c307ae7accebd06cbae4729f0ba9fa724df5f7d91a0964b1b972a22baa482b"}, + {file = "pendulum-3.0.0.tar.gz", hash = "sha256:5d034998dea404ec31fae27af6b22cff1708f830a1ed7353be4d1019bb9f584e"}, ] [package.dependencies] -python-dateutil = ">=2.6,<3.0" -pytzdata = ">=2020.1" +python-dateutil = ">=2.6" +tzdata = ">=2020.1" + +[package.extras] +test = ["time-machine (>=2.6.0)"] [[package]] name = "platformdirs" -version = "4.2.0" -description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." +version = "4.2.1" +description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`." optional = false python-versions = ">=3.8" files = [ - {file = "platformdirs-4.2.0-py3-none-any.whl", hash = "sha256:0614df2a2f37e1a662acbd8e2b25b92ccf8632929bc6d43467e17fe89c75e068"}, - {file = "platformdirs-4.2.0.tar.gz", hash = "sha256:ef0cc731df711022c174543cb70a9b5bd22e5a9337c8624ef2c2ceb8ddad8768"}, + {file = "platformdirs-4.2.1-py3-none-any.whl", hash = "sha256:17d5a1161b3fd67b390023cb2d3b026bbd40abde6fdb052dfbd3a29c3ba22ee1"}, + {file = "platformdirs-4.2.1.tar.gz", hash = "sha256:031cd18d4ec63ec53e82dceaac0417d218a6863f7745dfcc9efe7793b7039bdf"}, ] [package.extras] docs = ["furo (>=2023.9.10)", "proselint (>=0.13)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.25.2)"] test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)"] +type = ["mypy (>=1.8)"] [[package]] name = "pluggy" -version = "1.4.0" +version = "1.5.0" description = "plugin and hook calling mechanisms for python" optional = false python-versions = ">=3.8" files = [ - {file = "pluggy-1.4.0-py3-none-any.whl", hash = "sha256:7db9f7b503d67d1c5b95f59773ebb58a8c1c288129a88665838012cfb07b8981"}, - {file = "pluggy-1.4.0.tar.gz", hash = "sha256:8c85c2876142a764e5b7548e7d9a0e0ddb46f5185161049a79b7e974454223be"}, + {file = "pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669"}, + {file = "pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"}, ] [package.extras] @@ -566,14 +1147,80 @@ dev = ["pre-commit", "tox"] testing = ["pytest", "pytest-benchmark"] [[package]] -name = "py" -version = "1.11.0" -description = "library with cross-python path, ini-parsing, io, code, log facilities" +name = "pycares" +version = "4.4.0" +description = "Python interface for c-ares" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = ">=3.8" files = [ - {file = "py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378"}, - {file = "py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"}, + {file = "pycares-4.4.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:24da119850841d16996713d9c3374ca28a21deee056d609fbbed29065d17e1f6"}, + {file = "pycares-4.4.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:8f64cb58729689d4d0e78f0bfb4c25ce2f851d0274c0273ac751795c04b8798a"}, + {file = "pycares-4.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d33e2a1120887e89075f7f814ec144f66a6ce06a54f5722ccefc62fbeda83cff"}, + {file = "pycares-4.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c680fef1b502ee680f8f0b95a41af4ec2c234e50e16c0af5bbda31999d3584bd"}, + {file = "pycares-4.4.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fff16b09042ba077f7b8aa5868d1d22456f0002574d0ba43462b10a009331677"}, + {file = "pycares-4.4.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:229a1675eb33bc9afb1fc463e73ee334950ccc485bc83a43f6ae5839fb4d5fa3"}, + {file = "pycares-4.4.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:3aebc73e5ad70464f998f77f2da2063aa617cbd8d3e8174dd7c5b4518f967153"}, + {file = "pycares-4.4.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:6ef64649eba56448f65e26546d85c860709844d2fc22ef14d324fe0b27f761a9"}, + {file = "pycares-4.4.0-cp310-cp310-win32.whl", hash = "sha256:4afc2644423f4eef97857a9fd61be9758ce5e336b4b0bd3d591238bb4b8b03e0"}, + {file = "pycares-4.4.0-cp310-cp310-win_amd64.whl", hash = "sha256:5ed4e04af4012f875b78219d34434a6d08a67175150ac1b79eb70ab585d4ba8c"}, + {file = "pycares-4.4.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:bce8db2fc6f3174bd39b81405210b9b88d7b607d33e56a970c34a0c190da0490"}, + {file = "pycares-4.4.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:9a0303428d013ccf5c51de59c83f9127aba6200adb7fd4be57eddb432a1edd2a"}, + {file = "pycares-4.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:afb91792f1556f97be7f7acb57dc7756d89c5a87bd8b90363a77dbf9ea653817"}, + {file = "pycares-4.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b61579cecf1f4d616e5ea31a6e423a16680ab0d3a24a2ffe7bb1d4ee162477ff"}, + {file = "pycares-4.4.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b7af06968cbf6851566e806bf3e72825b0e6671832a2cbe840be1d2d65350710"}, + {file = "pycares-4.4.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ceb12974367b0a68a05d52f4162b29f575d241bd53de155efe632bf2c943c7f6"}, + {file = "pycares-4.4.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:2eeec144bcf6a7b6f2d74d6e70cbba7886a84dd373c886f06cb137a07de4954c"}, + {file = "pycares-4.4.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e3a6f7cfdfd11eb5493d6d632e582408c8f3b429f295f8799c584c108b28db6f"}, + {file = "pycares-4.4.0-cp311-cp311-win32.whl", hash = "sha256:34736a2ffaa9c08ca9c707011a2d7b69074bbf82d645d8138bba771479b2362f"}, + {file = "pycares-4.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:eb66c30eb11e877976b7ead13632082a8621df648c408b8e15cdb91a452dd502"}, + {file = "pycares-4.4.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:fd644505a8cfd7f6584d33a9066d4e3d47700f050ef1490230c962de5dfb28c6"}, + {file = "pycares-4.4.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:52084961262232ec04bd75f5043aed7e5d8d9695e542ff691dfef0110209f2d4"}, + {file = "pycares-4.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0c5368206057884cde18602580083aeaad9b860e2eac14fd253543158ce1e93"}, + {file = "pycares-4.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:112a4979c695b1c86f6782163d7dec58d57a3b9510536dcf4826550f9053dd9a"}, + {file = "pycares-4.4.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8d186dafccdaa3409194c0f94db93c1a5d191145a275f19da6591f9499b8e7b8"}, + {file = "pycares-4.4.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:64965dc19c578a683ea73487a215a8897276224e004d50eeb21f0bc7a0b63c88"}, + {file = "pycares-4.4.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:ed2a38e34bec6f2586435f6ff0bc5fe11d14bebd7ed492cf739a424e81681540"}, + {file = "pycares-4.4.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:94d6962db81541eb0396d2f0dfcbb18cdb8c8b251d165efc2d974ae652c547d4"}, + {file = "pycares-4.4.0-cp312-cp312-win32.whl", hash = "sha256:1168a48a834813aa80f412be2df4abaf630528a58d15c704857448b20b1675c0"}, + {file = "pycares-4.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:db24c4e7fea4a052c6e869cbf387dd85d53b9736cfe1ef5d8d568d1ca925e977"}, + {file = "pycares-4.4.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:21a5a0468861ec7df7befa69050f952da13db5427ae41ffe4713bc96291d1d95"}, + {file = "pycares-4.4.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:22c00bf659a9fa44d7b405cf1cd69b68b9d37537899898d8cbe5dffa4016b273"}, + {file = "pycares-4.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:23aa3993a352491a47fcf17867f61472f32f874df4adcbb486294bd9fbe8abee"}, + {file = "pycares-4.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:813d661cbe2e37d87da2d16b7110a6860e93ddb11735c6919c8a3545c7b9c8d8"}, + {file = "pycares-4.4.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:77cf5a2fd5583c670de41a7f4a7b46e5cbabe7180d8029f728571f4d2e864084"}, + {file = "pycares-4.4.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:3eaa6681c0a3e3f3868c77aca14b7760fed35fdfda2fe587e15c701950e7bc69"}, + {file = "pycares-4.4.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:ad58e284a658a8a6a84af2e0b62f2f961f303cedfe551854d7bd40c3cbb61912"}, + {file = "pycares-4.4.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:bfb89ca9e3d0a9b5332deeb666b2ede9d3469107742158f4aeda5ce032d003f4"}, + {file = "pycares-4.4.0-cp38-cp38-win32.whl", hash = "sha256:f36bdc1562142e3695555d2f4ac0cb69af165eddcefa98efc1c79495b533481f"}, + {file = "pycares-4.4.0-cp38-cp38-win_amd64.whl", hash = "sha256:902461a92b6a80fd5041a2ec5235680c7cc35e43615639ec2a40e63fca2dfb51"}, + {file = "pycares-4.4.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7bddc6adba8f699728f7fc1c9ce8cef359817ad78e2ed52b9502cb5f8dc7f741"}, + {file = "pycares-4.4.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:cb49d5805cd347c404f928c5ae7c35e86ba0c58ffa701dbe905365e77ce7d641"}, + {file = "pycares-4.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:56cf3349fa3a2e67ed387a7974c11d233734636fe19facfcda261b411af14d80"}, + {file = "pycares-4.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8bf2eaa83a5987e48fa63302f0fe7ce3275cfda87b34d40fef9ce703fb3ac002"}, + {file = "pycares-4.4.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:82bba2ab77eb5addbf9758d514d9bdef3c1bfe7d1649a47bd9a0d55a23ef478b"}, + {file = "pycares-4.4.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:c6a8bde63106f162fca736e842a916853cad3c8d9d137e11c9ffa37efa818b02"}, + {file = "pycares-4.4.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:f5f646eec041db6ffdbcaf3e0756fb92018f7af3266138c756bb09d2b5baadec"}, + {file = "pycares-4.4.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:9dc04c54c6ea615210c1b9e803d0e2d2255f87a3d5d119b6482c8f0dfa15b26b"}, + {file = "pycares-4.4.0-cp39-cp39-win32.whl", hash = "sha256:97892cced5794d721fb4ff8765764aa4ea48fe8b2c3820677505b96b83d4ef47"}, + {file = "pycares-4.4.0-cp39-cp39-win_amd64.whl", hash = "sha256:917f08f0b5d9324e9a34211e68d27447c552b50ab967044776bbab7e42a553a2"}, + {file = "pycares-4.4.0.tar.gz", hash = "sha256:f47579d508f2f56eddd16ce72045782ad3b1b3b678098699e2b6a1b30733e1c2"}, +] + +[package.dependencies] +cffi = ">=1.5.0" + +[package.extras] +idna = ["idna (>=2.1)"] + +[[package]] +name = "pycparser" +version = "2.22" +description = "C parser in Python" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pycparser-2.22-py3-none-any.whl", hash = "sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc"}, + {file = "pycparser-2.22.tar.gz", hash = "sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6"}, ] [[package]] @@ -628,21 +1275,6 @@ typing-extensions = ">=4.2.0" dotenv = ["python-dotenv (>=0.10.4)"] email = ["email-validator (>=1.0.3)"] -[[package]] -name = "pyrate-limiter" -version = "3.1.1" -description = "Python Rate-Limiter using Leaky-Bucket Algorithm" -optional = false -python-versions = ">=3.8,<4.0" -files = [ - {file = "pyrate_limiter-3.1.1-py3-none-any.whl", hash = "sha256:c51906f1d51d56dc992ff6c26e8300e32151bc6cfa3e6559792e31971dfd4e2b"}, - {file = "pyrate_limiter-3.1.1.tar.gz", hash = "sha256:2f57eda712687e6eccddf6afe8f8a15b409b97ed675fe64a626058f12863b7b7"}, -] - -[package.extras] -all = ["filelock (>=3.0)", "redis (>=5.0.0,<6.0.0)"] -docs = ["furo (>=2022.3.4,<2023.0.0)", "myst-parser (>=0.17)", "sphinx (>=4.3.0,<5.0.0)", "sphinx-autodoc-typehints (>=1.17,<2.0)", "sphinx-copybutton (>=0.5)", "sphinxcontrib-apidoc (>=0.3,<0.4)"] - [[package]] name = "pyrsistent" version = "0.20.0" @@ -686,41 +1318,52 @@ files = [ [[package]] name = "pytest" -version = "6.2.5" +version = "7.4.4" description = "pytest: simple powerful testing with Python" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" files = [ - {file = "pytest-6.2.5-py3-none-any.whl", hash = "sha256:7310f8d27bc79ced999e760ca304d69f6ba6c6649c0b60fb0e04a4a77cacc134"}, - {file = "pytest-6.2.5.tar.gz", hash = "sha256:131b36680866a76e6781d13f101efb86cf674ebb9762eb70d3082b6f29889e89"}, + {file = "pytest-7.4.4-py3-none-any.whl", hash = "sha256:b090cdf5ed60bf4c45261be03239c2c1c22df034fbffe691abe93cd80cea01d8"}, + {file = "pytest-7.4.4.tar.gz", hash = "sha256:2cf0005922c6ace4a3e2ec8b4080eb0d9753fdc93107415332f50ce9e7994280"}, ] [package.dependencies] -atomicwrites = {version = ">=1.0", markers = "sys_platform == \"win32\""} -attrs = ">=19.2.0" colorama = {version = "*", markers = "sys_platform == \"win32\""} iniconfig = "*" packaging = "*" pluggy = ">=0.12,<2.0" -py = ">=1.8.2" -toml = "*" [package.extras] -testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] +testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] + +[[package]] +name = "pytest-insta" +version = "0.3.0" +description = "A practical snapshot testing plugin for pytest" +optional = false +python-versions = ">=3.10,<4.0" +files = [ + {file = "pytest_insta-0.3.0-py3-none-any.whl", hash = "sha256:93a105e3850f2887b120a581923b10bb313d722e00d369377a1d91aa535df704"}, + {file = "pytest_insta-0.3.0.tar.gz", hash = "sha256:9e6e1c70a021f68ccc4643360b2c2f8326cf3befba85f942c1da17b9caf713f7"}, +] + +[package.dependencies] +pytest = ">=7.2.0,<9.0.0" +wrapt = ">=1.14.1,<2.0.0" [[package]] name = "pytest-mock" -version = "3.12.0" +version = "3.14.0" description = "Thin-wrapper around the mock package for easier use with pytest" optional = false python-versions = ">=3.8" files = [ - {file = "pytest-mock-3.12.0.tar.gz", hash = "sha256:31a40f038c22cad32287bb43932054451ff5583ff094bca6f675df2f8bc1a6e9"}, - {file = "pytest_mock-3.12.0-py3-none-any.whl", hash = "sha256:0972719a7263072da3a21c7f4773069bcc7486027d7e8e1f81d98a47e701bc4f"}, + {file = "pytest-mock-3.14.0.tar.gz", hash = "sha256:2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0"}, + {file = "pytest_mock-3.14.0-py3-none-any.whl", hash = "sha256:0b72c38033392a5f4621342fe11e9219ac11ec9d375f8e2a0c164539e0d70f6f"}, ] [package.dependencies] -pytest = ">=5.0" +pytest = ">=6.2.5" [package.extras] dev = ["pre-commit", "pytest-asyncio", "tox"] @@ -739,17 +1382,6 @@ files = [ [package.dependencies] six = ">=1.5" -[[package]] -name = "pytzdata" -version = "2020.1" -description = "The Olson timezone database for Python." -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -files = [ - {file = "pytzdata-2020.1-py2.py3-none-any.whl", hash = "sha256:e1e14750bcf95016381e4d472bad004eef710f2d6417240904070b3d6654485f"}, - {file = "pytzdata-2020.1.tar.gz", hash = "sha256:3efa13b335a00a8de1d345ae41ec78dd11c9f8807f522d39850f2dd828681540"}, -] - [[package]] name = "pyyaml" version = "6.0.1" @@ -775,6 +1407,7 @@ files = [ {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, + {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"}, {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, @@ -862,57 +1495,35 @@ yaml = ["pyyaml (>=6.0.1)"] [[package]] name = "requests-mock" -version = "1.11.0" +version = "1.12.1" description = "Mock out responses from the requests package" optional = false -python-versions = "*" +python-versions = ">=3.5" files = [ - {file = "requests-mock-1.11.0.tar.gz", hash = "sha256:ef10b572b489a5f28e09b708697208c4a3b2b89ef80a9f01584340ea357ec3c4"}, - {file = "requests_mock-1.11.0-py2.py3-none-any.whl", hash = "sha256:f7fae383f228633f6bececebdab236c478ace2284d6292c6e7e2867b9ab74d15"}, + {file = "requests-mock-1.12.1.tar.gz", hash = "sha256:e9e12e333b525156e82a3c852f22016b9158220d2f47454de9cae8a77d371401"}, + {file = "requests_mock-1.12.1-py2.py3-none-any.whl", hash = "sha256:b1e37054004cdd5e56c84454cc7df12b25f90f382159087f4b6915aaeef39563"}, ] [package.dependencies] -requests = ">=2.3,<3" -six = "*" +requests = ">=2.22,<3" [package.extras] fixture = ["fixtures"] -test = ["fixtures", "mock", "purl", "pytest", "requests-futures", "sphinx", "testtools"] - -[[package]] -name = "responses" -version = "0.23.3" -description = "A utility library for mocking out the `requests` Python library." -optional = false -python-versions = ">=3.7" -files = [ - {file = "responses-0.23.3-py3-none-any.whl", hash = "sha256:e6fbcf5d82172fecc0aa1860fd91e58cbfd96cee5e96da5b63fa6eb3caa10dd3"}, - {file = "responses-0.23.3.tar.gz", hash = "sha256:205029e1cb334c21cb4ec64fc7599be48b859a0fd381a42443cdd600bfe8b16a"}, -] - -[package.dependencies] -pyyaml = "*" -requests = ">=2.30.0,<3.0" -types-PyYAML = "*" -urllib3 = ">=1.25.10,<3.0" - -[package.extras] -tests = ["coverage (>=6.0.0)", "flake8", "mypy", "pytest (>=7.0.0)", "pytest-asyncio", "pytest-cov", "pytest-httpserver", "tomli", "tomli-w", "types-requests"] [[package]] name = "setuptools" -version = "69.2.0" +version = "69.5.1" description = "Easily download, build, install, upgrade, and uninstall Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "setuptools-69.2.0-py3-none-any.whl", hash = "sha256:c21c49fb1042386df081cb5d86759792ab89efca84cf114889191cd09aacc80c"}, - {file = "setuptools-69.2.0.tar.gz", hash = "sha256:0ff4183f8f42cd8fa3acea16c45205521a4ef28f73c6391d8a25e92893134f2e"}, + {file = "setuptools-69.5.1-py3-none-any.whl", hash = "sha256:c636ac361bc47580504644275c9ad802c50415c7522212252c033bd15f301f32"}, + {file = "setuptools-69.5.1.tar.gz", hash = "sha256:6c1fccdac05a97e598fb0ae3bbed5904ccb317337a51139dcd51453611bbb987"}, ] [package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] -testing = ["build[virtualenv]", "filelock (>=3.4.0)", "importlib-metadata", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "mypy (==1.9)", "packaging (>=23.2)", "pip (>=19.1)", "pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff (>=0.2.1)", "pytest-timeout", "pytest-xdist (>=3)", "tomli", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] +testing = ["build[virtualenv]", "filelock (>=3.4.0)", "importlib-metadata", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "mypy (==1.9)", "packaging (>=23.2)", "pip (>=19.1)", "pytest (>=6,!=8.1.1)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy", "pytest-perf", "pytest-ruff (>=0.2.1)", "pytest-timeout", "pytest-xdist (>=3)", "tomli", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.2)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] [[package]] @@ -945,36 +1556,25 @@ files = [ ] [[package]] -name = "toml" -version = "0.10.2" -description = "Python Library for Tom's Obvious, Minimal Language" -optional = false -python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" -files = [ - {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, - {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, -] - -[[package]] -name = "types-pyyaml" -version = "6.0.12.20240311" -description = "Typing stubs for PyYAML" +name = "typing-extensions" +version = "4.11.0" +description = "Backported and Experimental Type Hints for Python 3.8+" optional = false python-versions = ">=3.8" files = [ - {file = "types-PyYAML-6.0.12.20240311.tar.gz", hash = "sha256:a9e0f0f88dc835739b0c1ca51ee90d04ca2a897a71af79de9aec5f38cb0a5342"}, - {file = "types_PyYAML-6.0.12.20240311-py3-none-any.whl", hash = "sha256:b845b06a1c7e54b8e5b4c683043de0d9caf205e7434b3edc678ff2411979b8f6"}, + {file = "typing_extensions-4.11.0-py3-none-any.whl", hash = "sha256:c1f94d72897edaf4ce775bb7558d5b79d8126906a14ea5ed1635921406c0387a"}, + {file = "typing_extensions-4.11.0.tar.gz", hash = "sha256:83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0"}, ] [[package]] -name = "typing-extensions" -version = "4.10.0" -description = "Backported and Experimental Type Hints for Python 3.8+" +name = "tzdata" +version = "2024.1" +description = "Provider of IANA time zone data" optional = false -python-versions = ">=3.8" +python-versions = ">=2" files = [ - {file = "typing_extensions-4.10.0-py3-none-any.whl", hash = "sha256:69b1a937c3a517342112fb4c6df7e72fc39a38e7891a5730ed4985b5214b5475"}, - {file = "typing_extensions-4.10.0.tar.gz", hash = "sha256:b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb"}, + {file = "tzdata-2024.1-py2.py3-none-any.whl", hash = "sha256:9068bc196136463f5245e51efda838afa15aaeca9903f49050dfa2679db4d252"}, + {file = "tzdata-2024.1.tar.gz", hash = "sha256:2674120f8d891909751c38abcdfd386ac0a5a1127954fbc332af6b5ceae07efd"}, ] [[package]] @@ -1101,7 +1701,227 @@ files = [ {file = "wrapt-1.16.0.tar.gz", hash = "sha256:5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d"}, ] +[[package]] +name = "xxhash" +version = "3.4.1" +description = "Python binding for xxHash" +optional = false +python-versions = ">=3.7" +files = [ + {file = "xxhash-3.4.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:91dbfa55346ad3e18e738742236554531a621042e419b70ad8f3c1d9c7a16e7f"}, + {file = "xxhash-3.4.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:665a65c2a48a72068fcc4d21721510df5f51f1142541c890491afc80451636d2"}, + {file = "xxhash-3.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb11628470a6004dc71a09fe90c2f459ff03d611376c1debeec2d648f44cb693"}, + {file = "xxhash-3.4.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5bef2a7dc7b4f4beb45a1edbba9b9194c60a43a89598a87f1a0226d183764189"}, + {file = "xxhash-3.4.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9c0f7b2d547d72c7eda7aa817acf8791f0146b12b9eba1d4432c531fb0352228"}, + {file = "xxhash-3.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:00f2fdef6b41c9db3d2fc0e7f94cb3db86693e5c45d6de09625caad9a469635b"}, + {file = "xxhash-3.4.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:23cfd9ca09acaf07a43e5a695143d9a21bf00f5b49b15c07d5388cadf1f9ce11"}, + {file = "xxhash-3.4.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:6a9ff50a3cf88355ca4731682c168049af1ca222d1d2925ef7119c1a78e95b3b"}, + {file = "xxhash-3.4.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:f1d7c69a1e9ca5faa75546fdd267f214f63f52f12692f9b3a2f6467c9e67d5e7"}, + {file = "xxhash-3.4.1-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:672b273040d5d5a6864a36287f3514efcd1d4b1b6a7480f294c4b1d1ee1b8de0"}, + {file = "xxhash-3.4.1-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:4178f78d70e88f1c4a89ff1ffe9f43147185930bb962ee3979dba15f2b1cc799"}, + {file = "xxhash-3.4.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:9804b9eb254d4b8cc83ab5a2002128f7d631dd427aa873c8727dba7f1f0d1c2b"}, + {file = "xxhash-3.4.1-cp310-cp310-win32.whl", hash = "sha256:c09c49473212d9c87261d22c74370457cfff5db2ddfc7fd1e35c80c31a8c14ce"}, + {file = "xxhash-3.4.1-cp310-cp310-win_amd64.whl", hash = "sha256:ebbb1616435b4a194ce3466d7247df23499475c7ed4eb2681a1fa42ff766aff6"}, + {file = "xxhash-3.4.1-cp310-cp310-win_arm64.whl", hash = "sha256:25dc66be3db54f8a2d136f695b00cfe88018e59ccff0f3b8f545869f376a8a46"}, + {file = "xxhash-3.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:58c49083801885273e262c0f5bbeac23e520564b8357fbb18fb94ff09d3d3ea5"}, + {file = "xxhash-3.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:b526015a973bfbe81e804a586b703f163861da36d186627e27524f5427b0d520"}, + {file = "xxhash-3.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:36ad4457644c91a966f6fe137d7467636bdc51a6ce10a1d04f365c70d6a16d7e"}, + {file = "xxhash-3.4.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:248d3e83d119770f96003271fe41e049dd4ae52da2feb8f832b7a20e791d2920"}, + {file = "xxhash-3.4.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2070b6d5bbef5ee031666cf21d4953c16e92c2f8a24a94b5c240f8995ba3b1d0"}, + {file = "xxhash-3.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b2746035f518f0410915e247877f7df43ef3372bf36cfa52cc4bc33e85242641"}, + {file = "xxhash-3.4.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2a8ba6181514681c2591840d5632fcf7356ab287d4aff1c8dea20f3c78097088"}, + {file = "xxhash-3.4.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:0aac5010869240e95f740de43cd6a05eae180c59edd182ad93bf12ee289484fa"}, + {file = "xxhash-3.4.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:4cb11d8debab1626181633d184b2372aaa09825bde709bf927704ed72765bed1"}, + {file = "xxhash-3.4.1-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:b29728cff2c12f3d9f1d940528ee83918d803c0567866e062683f300d1d2eff3"}, + {file = "xxhash-3.4.1-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:a15cbf3a9c40672523bdb6ea97ff74b443406ba0ab9bca10ceccd9546414bd84"}, + {file = "xxhash-3.4.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:6e66df260fed01ed8ea790c2913271641c58481e807790d9fca8bfd5a3c13844"}, + {file = "xxhash-3.4.1-cp311-cp311-win32.whl", hash = "sha256:e867f68a8f381ea12858e6d67378c05359d3a53a888913b5f7d35fbf68939d5f"}, + {file = "xxhash-3.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:200a5a3ad9c7c0c02ed1484a1d838b63edcf92ff538770ea07456a3732c577f4"}, + {file = "xxhash-3.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:1d03f1c0d16d24ea032e99f61c552cb2b77d502e545187338bea461fde253583"}, + {file = "xxhash-3.4.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c4bbba9b182697a52bc0c9f8ec0ba1acb914b4937cd4a877ad78a3b3eeabefb3"}, + {file = "xxhash-3.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:9fd28a9da300e64e434cfc96567a8387d9a96e824a9be1452a1e7248b7763b78"}, + {file = "xxhash-3.4.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6066d88c9329ab230e18998daec53d819daeee99d003955c8db6fc4971b45ca3"}, + {file = "xxhash-3.4.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:93805bc3233ad89abf51772f2ed3355097a5dc74e6080de19706fc447da99cd3"}, + {file = "xxhash-3.4.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:64da57d5ed586ebb2ecdde1e997fa37c27fe32fe61a656b77fabbc58e6fbff6e"}, + {file = "xxhash-3.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a97322e9a7440bf3c9805cbaac090358b43f650516486746f7fa482672593df"}, + {file = "xxhash-3.4.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bbe750d512982ee7d831838a5dee9e9848f3fb440e4734cca3f298228cc957a6"}, + {file = "xxhash-3.4.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:fd79d4087727daf4d5b8afe594b37d611ab95dc8e29fe1a7517320794837eb7d"}, + {file = "xxhash-3.4.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:743612da4071ff9aa4d055f3f111ae5247342931dedb955268954ef7201a71ff"}, + {file = "xxhash-3.4.1-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:b41edaf05734092f24f48c0958b3c6cbaaa5b7e024880692078c6b1f8247e2fc"}, + {file = "xxhash-3.4.1-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:a90356ead70d715fe64c30cd0969072de1860e56b78adf7c69d954b43e29d9fa"}, + {file = "xxhash-3.4.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:ac56eebb364e44c85e1d9e9cc5f6031d78a34f0092fea7fc80478139369a8b4a"}, + {file = "xxhash-3.4.1-cp312-cp312-win32.whl", hash = "sha256:911035345932a153c427107397c1518f8ce456f93c618dd1c5b54ebb22e73747"}, + {file = "xxhash-3.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:f31ce76489f8601cc7b8713201ce94b4bd7b7ce90ba3353dccce7e9e1fee71fa"}, + {file = "xxhash-3.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:b5beb1c6a72fdc7584102f42c4d9df232ee018ddf806e8c90906547dfb43b2da"}, + {file = "xxhash-3.4.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:6d42b24d1496deb05dee5a24ed510b16de1d6c866c626c2beb11aebf3be278b9"}, + {file = "xxhash-3.4.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3b685fab18876b14a8f94813fa2ca80cfb5ab6a85d31d5539b7cd749ce9e3624"}, + {file = "xxhash-3.4.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:419ffe34c17ae2df019a4685e8d3934d46b2e0bbe46221ab40b7e04ed9f11137"}, + {file = "xxhash-3.4.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0e041ce5714f95251a88670c114b748bca3bf80cc72400e9f23e6d0d59cf2681"}, + {file = "xxhash-3.4.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc860d887c5cb2f524899fb8338e1bb3d5789f75fac179101920d9afddef284b"}, + {file = "xxhash-3.4.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:312eba88ffe0a05e332e3a6f9788b73883752be63f8588a6dc1261a3eaaaf2b2"}, + {file = "xxhash-3.4.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:e01226b6b6a1ffe4e6bd6d08cfcb3ca708b16f02eb06dd44f3c6e53285f03e4f"}, + {file = "xxhash-3.4.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:9f3025a0d5d8cf406a9313cd0d5789c77433ba2004b1c75439b67678e5136537"}, + {file = "xxhash-3.4.1-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:6d3472fd4afef2a567d5f14411d94060099901cd8ce9788b22b8c6f13c606a93"}, + {file = "xxhash-3.4.1-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:43984c0a92f06cac434ad181f329a1445017c33807b7ae4f033878d860a4b0f2"}, + {file = "xxhash-3.4.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:a55e0506fdb09640a82ec4f44171273eeabf6f371a4ec605633adb2837b5d9d5"}, + {file = "xxhash-3.4.1-cp37-cp37m-win32.whl", hash = "sha256:faec30437919555b039a8bdbaba49c013043e8f76c999670aef146d33e05b3a0"}, + {file = "xxhash-3.4.1-cp37-cp37m-win_amd64.whl", hash = "sha256:c9e1b646af61f1fc7083bb7b40536be944f1ac67ef5e360bca2d73430186971a"}, + {file = "xxhash-3.4.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:961d948b7b1c1b6c08484bbce3d489cdf153e4122c3dfb07c2039621243d8795"}, + {file = "xxhash-3.4.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:719a378930504ab159f7b8e20fa2aa1896cde050011af838af7e7e3518dd82de"}, + {file = "xxhash-3.4.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:74fb5cb9406ccd7c4dd917f16630d2e5e8cbbb02fc2fca4e559b2a47a64f4940"}, + {file = "xxhash-3.4.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5dab508ac39e0ab988039bc7f962c6ad021acd81fd29145962b068df4148c476"}, + {file = "xxhash-3.4.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8c59f3e46e7daf4c589e8e853d700ef6607afa037bfad32c390175da28127e8c"}, + {file = "xxhash-3.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8cc07256eff0795e0f642df74ad096f8c5d23fe66bc138b83970b50fc7f7f6c5"}, + {file = "xxhash-3.4.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e9f749999ed80f3955a4af0eb18bb43993f04939350b07b8dd2f44edc98ffee9"}, + {file = "xxhash-3.4.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:7688d7c02149a90a3d46d55b341ab7ad1b4a3f767be2357e211b4e893efbaaf6"}, + {file = "xxhash-3.4.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a8b4977963926f60b0d4f830941c864bed16aa151206c01ad5c531636da5708e"}, + {file = "xxhash-3.4.1-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:8106d88da330f6535a58a8195aa463ef5281a9aa23b04af1848ff715c4398fb4"}, + {file = "xxhash-3.4.1-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:4c76a77dbd169450b61c06fd2d5d436189fc8ab7c1571d39265d4822da16df22"}, + {file = "xxhash-3.4.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:11f11357c86d83e53719c592021fd524efa9cf024dc7cb1dfb57bbbd0d8713f2"}, + {file = "xxhash-3.4.1-cp38-cp38-win32.whl", hash = "sha256:0c786a6cd74e8765c6809892a0d45886e7c3dc54de4985b4a5eb8b630f3b8e3b"}, + {file = "xxhash-3.4.1-cp38-cp38-win_amd64.whl", hash = "sha256:aabf37fb8fa27430d50507deeab2ee7b1bcce89910dd10657c38e71fee835594"}, + {file = "xxhash-3.4.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:6127813abc1477f3a83529b6bbcfeddc23162cece76fa69aee8f6a8a97720562"}, + {file = "xxhash-3.4.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ef2e194262f5db16075caea7b3f7f49392242c688412f386d3c7b07c7733a70a"}, + {file = "xxhash-3.4.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:71be94265b6c6590f0018bbf73759d21a41c6bda20409782d8117e76cd0dfa8b"}, + {file = "xxhash-3.4.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:10e0a619cdd1c0980e25eb04e30fe96cf8f4324758fa497080af9c21a6de573f"}, + {file = "xxhash-3.4.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fa122124d2e3bd36581dd78c0efa5f429f5220313479fb1072858188bc2d5ff1"}, + {file = "xxhash-3.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e17032f5a4fea0a074717fe33477cb5ee723a5f428de7563e75af64bfc1b1e10"}, + {file = "xxhash-3.4.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ca7783b20e3e4f3f52f093538895863f21d18598f9a48211ad757680c3bd006f"}, + {file = "xxhash-3.4.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:d77d09a1113899fad5f354a1eb4f0a9afcf58cefff51082c8ad643ff890e30cf"}, + {file = "xxhash-3.4.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:21287bcdd299fdc3328cc0fbbdeaa46838a1c05391264e51ddb38a3f5b09611f"}, + {file = "xxhash-3.4.1-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:dfd7a6cc483e20b4ad90224aeb589e64ec0f31e5610ab9957ff4314270b2bf31"}, + {file = "xxhash-3.4.1-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:543c7fcbc02bbb4840ea9915134e14dc3dc15cbd5a30873a7a5bf66039db97ec"}, + {file = "xxhash-3.4.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:fe0a98d990e433013f41827b62be9ab43e3cf18e08b1483fcc343bda0d691182"}, + {file = "xxhash-3.4.1-cp39-cp39-win32.whl", hash = "sha256:b9097af00ebf429cc7c0e7d2fdf28384e4e2e91008130ccda8d5ae653db71e54"}, + {file = "xxhash-3.4.1-cp39-cp39-win_amd64.whl", hash = "sha256:d699b921af0dcde50ab18be76c0d832f803034d80470703700cb7df0fbec2832"}, + {file = "xxhash-3.4.1-cp39-cp39-win_arm64.whl", hash = "sha256:2be491723405e15cc099ade1280133ccfbf6322d2ef568494fb7d07d280e7eee"}, + {file = "xxhash-3.4.1-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:431625fad7ab5649368c4849d2b49a83dc711b1f20e1f7f04955aab86cd307bc"}, + {file = "xxhash-3.4.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fc6dbd5fc3c9886a9e041848508b7fb65fd82f94cc793253990f81617b61fe49"}, + {file = "xxhash-3.4.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f3ff8dbd0ec97aec842476cb8ccc3e17dd288cd6ce3c8ef38bff83d6eb927817"}, + {file = "xxhash-3.4.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ef73a53fe90558a4096e3256752268a8bdc0322f4692ed928b6cd7ce06ad4fe3"}, + {file = "xxhash-3.4.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:450401f42bbd274b519d3d8dcf3c57166913381a3d2664d6609004685039f9d3"}, + {file = "xxhash-3.4.1-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:a162840cf4de8a7cd8720ff3b4417fbc10001eefdd2d21541a8226bb5556e3bb"}, + {file = "xxhash-3.4.1-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b736a2a2728ba45017cb67785e03125a79d246462dfa892d023b827007412c52"}, + {file = "xxhash-3.4.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1d0ae4c2e7698adef58710d6e7a32ff518b66b98854b1c68e70eee504ad061d8"}, + {file = "xxhash-3.4.1-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d6322c4291c3ff174dcd104fae41500e75dad12be6f3085d119c2c8a80956c51"}, + {file = "xxhash-3.4.1-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:dd59ed668801c3fae282f8f4edadf6dc7784db6d18139b584b6d9677ddde1b6b"}, + {file = "xxhash-3.4.1-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:92693c487e39523a80474b0394645b393f0ae781d8db3474ccdcead0559ccf45"}, + {file = "xxhash-3.4.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4603a0f642a1e8d7f3ba5c4c25509aca6a9c1cc16f85091004a7028607ead663"}, + {file = "xxhash-3.4.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6fa45e8cbfbadb40a920fe9ca40c34b393e0b067082d94006f7f64e70c7490a6"}, + {file = "xxhash-3.4.1-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:595b252943b3552de491ff51e5bb79660f84f033977f88f6ca1605846637b7c6"}, + {file = "xxhash-3.4.1-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:562d8b8f783c6af969806aaacf95b6c7b776929ae26c0cd941d54644ea7ef51e"}, + {file = "xxhash-3.4.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:41ddeae47cf2828335d8d991f2d2b03b0bdc89289dc64349d712ff8ce59d0647"}, + {file = "xxhash-3.4.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c44d584afdf3c4dbb3277e32321d1a7b01d6071c1992524b6543025fb8f4206f"}, + {file = "xxhash-3.4.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd7bddb3a5b86213cc3f2c61500c16945a1b80ecd572f3078ddbbe68f9dabdfb"}, + {file = "xxhash-3.4.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9ecb6c987b62437c2f99c01e97caf8d25660bf541fe79a481d05732e5236719c"}, + {file = "xxhash-3.4.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:696b4e18b7023527d5c50ed0626ac0520edac45a50ec7cf3fc265cd08b1f4c03"}, + {file = "xxhash-3.4.1.tar.gz", hash = "sha256:0379d6cf1ff987cd421609a264ce025e74f346e3e145dd106c0cc2e3ec3f99a9"}, +] + +[[package]] +name = "yarl" +version = "1.9.4" +description = "Yet another URL library" +optional = false +python-versions = ">=3.7" +files = [ + {file = "yarl-1.9.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a8c1df72eb746f4136fe9a2e72b0c9dc1da1cbd23b5372f94b5820ff8ae30e0e"}, + {file = "yarl-1.9.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a3a6ed1d525bfb91b3fc9b690c5a21bb52de28c018530ad85093cc488bee2dd2"}, + {file = "yarl-1.9.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c38c9ddb6103ceae4e4498f9c08fac9b590c5c71b0370f98714768e22ac6fa66"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d9e09c9d74f4566e905a0b8fa668c58109f7624db96a2171f21747abc7524234"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b8477c1ee4bd47c57d49621a062121c3023609f7a13b8a46953eb6c9716ca392"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d5ff2c858f5f6a42c2a8e751100f237c5e869cbde669a724f2062d4c4ef93551"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:357495293086c5b6d34ca9616a43d329317feab7917518bc97a08f9e55648455"}, + {file = "yarl-1.9.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:54525ae423d7b7a8ee81ba189f131054defdb122cde31ff17477951464c1691c"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:801e9264d19643548651b9db361ce3287176671fb0117f96b5ac0ee1c3530d53"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e516dc8baf7b380e6c1c26792610230f37147bb754d6426462ab115a02944385"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:7d5aaac37d19b2904bb9dfe12cdb08c8443e7ba7d2852894ad448d4b8f442863"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:54beabb809ffcacbd9d28ac57b0db46e42a6e341a030293fb3185c409e626b8b"}, + {file = "yarl-1.9.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bac8d525a8dbc2a1507ec731d2867025d11ceadcb4dd421423a5d42c56818541"}, + {file = "yarl-1.9.4-cp310-cp310-win32.whl", hash = "sha256:7855426dfbddac81896b6e533ebefc0af2f132d4a47340cee6d22cac7190022d"}, + {file = "yarl-1.9.4-cp310-cp310-win_amd64.whl", hash = "sha256:848cd2a1df56ddbffeb375535fb62c9d1645dde33ca4d51341378b3f5954429b"}, + {file = "yarl-1.9.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:35a2b9396879ce32754bd457d31a51ff0a9d426fd9e0e3c33394bf4b9036b099"}, + {file = "yarl-1.9.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4c7d56b293cc071e82532f70adcbd8b61909eec973ae9d2d1f9b233f3d943f2c"}, + {file = "yarl-1.9.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d8a1c6c0be645c745a081c192e747c5de06e944a0d21245f4cf7c05e457c36e0"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4b3c1ffe10069f655ea2d731808e76e0f452fc6c749bea04781daf18e6039525"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:549d19c84c55d11687ddbd47eeb348a89df9cb30e1993f1b128f4685cd0ebbf8"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a7409f968456111140c1c95301cadf071bd30a81cbd7ab829169fb9e3d72eae9"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e23a6d84d9d1738dbc6e38167776107e63307dfc8ad108e580548d1f2c587f42"}, + {file = "yarl-1.9.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d8b889777de69897406c9fb0b76cdf2fd0f31267861ae7501d93003d55f54fbe"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:03caa9507d3d3c83bca08650678e25364e1843b484f19986a527630ca376ecce"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:4e9035df8d0880b2f1c7f5031f33f69e071dfe72ee9310cfc76f7b605958ceb9"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:c0ec0ed476f77db9fb29bca17f0a8fcc7bc97ad4c6c1d8959c507decb22e8572"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:ee04010f26d5102399bd17f8df8bc38dc7ccd7701dc77f4a68c5b8d733406958"}, + {file = "yarl-1.9.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:49a180c2e0743d5d6e0b4d1a9e5f633c62eca3f8a86ba5dd3c471060e352ca98"}, + {file = "yarl-1.9.4-cp311-cp311-win32.whl", hash = "sha256:81eb57278deb6098a5b62e88ad8281b2ba09f2f1147c4767522353eaa6260b31"}, + {file = "yarl-1.9.4-cp311-cp311-win_amd64.whl", hash = "sha256:d1d2532b340b692880261c15aee4dc94dd22ca5d61b9db9a8a361953d36410b1"}, + {file = "yarl-1.9.4-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0d2454f0aef65ea81037759be5ca9947539667eecebca092733b2eb43c965a81"}, + {file = "yarl-1.9.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:44d8ffbb9c06e5a7f529f38f53eda23e50d1ed33c6c869e01481d3fafa6b8142"}, + {file = "yarl-1.9.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:aaaea1e536f98754a6e5c56091baa1b6ce2f2700cc4a00b0d49eca8dea471074"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3777ce5536d17989c91696db1d459574e9a9bd37660ea7ee4d3344579bb6f129"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9fc5fc1eeb029757349ad26bbc5880557389a03fa6ada41703db5e068881e5f2"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ea65804b5dc88dacd4a40279af0cdadcfe74b3e5b4c897aa0d81cf86927fee78"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aa102d6d280a5455ad6a0f9e6d769989638718e938a6a0a2ff3f4a7ff8c62cc4"}, + {file = "yarl-1.9.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:09efe4615ada057ba2d30df871d2f668af661e971dfeedf0c159927d48bbeff0"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:008d3e808d03ef28542372d01057fd09168419cdc8f848efe2804f894ae03e51"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:6f5cb257bc2ec58f437da2b37a8cd48f666db96d47b8a3115c29f316313654ff"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:992f18e0ea248ee03b5a6e8b3b4738850ae7dbb172cc41c966462801cbf62cf7"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:0e9d124c191d5b881060a9e5060627694c3bdd1fe24c5eecc8d5d7d0eb6faabc"}, + {file = "yarl-1.9.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3986b6f41ad22988e53d5778f91855dc0399b043fc8946d4f2e68af22ee9ff10"}, + {file = "yarl-1.9.4-cp312-cp312-win32.whl", hash = "sha256:4b21516d181cd77ebd06ce160ef8cc2a5e9ad35fb1c5930882baff5ac865eee7"}, + {file = "yarl-1.9.4-cp312-cp312-win_amd64.whl", hash = "sha256:a9bd00dc3bc395a662900f33f74feb3e757429e545d831eef5bb280252631984"}, + {file = "yarl-1.9.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:63b20738b5aac74e239622d2fe30df4fca4942a86e31bf47a81a0e94c14df94f"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7d7f7de27b8944f1fee2c26a88b4dabc2409d2fea7a9ed3df79b67277644e17"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c74018551e31269d56fab81a728f683667e7c28c04e807ba08f8c9e3bba32f14"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ca06675212f94e7a610e85ca36948bb8fc023e458dd6c63ef71abfd482481aa5"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5aef935237d60a51a62b86249839b51345f47564208c6ee615ed2a40878dccdd"}, + {file = "yarl-1.9.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2b134fd795e2322b7684155b7855cc99409d10b2e408056db2b93b51a52accc7"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:d25039a474c4c72a5ad4b52495056f843a7ff07b632c1b92ea9043a3d9950f6e"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:f7d6b36dd2e029b6bcb8a13cf19664c7b8e19ab3a58e0fefbb5b8461447ed5ec"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:957b4774373cf6f709359e5c8c4a0af9f6d7875db657adb0feaf8d6cb3c3964c"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:d7eeb6d22331e2fd42fce928a81c697c9ee2d51400bd1a28803965883e13cead"}, + {file = "yarl-1.9.4-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:6a962e04b8f91f8c4e5917e518d17958e3bdee71fd1d8b88cdce74dd0ebbf434"}, + {file = "yarl-1.9.4-cp37-cp37m-win32.whl", hash = "sha256:f3bc6af6e2b8f92eced34ef6a96ffb248e863af20ef4fde9448cc8c9b858b749"}, + {file = "yarl-1.9.4-cp37-cp37m-win_amd64.whl", hash = "sha256:ad4d7a90a92e528aadf4965d685c17dacff3df282db1121136c382dc0b6014d2"}, + {file = "yarl-1.9.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:ec61d826d80fc293ed46c9dd26995921e3a82146feacd952ef0757236fc137be"}, + {file = "yarl-1.9.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:8be9e837ea9113676e5754b43b940b50cce76d9ed7d2461df1af39a8ee674d9f"}, + {file = "yarl-1.9.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:bef596fdaa8f26e3d66af846bbe77057237cb6e8efff8cd7cc8dff9a62278bbf"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2d47552b6e52c3319fede1b60b3de120fe83bde9b7bddad11a69fb0af7db32f1"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:84fc30f71689d7fc9168b92788abc977dc8cefa806909565fc2951d02f6b7d57"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4aa9741085f635934f3a2583e16fcf62ba835719a8b2b28fb2917bb0537c1dfa"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:206a55215e6d05dbc6c98ce598a59e6fbd0c493e2de4ea6cc2f4934d5a18d130"}, + {file = "yarl-1.9.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:07574b007ee20e5c375a8fe4a0789fad26db905f9813be0f9fef5a68080de559"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:5a2e2433eb9344a163aced6a5f6c9222c0786e5a9e9cac2c89f0b28433f56e23"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:6ad6d10ed9b67a382b45f29ea028f92d25bc0bc1daf6c5b801b90b5aa70fb9ec"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:6fe79f998a4052d79e1c30eeb7d6c1c1056ad33300f682465e1b4e9b5a188b78"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:a825ec844298c791fd28ed14ed1bffc56a98d15b8c58a20e0e08c1f5f2bea1be"}, + {file = "yarl-1.9.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8619d6915b3b0b34420cf9b2bb6d81ef59d984cb0fde7544e9ece32b4b3043c3"}, + {file = "yarl-1.9.4-cp38-cp38-win32.whl", hash = "sha256:686a0c2f85f83463272ddffd4deb5e591c98aac1897d65e92319f729c320eece"}, + {file = "yarl-1.9.4-cp38-cp38-win_amd64.whl", hash = "sha256:a00862fb23195b6b8322f7d781b0dc1d82cb3bcac346d1e38689370cc1cc398b"}, + {file = "yarl-1.9.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:604f31d97fa493083ea21bd9b92c419012531c4e17ea6da0f65cacdcf5d0bd27"}, + {file = "yarl-1.9.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:8a854227cf581330ffa2c4824d96e52ee621dd571078a252c25e3a3b3d94a1b1"}, + {file = "yarl-1.9.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ba6f52cbc7809cd8d74604cce9c14868306ae4aa0282016b641c661f981a6e91"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a6327976c7c2f4ee6816eff196e25385ccc02cb81427952414a64811037bbc8b"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8397a3817d7dcdd14bb266283cd1d6fc7264a48c186b986f32e86d86d35fbac5"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e0381b4ce23ff92f8170080c97678040fc5b08da85e9e292292aba67fdac6c34"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:23d32a2594cb5d565d358a92e151315d1b2268bc10f4610d098f96b147370136"}, + {file = "yarl-1.9.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ddb2a5c08a4eaaba605340fdee8fc08e406c56617566d9643ad8bf6852778fc7"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:26a1dc6285e03f3cc9e839a2da83bcbf31dcb0d004c72d0730e755b33466c30e"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:18580f672e44ce1238b82f7fb87d727c4a131f3a9d33a5e0e82b793362bf18b4"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:29e0f83f37610f173eb7e7b5562dd71467993495e568e708d99e9d1944f561ec"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:1f23e4fe1e8794f74b6027d7cf19dc25f8b63af1483d91d595d4a07eca1fb26c"}, + {file = "yarl-1.9.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:db8e58b9d79200c76956cefd14d5c90af54416ff5353c5bfd7cbe58818e26ef0"}, + {file = "yarl-1.9.4-cp39-cp39-win32.whl", hash = "sha256:c7224cab95645c7ab53791022ae77a4509472613e839dab722a72abe5a684575"}, + {file = "yarl-1.9.4-cp39-cp39-win_amd64.whl", hash = "sha256:824d6c50492add5da9374875ce72db7a0733b29c2394890aef23d533106e2b15"}, + {file = "yarl-1.9.4-py3-none-any.whl", hash = "sha256:928cecb0ef9d5a7946eb6ff58417ad2fe9375762382f1bf5c55e61645f2c43ad"}, + {file = "yarl-1.9.4.tar.gz", hash = "sha256:566db86717cf8080b99b58b083b773a908ae40f06681e87e589a976faf8246bf"}, +] + +[package.dependencies] +idna = ">=2.0" +multidict = ">=4.0" + [metadata] lock-version = "2.0" -python-versions = "^3.9,<3.12" -content-hash = "1956fa861a3b061f4c5b4a84025ece587c69e0bada8df463e286cce19d696e7a" +python-versions = "^3.12" +content-hash = "dedb681fe5d3ad31b8956e600d26d8980d8337db03537be142eaec1b305d594a" diff --git a/source-github/pyproject.toml b/source-github/pyproject.toml index 4b56030453..5fafd71bd3 100644 --- a/source-github/pyproject.toml +++ b/source-github/pyproject.toml @@ -1,31 +1,25 @@ -[build-system] -requires = [ "poetry-core>=1.0.0",] -build-backend = "poetry.core.masonry.api" - [tool.poetry] -version = "1.7.1" name = "source-github" -description = "Source implementation for GitHub." -authors = [ "Airbyte ",] -license = "MIT" -readme = "README.md" -documentation = "https://docs.airbyte.com/integrations/sources/github" -homepage = "https://airbyte.com" -repository = "https://github.com/airbytehq/airbyte" -[[tool.poetry.packages]] -include = "source_github" +version = "0.1.0" +description = "" +authors = ["Luishfs "] [tool.poetry.dependencies] -python = "^3.9,<3.12" -airbyte-cdk = "^0" +airbyte-cdk = "^0.52" +estuary-cdk = {path="../estuary-cdk", develop = true} +pydantic = "==1.10.14" +python = "^3.12" sgqlc = "==16.3" -[tool.poetry.scripts] -source-github = "source_github.run:run" - [tool.poetry.group.dev.dependencies] -requests-mock = "^1.9.3" -freezegun = "^1.2" -pytest-mock = "^3.6.1" -pytest = "^6.2" -responses = "^0.23.1" +debugpy = "^1.8.0" +mypy = "^1.8.0" +pytest = "^7.4.3" +pytest-insta = "^0.3.0" +requests-mock = "^1.11.0" +pytest-mock = "^3.12.0" +mock = "^5.1.0" + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" diff --git a/source-github/source_github/__main__.py b/source-github/source_github/__main__.py new file mode 100644 index 0000000000..39a4e6f443 --- /dev/null +++ b/source-github/source_github/__main__.py @@ -0,0 +1,31 @@ +import estuary_cdk.pydantic_polyfill # Must be first. + +import asyncio +import urllib +from estuary_cdk import shim_airbyte_cdk, flow +from source_github import SourceGithub + + +asyncio.run( + shim_airbyte_cdk.CaptureShim( + delegate=SourceGithub(), + oauth2=flow.OAuth2Spec( + provider="github", + authUrlTemplate=( + "https://github.com/login/oauth/authorize?client_id={{#urlencode}}{{{ client_id }}}{{/urlencode}}" + r"&redirect_uri={{#urlencode}}{{{ redirect_uri }}}{{/urlencode}}" + r"&scope=repo%20read:org%20read:repo_hook%20read:user%20read:discussion%20workflow" + r"&state={{#urlencode}}{{{ state }}}{{/urlencode}}" + ), + accessTokenUrlTemplate="https://github.com/login/oauth/access_token", + accessTokenHeaders={"Accept": "application/json"}, + accessTokenBody=( + "{\"client_id\": \"{{{ client_id }}}\", \"client_secret\": \"{{{ client_secret }}}\", \"redirect_uri\": \"{{{ redirect_uri }}}\", \"code\": \"{{{ code }}}\"}" + ), + accessTokenResponseMap={ + "access_token": "/access_token" + }, + ), + schema_inference=True, + ).serve() +) \ No newline at end of file diff --git a/source-github/source_github/schemas/assignees.json b/source-github/source_github/schemas/assignees.json index e986f61d93..2bdf61e300 100644 --- a/source-github/source_github/schemas/assignees.json +++ b/source-github/source_github/schemas/assignees.json @@ -1,63 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, - "login": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "avatar_url": { - "type": ["null", "string"] - }, - "gravatar_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "followers_url": { - "type": ["null", "string"] - }, - "following_url": { - "type": ["null", "string"] - }, - "gists_url": { - "type": ["null", "string"] - }, - "starred_url": { - "type": ["null", "string"] - }, - "subscriptions_url": { - "type": ["null", "string"] - }, - "organizations_url": { - "type": ["null", "string"] - }, - "repos_url": { - "type": ["null", "string"] - }, - "events_url": { - "type": ["null", "string"] - }, - "received_events_url": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "site_admin": { - "type": ["null", "boolean"] + "type": "integer" } } } diff --git a/source-github/source_github/schemas/branches.json b/source-github/source_github/schemas/branches.json index f8eb185d30..689bb4bf06 100644 --- a/source-github/source_github/schemas/branches.json +++ b/source-github/source_github/schemas/branches.json @@ -1,65 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["name"], "properties": { - "repository": { - "type": "string" - }, "name": { - "type": ["null", "string"] - }, - "commit": { - "type": ["null", "object"], - "properties": { - "sha": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - } - } - }, - "protected": { - "type": ["null", "boolean"] - }, - "protection": { - "type": ["null", "object"], - "properties": { - "enabled": { - "type": ["null", "boolean"] - }, - "required_status_checks": { - "type": ["null", "object"], - "properties": { - "enforcement_level": { - "type": ["null", "string"] - }, - "contexts": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "checks": { - "type": ["null", "array"], - "items": { - "type": "object", - "properties": { - "context": { - "type": ["null", "string"] - }, - "app_id": { - "type": ["null", "integer"] - } - } - } - } - } - } - } - }, - "protection_url": { - "type": ["null", "string"] + "type": "string" } } } diff --git a/source-github/source_github/schemas/collaborators.json b/source-github/source_github/schemas/collaborators.json index 97949b9cb8..2bdf61e300 100644 --- a/source-github/source_github/schemas/collaborators.json +++ b/source-github/source_github/schemas/collaborators.json @@ -1,86 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, - "login": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "avatar_url": { - "type": ["null", "string"] - }, - "gravatar_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "followers_url": { - "type": ["null", "string"] - }, - "following_url": { - "type": ["null", "string"] - }, - "gists_url": { - "type": ["null", "string"] - }, - "starred_url": { - "type": ["null", "string"] - }, - "subscriptions_url": { - "type": ["null", "string"] - }, - "organizations_url": { - "type": ["null", "string"] - }, - "repos_url": { - "type": ["null", "string"] - }, - "events_url": { - "type": ["null", "string"] - }, - "received_events_url": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "site_admin": { - "type": ["null", "boolean"] - }, - "role_name": { - "type": ["null", "string"] - }, - "permissions": { - "type": ["null", "object"], - "properties": { - "admin": { - "type": ["null", "boolean"] - }, - "maintain": { - "type": ["null", "boolean"] - }, - "push": { - "type": ["null", "boolean"] - }, - "pull": { - "type": ["null", "boolean"] - }, - "triage": { - "type": ["null", "boolean"] - } - } + "type": "integer" } } } diff --git a/source-github/source_github/schemas/comments.json b/source-github/source_github/schemas/comments.json index 30290acae3..2bdf61e300 100644 --- a/source-github/source_github/schemas/comments.json +++ b/source-github/source_github/schemas/comments.json @@ -1,104 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "user": { - "$ref": "user.json" - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "body": { - "type": ["null", "string"] - }, - "user_id": { - "type": ["null", "integer"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "issue_url": { - "type": ["null", "string"] - }, - "author_association": { - "type": ["null", "string"] - }, - "reactions": { - "$ref": "reactions.json" - }, - "performed_via_github_app": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "integer"] - }, - "slug": { - "type": ["null", "string"] - }, - "node_id": { - "type": ["null", "string"] - }, - "owner": { - "$ref": "user.json" - }, - "name": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "external_url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "permissions": { - "type": "object", - "properties": { - "issues": { - "type": ["null", "string"] - }, - "metadata": { - "type": ["null", "string"] - }, - "pull_requests": { - "type": ["null", "string"] - } - } - }, - "events": { - "type": "array", - "items": { - "type": ["null", "string"] - } - } - } + "type": "integer" } } } diff --git a/source-github/source_github/schemas/commit_comments.json b/source-github/source_github/schemas/commit_comments.json index a460e60a85..2bdf61e300 100644 --- a/source-github/source_github/schemas/commit_comments.json +++ b/source-github/source_github/schemas/commit_comments.json @@ -1,53 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, - "html_url": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "body": { - "type": ["null", "string"] - }, - "path": { - "type": ["null", "string"] - }, - "position": { - "type": ["null", "integer"] - }, - "line": { - "type": ["null", "integer"] - }, - "commit_id": { - "type": ["null", "string"] - }, - "user": { - "$ref": "user.json" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "author_association": { - "type": ["null", "string"] - }, - "reactions": { - "$ref": "reactions.json" + "type": "integer" } } } diff --git a/source-github/source_github/schemas/commits.json b/source-github/source_github/schemas/commits.json index d0016fdc34..a960f9106f 100644 --- a/source-github/source_github/schemas/commits.json +++ b/source-github/source_github/schemas/commits.json @@ -1,126 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["sha"], "properties": { - "repository": { - "type": "string" - }, - "branch": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "url": { - "type": ["null", "string"] - }, "sha": { - "type": ["null", "string"] - }, - "node_id": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "comments_url": { - "type": ["null", "string"] - }, - "commit": { - "type": ["null", "object"], - "properties": { - "author": { - "type": ["null", "object"], - "properties": { - "name": { - "type": ["null", "string"] - }, - "email": { - "type": ["null", "string"] - }, - "date": { - "type": "string", - "format": "date-time" - } - } - }, - "committer": { - "type": ["null", "object"], - "properties": { - "name": { - "type": ["null", "string"] - }, - "email": { - "type": ["null", "string"] - }, - "date": { - "type": "string", - "format": "date-time" - } - } - }, - "message": { - "type": ["null", "string"] - }, - "tree": { - "type": ["null", "object"], - "properties": { - "sha": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - } - } - }, - "url": { - "type": ["null", "string"] - }, - "comment_count": { - "type": ["null", "integer"] - }, - "verification": { - "type": ["null", "object"], - "properties": { - "verified": { - "type": ["null", "boolean"] - }, - "reason": { - "type": ["null", "string"] - }, - "signature": { - "type": ["null", "string"] - }, - "payload": { - "type": ["null", "string"] - } - } - } - } - }, - "author": { - "$ref": "user.json" - }, - "committer": { - "$ref": "user.json" - }, - "parents": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "sha": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - } + "type": "string" } } } diff --git a/source-github/source_github/schemas/contributor_activity.json b/source-github/source_github/schemas/contributor_activity.json index 43bbe08efe..961f63be53 100644 --- a/source-github/source_github/schemas/contributor_activity.json +++ b/source-github/source_github/schemas/contributor_activity.json @@ -2,108 +2,10 @@ "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", "title": "Contributor Activity", + "required": ["id"], "properties": { - "name": { - "type": ["null", "string"] - }, - "email": { - "type": ["string", "null"] - }, - "login": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "avatar_url": { - "type": ["null", "string"], - "format": "uri" - }, - "gravatar_id": { - "type": ["string", "null"] - }, - "url": { - "type": ["null", "string"], - "format": "uri" - }, - "html_url": { - "type": ["null", "string"], - "format": "uri" - }, - "followers_url": { - "type": ["null", "string"], - "format": "uri" - }, - "following_url": { - "type": ["null", "string"] - }, - "gists_url": { - "type": ["null", "string"] - }, - "starred_url": { - "type": ["null", "string"] - }, - "subscriptions_url": { - "type": ["null", "string"], - "format": "uri" - }, - "organizations_url": { - "type": ["null", "string"], - "format": "uri" - }, - "repos_url": { - "type": ["null", "string"], - "format": "uri" - }, - "events_url": { - "type": ["null", "string"] - }, - "repository": { - "type": ["null", "string"] - }, - "received_events_url": { - "type": ["null", "string"], - "format": "uri" - }, - "type": { - "type": ["null", "string"] - }, - "site_admin": { - "type": ["null", "boolean"] - }, - "starred_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "total": { - "type": ["null", "integer"] - }, - "weeks": { - "type": "array", - "items": { - "type": "object", - "properties": { - "w": { - "type": ["null", "integer"], - "description": "Start of the week, given as a Unix timestamp." - }, - "a": { - "type": ["null", "integer"], - "description": "Number of additions" - }, - "d": { - "type": ["null", "integer"], - "description": "Number of deletions" - }, - "c": { - "type": ["null", "integer"], - "description": "Number of commits" - } - } - } + "type": "integer" } } } diff --git a/source-github/source_github/schemas/deployments.json b/source-github/source_github/schemas/deployments.json index 36fc1945ba..2bdf61e300 100644 --- a/source-github/source_github/schemas/deployments.json +++ b/source-github/source_github/schemas/deployments.json @@ -1,77 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "url": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "task": { - "type": ["null", "string"] - }, - "original_environment": { - "type": ["null", "string"] - }, - "environment": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "statuses_url": { - "type": ["null", "string"] - }, - "repository_url": { - "type": ["null", "string"] - }, - "creator": { - "$ref": "user.json" - }, - "sha": { - "type": ["null", "string"] - }, - "ref": { - "type": ["null", "string"] - }, - "payload": { - "oneOf": [ - { - "type": "object", - "properties": {}, - "additionalProperties": true - }, - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "transient_environment": { - "type": ["null", "boolean"] - }, - "production_environment": { - "type": ["null", "boolean"] - }, - "performed_via_github_app": { - "type": ["null", "string"] - }, - "repository": { - "type": "string" + "type": "integer" } } } diff --git a/source-github/source_github/schemas/events.json b/source-github/source_github/schemas/events.json index 698933d6d5..0ed15ed714 100644 --- a/source-github/source_github/schemas/events.json +++ b/source-github/source_github/schemas/events.json @@ -1,63 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, - "type": { - "type": ["null", "string"] - }, - "public": { - "type": ["null", "boolean"] - }, - "payload": { - "type": ["null", "object"], - "properties": {} - }, - "repo": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "integer"] - }, - "name": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - } - } - }, - "actor": { - "$ref": "user.json" - }, - "org": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "integer"] - }, - "login": { - "type": ["null", "string"] - }, - "gravatar_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "avatar_url": { - "type": ["null", "string"] - } - } - }, - "created_at": { - "type": "string", - "format": "date-time" - }, "id": { - "type": ["null", "string"] + "type": "string" } } } diff --git a/source-github/source_github/schemas/issue_events.json b/source-github/source_github/schemas/issue_events.json index 9fc4d62fd3..2bdf61e300 100644 --- a/source-github/source_github/schemas/issue_events.json +++ b/source-github/source_github/schemas/issue_events.json @@ -1,428 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "actor": { - "$ref": "user.json" - }, - "event": { - "type": ["null", "string"] - }, - "commit_id": { - "type": ["null", "string"] - }, - "commit_url": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "state_reason": { - "type": ["null", "string"] - }, - "label": { - "type": ["null", "object"], - "properties": { - "name": { - "type": ["null", "string"] - }, - "color": { - "type": ["null", "string"] - } - } - }, - "review_requester": { - "$ref": "user.json" - }, - "issue": { - "type": ["null", "object"], - "properties": { - "active_lock_reason": { - "type": ["null", "string"] - }, - "assignee": { - "$ref": "user.json" - }, - "assignees": { - "type": ["null", "array"], - "items": { - "$ref": "user.json" - } - }, - "author_association": { - "type": ["null", "string"] - }, - "closed_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "updated_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "comments": { - "type": ["null", "integer"] - }, - "draft": { - "type": ["null", "boolean"] - }, - "created_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "labels": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "color": { - "type": ["null", "string"] - }, - "default": { - "type": ["null", "boolean"] - } - } - } - }, - "locked": { - "type": ["null", "boolean"] - }, - "milestone": { - "type": ["null", "object"] - }, - "performed_via_github_app": { - "type": ["null", "object"] - }, - "state_reason": { - "type": ["null", "string"] - }, - "pull_request": { - "type": ["null", "object"], - "properties": { - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "diff_url": { "type": ["string", "null"] }, - "html_url": { "type": ["string", "null"] }, - "patch_url": { "type": ["string", "null"] }, - "url": { "type": ["string", "null"] } - } - }, - "timeline_url": { - "type": ["null", "string"] - }, - "reactions": { - "$ref": "reactions.json" - }, - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "repository_url": { - "type": ["null", "string"] - }, - "labels_url": { - "type": ["null", "string"] - }, - "comments_url": { - "type": ["null", "string"] - }, - "events_url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "number": { - "type": ["null", "integer"] - }, - "state": { - "type": ["null", "string"] - }, - "title": { - "type": ["null", "string"] - }, - "body": { - "type": ["null", "string"] - }, - "user": { - "$ref": "user.json" - } - } - }, - "performed_via_github_app": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "integer"] - }, - "slug": { - "type": ["null", "string"] - }, - "node_id": { - "type": ["null", "string"] - }, - "owner": { - "$ref": "user.json" - }, - "name": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "external_url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "permissions": { - "type": ["null", "object"], - "properties": { - "actions": { - "type": ["null", "string"] - }, - "administration": { - "type": ["null", "string"] - }, - "checks": { - "type": ["null", "string"] - }, - "contents": { - "type": ["null", "string"] - }, - "deployments": { - "type": ["null", "string"] - }, - "discussions": { - "type": ["null", "string"] - }, - "issues": { - "type": ["null", "string"] - }, - "merge_queues": { - "type": ["null", "string"] - }, - "metadata": { - "type": ["null", "string"] - }, - "packages": { - "type": ["null", "string"] - }, - "pages": { - "type": ["null", "string"] - }, - "pull_requests": { - "type": ["null", "string"] - }, - "repository_hooks": { - "type": ["null", "string"] - }, - "repository_projects": { - "type": ["null", "string"] - }, - "security_events": { - "type": ["null", "string"] - }, - "statuses": { - "type": ["null", "string"] - }, - "vulnerability_alerts": { - "type": ["null", "string"] - } - } - }, - "events": { - "type": "array", - "items": { - "type": ["null", "string"] - } - } - } - }, - "milestone": { - "type": ["null", "object"], - "properties": { - "title": { - "type": ["null", "string"] - } - } - }, - "assignee": { - "$ref": "user.json" - }, - "assigner": { - "$ref": "user.json" - }, - "project_card": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "integer"] - }, - "url": { - "type": ["null", "string"] - }, - "project_id": { - "type": ["null", "integer"] - }, - "project_url": { - "type": ["null", "string"] - }, - "column_name": { - "type": ["null", "string"] - }, - "previous_column_name": { - "type": ["null", "string"] - } - } - }, - "dismissed_review": { - "type": ["null", "object"], - "properties": { - "state": { - "type": ["null", "string"] - }, - "review_id": { - "type": ["null", "integer"] - }, - "dismissal_message": { - "type": ["null", "string"] - } - } - }, - "requested_team": { - "type": ["null", "object"], - "properties": { - "name": { - "type": ["null", "string"] - }, - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "slug": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "privacy": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "members_url": { - "type": ["null", "string"] - }, - "repositories_url": { - "type": ["null", "string"] - }, - "permission": { - "type": ["null", "string"] - }, - "parent": { - "type": ["null", "object"], - "properties": { - "name": { - "type": ["null", "string"] - }, - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "slug": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "privacy": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "members_url": { - "type": ["null", "string"] - }, - "repositories_url": { - "type": ["null", "string"] - }, - "permission": { - "type": ["null", "string"] - } - } - } - } - }, - "rename": { - "type": ["null", "object"], - "properties": { - "from": { - "type": ["null", "string"] - }, - "to": { - "type": ["null", "string"] - } - } - }, - "requested_reviewer": { - "$ref": "user.json" + "type": "integer" } } } diff --git a/source-github/source_github/schemas/issue_labels.json b/source-github/source_github/schemas/issue_labels.json index 0baf24a95b..2bdf61e300 100644 --- a/source-github/source_github/schemas/issue_labels.json +++ b/source-github/source_github/schemas/issue_labels.json @@ -1,30 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "color": { - "type": ["null", "string"] - }, - "default": { - "type": ["null", "boolean"] + "type": "integer" } } } diff --git a/source-github/source_github/schemas/issue_milestones.json b/source-github/source_github/schemas/issue_milestones.json index 28cd6dede9..2bdf61e300 100644 --- a/source-github/source_github/schemas/issue_milestones.json +++ b/source-github/source_github/schemas/issue_milestones.json @@ -1,61 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "labels_url": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "number": { - "type": ["null", "integer"] - }, - "state": { - "type": ["null", "string"] - }, - "title": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "creator": { - "$ref": "user.json" - }, - "open_issues": { - "type": ["null", "integer"] - }, - "closed_issues": { - "type": ["null", "integer"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "closed_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "due_on": { - "type": ["null", "string"], - "format": "date-time" + "type": "integer" } } } diff --git a/source-github/source_github/schemas/issue_reactions.json b/source-github/source_github/schemas/issue_reactions.json index dc3700343e..2bdf61e300 100644 --- a/source-github/source_github/schemas/issue_reactions.json +++ b/source-github/source_github/schemas/issue_reactions.json @@ -1,27 +1,9 @@ { "$schema": "https://json-schema.org/draft-07/schema#", - "type": ["null", "object"], + "type": "object", + "required": ["id"], "properties": { "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "content": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "user": { - "$ref": "user_graphql.json" - }, - "repository": { - "type": "string" - }, - "issue_number": { "type": "integer" } } diff --git a/source-github/source_github/schemas/issue_timeline_events.json b/source-github/source_github/schemas/issue_timeline_events.json index 9c48fb4dbd..16371e223b 100644 --- a/source-github/source_github/schemas/issue_timeline_events.json +++ b/source-github/source_github/schemas/issue_timeline_events.json @@ -1,1056 +1,11 @@ { - "definitions": { - "base_event": { - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", - "type": ["null", "object"], - "properties": { - "name": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "login": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "avatar_url": { - "type": "string" - }, - "gravatar_id": { - "type": ["string", "null"] - }, - "url": { - "type": "string" - }, - "html_url": { - "type": "string" - }, - "followers_url": { - "type": "string" - }, - "following_url": { - "type": "string" - }, - "gists_url": { - "type": "string" - }, - "starred_url": { - "type": "string" - }, - "subscriptions_url": { - "type": "string" - }, - "organizations_url": { - "type": "string" - }, - "repos_url": { - "type": "string" - }, - "events_url": { - "type": "string" - }, - "received_events_url": { - "type": "string" - }, - "type": { - "type": "string" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "format": "date-time" - } - } - }, - "event": { - "type": ["null", "string"] - }, - "commit_id": { - "type": ["string", "null"] - }, - "commit_url": { - "type": ["string", "null"] - }, - "created_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "slug": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "owner": { - "anyOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "name": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "login": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "avatar_url": { - "type": "string" - }, - "gravatar_id": { - "type": ["string", "null"] - }, - "url": { - "type": "string" - }, - "html_url": { - "type": "string" - }, - "followers_url": { - "type": "string" - }, - "following_url": { - "type": "string" - }, - "gists_url": { - "type": "string" - }, - "starred_url": { - "type": "string" - }, - "subscriptions_url": { - "type": "string" - }, - "organizations_url": { - "type": "string" - }, - "repos_url": { - "type": "string" - }, - "events_url": { - "type": "string" - }, - "received_events_url": { - "type": "string" - }, - "type": { - "type": "string" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "format": "date-time" - } - } - } - ] - }, - "name": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "external_url": { - "type": "string" - }, - "html_url": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "permissions": { - "type": "object", - "properties": { - "issues": { - "type": "string" - }, - "checks": { - "type": "string" - }, - "metadata": { - "type": "string" - }, - "contents": { - "type": "string" - }, - "deployments": { - "type": "string" - } - }, - "additionalProperties": true - }, - "events": { - "type": "array", - "items": { - "type": "string" - } - }, - "installations_count": { - "type": "integer" - }, - "client_id": { - "type": "string" - }, - "client_secret": { - "type": "string" - }, - "webhook_secret": { - "type": ["string", "null"] - }, - "pem": { - "type": "string" - } - } - } - ] - } - } - }, "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "required": ["issue_number"], "additionalProperties": true, "properties": { - "repository": { - "type": "string" - }, "issue_number": { "type": "integer" - }, - "labeled": { - "$ref": "#/definitions/base_event", - "label": { - "type": ["null", "object"], - "properties": { - "name": { - "type": ["null", "string"] - }, - "color": { - "type": ["null", "string"] - } - } - } - }, - "unlabeled": { - "$ref": "#/definitions/base_event", - "label": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "color": { - "type": "string" - } - } - } - }, - "milestoned": { - "$ref": "#/definitions/base_event", - "milestone": { - "type": "object", - "properties": { - "title": { - "type": "string" - } - } - } - }, - "demilestoned": { - "$ref": "#/definitions/base_event", - "milestone": { - "type": "object", - "properties": { - "title": { - "type": "string" - } - } - } - }, - "renamed": { - "$ref": "#/definitions/base_event", - "rename": { - "type": "object", - "properties": { - "from": { - "type": "string" - }, - "to": { - "type": "string" - } - } - } - }, - "review_requested": { - "$ref": "#/definitions/base_event", - "review_requester": { - "type": "object", - "properties": { - "name": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "login": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "avatar_url": { - "type": "string" - }, - "gravatar_id": { - "type": ["string", "null"] - }, - "url": { - "type": "string" - }, - "html_url": { - "type": "string" - }, - "followers_url": { - "type": "string" - }, - "following_url": { - "type": "string" - }, - "gists_url": { - "type": "string" - }, - "starred_url": { - "type": "string" - }, - "subscriptions_url": { - "type": "string" - }, - "organizations_url": { - "type": "string" - }, - "repos_url": { - "type": "string" - }, - "events_url": { - "type": "string" - }, - "received_events_url": { - "type": "string" - }, - "type": { - "type": "string" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "format": "date-time" - } - } - }, - "requested_team": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "privacy": { - "type": "string" - }, - "notification_setting": { - "type": "string" - }, - "permission": { - "type": "string" - }, - "permissions": { - "type": "object", - "properties": { - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - }, - "admin": { - "type": "boolean" - } - } - }, - "url": { - "type": "string" - }, - "html_url": { - "type": "string" - }, - "members_url": { - "type": "string" - }, - "repositories_url": { - "type": "string" - }, - "parent": { - "anyOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "members_url": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "permission": { - "type": "string" - }, - "privacy": { - "type": "string" - }, - "notification_setting": { - "type": "string" - }, - "html_url": { - "type": "string" - }, - "repositories_url": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "ldap_dn": { - "type": "string" - } - } - } - ] - } - } - }, - "requested_reviewer": { - "type": "object", - "properties": { - "name": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "login": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "avatar_url": { - "type": "string" - }, - "gravatar_id": { - "type": ["string", "null"] - }, - "url": { - "type": "string" - }, - "html_url": { - "type": "string" - }, - "followers_url": { - "type": "string" - }, - "following_url": { - "type": "string" - }, - "gists_url": { - "type": "string" - }, - "starred_url": { - "type": "string" - }, - "subscriptions_url": { - "type": "string" - }, - "organizations_url": { - "type": "string" - }, - "repos_url": { - "type": "string" - }, - "events_url": { - "type": "string" - }, - "received_events_url": { - "type": "string" - }, - "type": { - "type": "string" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "format": "date-time" - } - } - } - }, - "review_request_removed": { - "$ref": "#/definitions/base_event", - "review_requester": { - "type": "object", - "properties": { - "name": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "login": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "avatar_url": { - "type": "string" - }, - "gravatar_id": { - "type": ["string", "null"] - }, - "url": { - "type": "string" - }, - "html_url": { - "type": "string" - }, - "followers_url": { - "type": "string" - }, - "following_url": { - "type": "string" - }, - "gists_url": { - "type": "string" - }, - "starred_url": { - "type": "string" - }, - "subscriptions_url": { - "type": "string" - }, - "organizations_url": { - "type": "string" - }, - "repos_url": { - "type": "string" - }, - "events_url": { - "type": "string" - }, - "received_events_url": { - "type": "string" - }, - "type": { - "type": "string" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "format": "date-time" - } - } - }, - "requested_team": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "privacy": { - "type": "string" - }, - "notification_setting": { - "type": "string" - }, - "permission": { - "type": "string" - }, - "permissions": { - "type": "object", - "properties": { - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - }, - "admin": { - "type": "boolean" - } - } - }, - "url": { - "type": "string" - }, - "html_url": { - "type": "string" - }, - "members_url": { - "type": "string" - }, - "repositories_url": { - "type": "string" - }, - "parent": { - "anyOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "members_url": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "permission": { - "type": "string" - }, - "privacy": { - "type": "string" - }, - "notification_setting": { - "type": "string" - }, - "html_url": { - "type": "string" - }, - "repositories_url": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "ldap_dn": { - "type": "string" - } - } - } - ] - } - } - }, - "requested_reviewer": { - "type": "object", - "properties": { - "name": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "login": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "avatar_url": { - "type": "string" - }, - "gravatar_id": { - "type": ["string", "null"] - }, - "url": { - "type": "string" - }, - "html_url": { - "type": "string" - }, - "followers_url": { - "type": "string" - }, - "following_url": { - "type": "string" - }, - "gists_url": { - "type": "string" - }, - "starred_url": { - "type": "string" - }, - "subscriptions_url": { - "type": "string" - }, - "organizations_url": { - "type": "string" - }, - "repos_url": { - "type": "string" - }, - "events_url": { - "type": "string" - }, - "received_events_url": { - "type": "string" - }, - "type": { - "type": "string" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "format": "date-time" - } - } - } - }, - "review_dismissed": { - "$ref": "#/definitions/base_event", - "dismissed_review": { - "type": "object", - "properties": { - "state": { - "type": "string" - }, - "review_id": { - "type": "integer" - }, - "dismissal_message": { - "type": ["string", "null"] - }, - "dismissal_commit_id": { - "type": "string" - } - } - } - }, - "locked": { - "$ref": "#/definitions/base_event", - "lock_reason": { - "type": ["string", "null"] - } - }, - "added_to_project": { - "$ref": "#/definitions/base_event", - "project_card": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "url": { "type": "string" }, - "project_id": { "type": "integer" }, - "project_url": { "type": "string" }, - "column_name": { "type": "string" }, - "previous_column_name": { "type": "string" } - } - } - }, - "moved_columns_in_project": { - "$ref": "#/definitions/base_event", - "project_card": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" - }, - "column_name": { - "type": "string" - }, - "previous_column_name": { - "type": "string" - } - } - } - }, - "removed_from_project": { - "$ref": "#/definitions/base_event", - "project_card": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" - }, - "column_name": { - "type": "string" - }, - "previous_column_name": { - "type": "string" - } - } - } - }, - "converted_note_to_issue": { - "$ref": "#/definitions/base_event", - "project_card": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "url": { "type": "string" }, - "project_id": { "type": "integer" }, - "project_url": { "type": "string" }, - "column_name": { "type": "string" }, - "previous_column_name": { "type": "string" } - } - } - }, - "comment": { - "$ref": "events/comment.json" - }, - "cross-referenced": { - "$ref": "events/cross_referenced.json" - }, - "committed": { - "$ref": "events/committed.json" - }, - "closed": { - "$ref": "#/definitions/base_event" - }, - "head_ref_deleted": { - "$ref": "#/definitions/base_event" - }, - "head_ref_restored": { - "$ref": "#/definitions/base_event" - }, - "reopened": { - "$ref": "#/definitions/base_event" - }, - "reviewed": { - "$ref": "events/reviewed.json" - }, - "commented": { - "$ref": "events/comment.json" - }, - "commit_commented": { - "$ref": "events/commented.json" - }, - "assigned": { - "$ref": "#/definitions/base_event", - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { "type": ["string", "null"] }, - "email": { "type": ["string", "null"] }, - "login": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "avatar_url": { "type": "string" }, - "gravatar_id": { "type": ["string", "null"] }, - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "organizations_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "events_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "type": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_at": { "type": "string", "format": "date-time" } - } - } - }, - "unassigned": { - "$ref": "#/definitions/base_event", - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { "type": ["string", "null"] }, - "email": { "type": ["string", "null"] }, - "login": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "avatar_url": { "type": "string" }, - "gravatar_id": { "type": ["string", "null"] }, - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "organizations_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "events_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "type": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_at": { "type": "string", "format": "date-time" } - } - } - }, - "state_change": { - "$ref": "#/definitions/base_event", - "state_reason": { - "type": ["string", "null"] - } - }, - "connected": { - "$ref": "#/definitions/base_event" - }, - "auto_squash_enabled": { - "$ref": "#/definitions/base_event" - }, - "merged": { - "$ref": "#/definitions/base_event" } } } diff --git a/source-github/source_github/schemas/issues.json b/source-github/source_github/schemas/issues.json index d1d8667129..7e3001581e 100644 --- a/source-github/source_github/schemas/issues.json +++ b/source-github/source_github/schemas/issues.json @@ -1,281 +1,11 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], + "additionalProperties": true, "properties": { - "repository": { - "type": "string" - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "repository_url": { - "type": ["null", "string"] - }, - "labels_url": { - "type": ["null", "string"] - }, - "comments_url": { - "type": ["null", "string"] - }, - "events_url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "number": { - "type": ["null", "integer"] - }, - "state": { - "type": ["null", "string"] - }, - "title": { - "type": ["null", "string"] - }, - "user": { - "$ref": "user.json" - }, - "body": { - "type": ["null", "string"] - }, - "user_id": { - "type": ["null", "integer"] - }, - "labels": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "color": { - "type": ["null", "string"] - }, - "default": { - "type": ["null", "boolean"] - } - } - } - }, - "assignee": { - "$ref": "user.json" - }, - "assignees": { - "type": ["null", "array"], - "items": { - "$ref": "user.json" - } - }, - "milestone": { - "type": ["null", "object"], - "properties": { - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "labels_url": { - "type": ["null", "string"] - }, - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "number": { - "type": ["null", "integer"] - }, - "state": { - "type": ["null", "string"] - }, - "title": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "creator": { - "$ref": "user.json" - }, - "open_issues": { - "type": ["null", "integer"] - }, - "closed_issues": { - "type": ["null", "integer"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "closed_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "due_on": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, - "locked": { - "type": ["null", "boolean"] - }, - "active_lock_reason": { - "type": ["null", "string"] - }, - "comments": { - "type": ["null", "integer"] - }, - "pull_request": { - "type": ["null", "object"], - "properties": { - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "diff_url": { - "type": ["null", "string"] - }, - "patch_url": { - "type": ["null", "string"] - }, - "merged_at": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, - "closed_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "author_association": { - "type": ["null", "string"] - }, - "draft": { - "type": ["null", "boolean"] - }, - "reactions": { - "$ref": "reactions.json" - }, - "timeline_url": { - "type": ["null", "string"] - }, - "performed_via_github_app": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "integer"] - }, - "slug": { - "type": ["null", "string"] - }, - "node_id": { - "type": ["null", "string"] - }, - "owner": { - "$ref": "user.json" - }, - "name": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "external_url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "permissions": { - "type": ["null", "object"], - "properties": { - "issues": { - "type": ["null", "string"] - }, - "metadata": { - "type": ["null", "string"] - }, - "pull_requests": { - "type": ["null", "string"] - }, - "actions": { - "type": ["null", "string"] - }, - "checks": { - "type": ["null", "string"] - }, - "contents": { - "type": ["null", "string"] - }, - "deployments": { - "type": ["null", "string"] - }, - "discussions": { - "type": ["null", "string"] - }, - "repository_projects": { - "type": ["null", "string"] - }, - "statuses": { - "type": ["null", "string"] - } - } - }, - "events": { - "type": "array", - "items": { - "type": ["null", "string"] - } - } - } - }, - "state_reason": { - "type": ["null", "string"] + "type": "integer" } } } diff --git a/source-github/source_github/schemas/organizations.json b/source-github/source_github/schemas/organizations.json index cab08b9532..2bdf61e300 100644 --- a/source-github/source_github/schemas/organizations.json +++ b/source-github/source_github/schemas/organizations.json @@ -1,197 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "login": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "repos_url": { - "type": ["null", "string"] - }, - "events_url": { - "type": ["null", "string"] - }, - "hooks_url": { - "type": ["null", "string"] - }, - "issues_url": { - "type": ["null", "string"] - }, - "members_url": { - "type": ["null", "string"] - }, - "public_members_url": { - "type": ["null", "string"] - }, - "avatar_url": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "company": { - "type": ["null", "string"] - }, - "blog": { - "type": ["null", "string"] - }, - "location": { - "type": ["null", "string"] - }, - "email": { - "type": ["null", "string"] - }, - "twitter_username": { - "type": ["null", "string"] - }, - "is_verified": { - "type": ["null", "boolean"] - }, - "has_organization_projects": { - "type": ["null", "boolean"] - }, - "has_repository_projects": { - "type": ["null", "boolean"] - }, - "public_repos": { - "type": ["null", "integer"] - }, - "public_gists": { - "type": ["null", "integer"] - }, - "followers": { - "type": ["null", "integer"] - }, - "following": { - "type": ["null", "integer"] - }, - "html_url": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "archived_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "type": { - "type": ["null", "string"] - }, - "total_private_repos": { - "type": ["null", "integer"] - }, - "owned_private_repos": { - "type": ["null", "integer"] - }, - "private_gists": { - "type": ["null", "integer"] - }, - "disk_usage": { - "type": ["null", "integer"] - }, - "collaborators": { - "type": ["null", "integer"] - }, - "billing_email": { - "type": ["null", "string"] - }, - "default_repository_permission": { - "type": ["null", "string"] - }, - "members_can_create_repositories": { - "type": ["null", "boolean"] - }, - "two_factor_requirement_enabled": { - "type": ["null", "boolean"] - }, - "members_allowed_repository_creation_type": { - "type": ["null", "string"] - }, - "members_can_create_public_repositories": { - "type": ["null", "boolean"] - }, - "members_can_create_private_repositories": { - "type": ["null", "boolean"] - }, - "members_can_create_internal_repositories": { - "type": ["null", "boolean"] - }, - "members_can_create_pages": { - "type": ["null", "boolean"] - }, - "members_can_fork_private_repositories": { - "type": ["null", "boolean"] - }, - "web_commit_signoff_required": { - "type": ["null", "boolean"] - }, - "members_can_create_public_pages": { - "type": ["null", "boolean"] - }, - "members_can_create_private_pages": { - "type": ["null", "boolean"] - }, - "plan": { - "type": ["null", "object"], - "properties": { - "name": { - "type": ["null", "string"] - }, - "space": { - "type": ["null", "integer"] - }, - "private_repos": { - "type": ["null", "integer"] - }, - "filled_seats": { - "type": ["null", "integer"] - }, - "seats": { - "type": ["null", "integer"] - } - } - }, - "advanced_security_enabled_for_new_repositories": { - "type": ["null", "boolean"] - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": ["null", "boolean"] - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": ["null", "boolean"] - }, - "dependency_graph_enabled_for_new_repositories": { - "type": ["null", "boolean"] - }, - "secret_scanning_enabled_for_new_repositories": { - "type": ["null", "boolean"] - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": ["null", "boolean"] - }, - "secret_scanning_push_protection_custom_link_enabled": { - "type": ["null", "boolean"] - }, - "secret_scanning_push_protection_custom_link": { - "type": ["null", "string"] + "type": "integer" } } } diff --git a/source-github/source_github/schemas/project_cards.json b/source-github/source_github/schemas/project_cards.json index 4c8b809c13..2bdf61e300 100644 --- a/source-github/source_github/schemas/project_cards.json +++ b/source-github/source_github/schemas/project_cards.json @@ -1,49 +1,9 @@ { - "$schema": "https://json-schema.org/schema#", + "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "url": { - "type": ["null", "string"] - }, - "project_url": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "note": { - "type": ["null", "string"] - }, - "archived": { - "type": ["null", "boolean"] - }, - "creator": { - "$ref": "user.json" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "column_url": { - "type": ["null", "string"] - }, - "content_url": { - "type": ["null", "string"] - }, - "repository": { - "type": "string" - }, - "project_id": { - "type": "integer" - }, - "column_id": { "type": "integer" } } diff --git a/source-github/source_github/schemas/project_columns.json b/source-github/source_github/schemas/project_columns.json index 3711516fc7..2bdf61e300 100644 --- a/source-github/source_github/schemas/project_columns.json +++ b/source-github/source_github/schemas/project_columns.json @@ -1,37 +1,9 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "url": { - "type": ["null", "string"] - }, - "project_url": { - "type": ["null", "string"] - }, - "cards_url": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "repository": { - "type": "string" - }, - "project_id": { "type": "integer" } } diff --git a/source-github/source_github/schemas/projects.json b/source-github/source_github/schemas/projects.json index a0b6e09176..2bdf61e300 100644 --- a/source-github/source_github/schemas/projects.json +++ b/source-github/source_github/schemas/projects.json @@ -1,50 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, - "owner_url": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "columns_url": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "body": { - "type": ["null", "string"] - }, - "number": { - "type": ["null", "integer"] - }, - "state": { - "type": ["null", "string"] - }, - "creator": { - "$ref": "user.json" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" + "type": "integer" } } } diff --git a/source-github/source_github/schemas/projects_v2.json b/source-github/source_github/schemas/projects_v2.json index 744fec6d75..2bdf61e300 100644 --- a/source-github/source_github/schemas/projects_v2.json +++ b/source-github/source_github/schemas/projects_v2.json @@ -1,80 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "closed": { - "type": ["null", "boolean"] - }, - "created_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "creator": { - "type": ["null", "object"], - "properties": { - "avatarUrl": { - "type": ["null", "string"] - }, - "login": { - "type": ["null", "string"] - }, - "resourcePath": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - } - } - }, - "closed_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "updated_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "node_id": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "number": { - "type": ["null", "integer"] - }, - "public": { - "type": ["null", "boolean"] - }, - "readme": { - "type": ["null", "string"] - }, - "short_description": { - "type": ["null", "string"] - }, - "template": { - "type": ["null", "boolean"] - }, - "title": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "viewerCanClose": { - "type": ["null", "boolean"] - }, - "viewerCanReopen": { - "type": ["null", "boolean"] - }, - "viewerCanUpdate": { - "type": ["null", "boolean"] - }, - "owner_id": { - "type": ["null", "string"] - }, - "repository": { - "type": "string" + "type": "integer" } } } diff --git a/source-github/source_github/schemas/pull_request_comment_reactions.json b/source-github/source_github/schemas/pull_request_comment_reactions.json index e2088e23be..2bdf61e300 100644 --- a/source-github/source_github/schemas/pull_request_comment_reactions.json +++ b/source-github/source_github/schemas/pull_request_comment_reactions.json @@ -1,27 +1,9 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "content": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "user": { - "$ref": "user_graphql.json" - }, - "repository": { - "type": "string" - }, - "comment_id": { "type": "integer" } } diff --git a/source-github/source_github/schemas/pull_request_commits.json b/source-github/source_github/schemas/pull_request_commits.json index eeca3ca854..a960f9106f 100644 --- a/source-github/source_github/schemas/pull_request_commits.json +++ b/source-github/source_github/schemas/pull_request_commits.json @@ -1,122 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["sha"], "properties": { "sha": { - "type": ["null", "string"] - }, - "node_id": { - "type": ["null", "string"] - }, - "commit": { - "type": "object", - "properties": { - "author": { - "type": "object", - "properties": { - "name": { - "type": ["null", "string"] - }, - "email": { - "type": ["null", "string"] - }, - "date": { - "type": "string", - "format": "date-time" - } - } - }, - "committer": { - "type": "object", - "properties": { - "name": { - "type": ["null", "string"] - }, - "email": { - "type": ["null", "string"] - }, - "date": { - "type": "string", - "format": "date-time" - } - } - }, - "message": { - "type": ["null", "string"] - }, - "tree": { - "type": "object", - "properties": { - "sha": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - } - } - }, - "url": { - "type": ["null", "string"] - }, - "comment_count": { - "type": ["null", "integer"] - }, - "verification": { - "type": "object", - "properties": { - "verified": { - "type": ["null", "boolean"] - }, - "reason": { - "type": ["null", "string"] - }, - "signature": { - "type": ["null", "string"] - }, - "payload": { - "type": ["null", "string"] - } - } - } - } - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "comments_url": { - "type": ["null", "string"] - }, - "author": { - "$ref": "user.json" - }, - "committer": { - "$ref": "user.json" - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - } - }, - "repository": { "type": "string" - }, - "pull_number": { - "type": "integer" } } } diff --git a/source-github/source_github/schemas/pull_request_stats.json b/source-github/source_github/schemas/pull_request_stats.json index 67fa6fe382..2bdf61e300 100644 --- a/source-github/source_github/schemas/pull_request_stats.json +++ b/source-github/source_github/schemas/pull_request_stats.json @@ -1,84 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "number": { - "type": ["null", "integer"] - }, - "merged": { - "type": ["null", "boolean"] - }, - "mergeable": { - "type": ["null", "string"] - }, - "can_be_rebased": { - "type": ["null", "boolean"] - }, - "merge_state_status": { - "type": ["null", "string"] - }, - "merged_by": { - "$ref": "user_graphql.json" - }, - "merged_by": { - "type": ["null", "object"], - "properties": { - "login": { - "type": ["null", "string"] - }, - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "avatar_url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "site_admin": { - "type": ["null", "boolean"] - } - } - }, - "comments": { - "type": ["null", "integer"] - }, - "review_comments": { - "type": ["null", "integer"] - }, - "maintainer_can_modify": { - "type": ["null", "boolean"] - }, - "commits": { - "type": ["null", "integer"] - }, - "additions": { - "type": ["null", "integer"] - }, - "deletions": { - "type": ["null", "integer"] - }, - "changed_files": { - "type": ["null", "integer"] - }, - "updated_at": { - "type": "string", - "format": "date-time" + "type": "integer" } } } diff --git a/source-github/source_github/schemas/pull_requests.json b/source-github/source_github/schemas/pull_requests.json index c0a706660e..2bdf61e300 100644 --- a/source-github/source_github/schemas/pull_requests.json +++ b/source-github/source_github/schemas/pull_requests.json @@ -1,372 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, - "url": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "diff_url": { - "type": ["null", "string"] - }, - "patch_url": { - "type": ["null", "string"] - }, - "issue_url": { - "type": ["null", "string"] - }, - "commits_url": { - "type": ["null", "string"] - }, - "review_comments_url": { - "type": ["null", "string"] - }, - "review_comment_url": { - "type": ["null", "string"] - }, - "comments_url": { - "type": ["null", "string"] - }, - "statuses_url": { - "type": ["null", "string"] - }, - "number": { - "type": ["null", "integer"] - }, - "state": { - "type": ["null", "string"] - }, - "locked": { - "type": ["null", "boolean"] - }, - "title": { - "type": ["null", "string"] - }, - "user": { - "$ref": "user.json" - }, - "body": { - "type": ["null", "string"] - }, - "labels": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "color": { - "type": ["null", "string"] - }, - "default": { - "type": ["null", "boolean"] - } - } - } - }, - "milestone": { - "type": ["null", "object"], - "properties": { - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "labels_url": { - "type": ["null", "string"] - }, - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "number": { - "type": ["null", "integer"] - }, - "state": { - "type": ["null", "string"] - }, - "title": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "creator": { - "$ref": "user.json" - }, - "open_issues": { - "type": ["null", "integer"] - }, - "closed_issues": { - "type": ["null", "integer"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "closed_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "due_on": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, - "active_lock_reason": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "closed_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "merged_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "merge_commit_sha": { - "type": ["null", "string"] - }, - "assignee": { - "$ref": "user.json" - }, - "assignees": { - "type": ["null", "array"], - "items": { - "$ref": "user.json" - } - }, - "requested_reviewers": { - "type": ["null", "array"], - "items": { - "$ref": "user.json" - } - }, - "requested_teams": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "slug": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "privacy": { - "type": ["null", "string"] - }, - "permission": { - "type": ["null", "string"] - }, - "members_url": { - "type": ["null", "string"] - }, - "repositories_url": { - "type": ["null", "string"] - }, - "parent": { - "type": ["null", "object"], - "properties": {} - } - } - } - }, - "head": { - "type": ["null", "object"], - "properties": { - "label": { - "type": ["null", "string"] - }, - "ref": { - "type": ["null", "string"] - }, - "sha": { - "type": ["null", "string"] - }, - "user_id": { - "type": ["null", "integer"] - }, - "repo_id": { - "type": ["null", "integer"] - }, - "user": { - "$ref": "user.json" - } - } - }, - "base": { - "type": ["null", "object"], - "properties": { - "label": { - "type": ["null", "string"] - }, - "ref": { - "type": ["null", "string"] - }, - "sha": { - "type": ["null", "string"] - }, - "user_id": { - "type": ["null", "integer"] - }, - "repo_id": { - "type": ["null", "integer"] - }, - "repo": { - "type": ["null", "object"] - }, - "user": { - "$ref": "user.json" - } - } - }, - "_links": { - "type": ["null", "object"], - "properties": { - "self": { - "type": ["null", "object"], - "properties": { - "href": { - "type": ["null", "string"] - } - } - }, - "html": { - "type": ["null", "object"], - "properties": { - "href": { - "type": ["null", "string"] - } - } - }, - "issue": { - "type": ["null", "object"], - "properties": { - "href": { - "type": ["null", "string"] - } - } - }, - "comments": { - "type": ["null", "object"], - "properties": { - "href": { - "type": ["null", "string"] - } - } - }, - "review_comments": { - "type": ["null", "object"], - "properties": { - "href": { - "type": ["null", "string"] - } - } - }, - "review_comment": { - "type": ["null", "object"], - "properties": { - "href": { - "type": ["null", "string"] - } - } - }, - "commits": { - "type": ["null", "object"], - "properties": { - "href": { - "type": ["null", "string"] - } - } - }, - "statuses": { - "type": ["null", "object"], - "properties": { - "href": { - "type": ["null", "string"] - } - } - } - } - }, - "author_association": { - "type": ["null", "string"] - }, - "auto_merge": { - "type": ["null", "object"], - "properties": { - "enabled_by": { - "$ref": "user.json" - }, - "commit_title": { - "type": ["null", "string"] - }, - "merge_method": { - "type": ["null", "string"] - }, - "commit_message": { - "type": ["null", "string"] - } - } - }, - "draft": { - "type": ["null", "boolean"] + "type": "integer" } } } diff --git a/source-github/source_github/schemas/releases.json b/source-github/source_github/schemas/releases.json index 3fbbc8e3c6..2bdf61e300 100644 --- a/source-github/source_github/schemas/releases.json +++ b/source-github/source_github/schemas/releases.json @@ -1,126 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "assets_url": { - "type": ["null", "string"] - }, - "upload_url": { - "type": ["null", "string"] - }, - "tarball_url": { - "type": ["null", "string"] - }, - "zipball_url": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "tag_name": { - "type": ["null", "string"] - }, - "target_commitish": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "body": { - "type": ["null", "string"] - }, - "draft": { - "type": ["null", "boolean"] - }, - "prerelease": { - "type": ["null", "boolean"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "published_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "author": { - "$ref": "user.json" - }, - "assets": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "url": { - "type": ["null", "string"] - }, - "browser_download_url": { - "type": ["null", "string"] - }, - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "label": { - "type": ["null", "string"] - }, - "state": { - "type": ["null", "string"] - }, - "content_type": { - "type": ["null", "string"] - }, - "size": { - "type": ["null", "integer"] - }, - "download_count": { - "type": ["null", "integer"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "uploader_id": { - "type": ["null", "integer"] - } - } - } - }, - "body_html": { - "type": ["null", "string"] - }, - "body_text": { - "type": ["null", "string"] - }, - "mentions_count": { - "type": ["null", "integer"] - }, - "discussion_url": { - "type": ["null", "string"] - }, - "reactions": { - "$ref": "reactions.json" + "type": "integer" } } } diff --git a/source-github/source_github/schemas/repositories.json b/source-github/source_github/schemas/repositories.json index d4e5d270d4..2bdf61e300 100644 --- a/source-github/source_github/schemas/repositories.json +++ b/source-github/source_github/schemas/repositories.json @@ -1,329 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "full_name": { - "type": ["null", "string"] - }, - "owner": { - "$ref": "user.json" - }, - "private": { - "type": ["null", "boolean"] - }, - "html_url": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "fork": { - "type": ["null", "boolean"] - }, - "url": { - "type": ["null", "string"] - }, - "archive_url": { - "type": ["null", "string"] - }, - "assignees_url": { - "type": ["null", "string"] - }, - "blobs_url": { - "type": ["null", "string"] - }, - "branches_url": { - "type": ["null", "string"] - }, - "collaborators_url": { - "type": ["null", "string"] - }, - "comments_url": { - "type": ["null", "string"] - }, - "commits_url": { - "type": ["null", "string"] - }, - "compare_url": { - "type": ["null", "string"] - }, - "contents_url": { - "type": ["null", "string"] - }, - "contributors_url": { - "type": ["null", "string"] - }, - "deployments_url": { - "type": ["null", "string"] - }, - "downloads_url": { - "type": ["null", "string"] - }, - "events_url": { - "type": ["null", "string"] - }, - "forks_url": { - "type": ["null", "string"] - }, - "git_commits_url": { - "type": ["null", "string"] - }, - "git_refs_url": { - "type": ["null", "string"] - }, - "git_tags_url": { - "type": ["null", "string"] - }, - "git_url": { - "type": ["null", "string"] - }, - "issue_comment_url": { - "type": ["null", "string"] - }, - "issue_events_url": { - "type": ["null", "string"] - }, - "issues_url": { - "type": ["null", "string"] - }, - "keys_url": { - "type": ["null", "string"] - }, - "labels_url": { - "type": ["null", "string"] - }, - "languages_url": { - "type": ["null", "string"] - }, - "merges_url": { - "type": ["null", "string"] - }, - "milestones_url": { - "type": ["null", "string"] - }, - "notifications_url": { - "type": ["null", "string"] - }, - "pulls_url": { - "type": ["null", "string"] - }, - "releases_url": { - "type": ["null", "string"] - }, - "ssh_url": { - "type": ["null", "string"] - }, - "stargazers_url": { - "type": ["null", "string"] - }, - "statuses_url": { - "type": ["null", "string"] - }, - "subscribers_url": { - "type": ["null", "string"] - }, - "subscription_url": { - "type": ["null", "string"] - }, - "tags_url": { - "type": ["null", "string"] - }, - "teams_url": { - "type": ["null", "string"] - }, - "trees_url": { - "type": ["null", "string"] - }, - "clone_url": { - "type": ["null", "string"] - }, - "mirror_url": { - "type": ["null", "string"] - }, - "hooks_url": { - "type": ["null", "string"] - }, - "svn_url": { - "type": ["null", "string"] - }, - "homepage": { - "type": ["null", "string"] - }, - "language": { - "type": ["null", "string"] - }, - "forks_count": { - "type": ["null", "integer"] - }, - "stargazers_count": { - "type": ["null", "integer"] - }, - "watchers_count": { - "type": ["null", "integer"] - }, - "size": { - "type": ["null", "integer"] - }, - "default_branch": { - "type": ["null", "string"] - }, - "open_issues_count": { - "type": ["null", "integer"] - }, - "is_template": { - "type": ["null", "boolean"] - }, - "topics": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "license": { - "type": ["null", "object"], - "properties": { - "key": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "spdx_id": { - "type": ["null", "string"] - }, - "node_id": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - } - } - }, - "has_issues": { - "type": ["null", "boolean"] - }, - "has_projects": { - "type": ["null", "boolean"] - }, - "has_wiki": { - "type": ["null", "boolean"] - }, - "has_pages": { - "type": ["null", "boolean"] - }, - "has_downloads": { - "type": ["null", "boolean"] - }, - "archived": { - "type": ["null", "boolean"] - }, - "disabled": { - "type": ["null", "boolean"] - }, - "visibility": { - "type": ["null", "string"] - }, - "pushed_at": { - "type": "string", - "format": "date-time" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "permissions": { - "type": ["null", "object"], - "properties": { - "admin": { - "type": ["null", "boolean"] - }, - "push": { - "type": ["null", "boolean"] - }, - "pull": { - "type": ["null", "boolean"] - }, - "maintain": { - "type": ["null", "boolean"] - }, - "triage": { - "type": ["null", "boolean"] - } - } - }, - "allow_forking": { - "type": ["null", "boolean"] - }, - "forks": { - "type": ["null", "integer"] - }, - "has_discussions": { - "type": ["null", "boolean"] - }, - "open_issues": { - "type": ["null", "integer"] - }, - "organization": { - "type": ["null", "string"] - }, - "watchers": { - "type": ["null", "integer"] - }, - "web_commit_signoff_required": { - "type": ["null", "boolean"] - }, - "security_and_analysis": { - "type": ["null", "object"], - "properties": { - "secret_scanning": { - "type": ["null", "object"], - "properties": { - "status": { - "type": ["null", "string"] - } - } - }, - "secret_scanning_push_protection": { - "type": ["null", "object"], - "properties": { - "status": { - "type": ["null", "string"] - } - } - }, - "secret_scanning_validity_checks": { - "type": ["null", "object"], - "properties": { - "status": { - "type": ["null", "string"] - } - } - }, - "dependabot_security_updates": { - "type": ["null", "object"], - "properties": { - "status": { - "type": ["null", "string"] - } - } - } - } + "type": "integer" } } } diff --git a/source-github/source_github/schemas/review_comments.json b/source-github/source_github/schemas/review_comments.json index 9e9add9614..2bdf61e300 100644 --- a/source-github/source_github/schemas/review_comments.json +++ b/source-github/source_github/schemas/review_comments.json @@ -1,118 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, - "url": { - "type": ["null", "string"] - }, - "pull_request_review_id": { - "type": ["null", "integer"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "diff_hunk": { - "type": ["null", "string"] - }, - "path": { - "type": ["null", "string"] - }, - "position": { - "type": ["null", "integer"] - }, - "original_position": { - "type": ["null", "integer"] - }, - "commit_id": { - "type": ["null", "string"] - }, - "original_commit_id": { - "type": ["null", "string"] - }, - "in_reply_to_id": { - "type": ["null", "integer"] - }, - "user": { - "$ref": "user.json" - }, - "body": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "html_url": { - "type": ["null", "string"] - }, - "pull_request_url": { - "type": ["null", "string"] - }, - "author_association": { - "type": ["null", "string"] - }, - "_links": { - "type": ["null", "object"], - "properties": { - "self": { - "type": ["null", "object"], - "properties": { - "href": { - "type": ["null", "string"] - } - } - }, - "html": { - "type": ["null", "object"], - "properties": { - "href": { - "type": ["null", "string"] - } - } - }, - "pull_request": { - "type": ["null", "object"], - "properties": { - "href": { - "type": ["null", "string"] - } - } - } - } - }, - "start_line": { - "type": ["null", "integer"] - }, - "original_start_line": { - "type": ["null", "integer"] - }, - "start_side": { - "type": ["null", "string"] - }, - "line": { - "type": ["null", "integer"] - }, - "original_line": { - "type": ["null", "integer"] - }, - "side": { - "type": ["null", "string"] - }, - "subject_type": { - "type": ["null", "string"] - }, - "reactions": { - "$ref": "reactions.json" + "type": "integer" } } } diff --git a/source-github/source_github/schemas/reviews.json b/source-github/source_github/schemas/reviews.json index 5317674f97..2bdf61e300 100644 --- a/source-github/source_github/schemas/reviews.json +++ b/source-github/source_github/schemas/reviews.json @@ -1,69 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "repository": { - "type": "string" - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "user": { - "$ref": "user_graphql.json" - }, - "body": { - "type": ["null", "string"] - }, - "state": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "pull_request_url": { - "type": ["null", "string"] - }, - "_links": { - "type": ["null", "object"], - "properties": { - "html": { - "type": ["null", "object"], - "properties": { - "href": { - "type": ["null", "string"] - } - } - }, - "pull_request": { - "type": ["null", "object"], - "properties": { - "href": { - "type": ["null", "string"] - } - } - } - } - }, - "submitted_at": { - "type": "string", - "format": "date-time" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "commit_id": { - "type": ["null", "string"] - }, - "author_association": { - "type": ["null", "string"] + "type": "integer" } } } diff --git a/source-github/source_github/schemas/shared/definitions.json b/source-github/source_github/schemas/shared/definitions.json new file mode 100644 index 0000000000..a0029f5284 --- /dev/null +++ b/source-github/source_github/schemas/shared/definitions.json @@ -0,0 +1,254 @@ +{ + "id": { + "type": "integer" + }, + "node_id": { + "type": ["null", "string"] + }, + "url": { + "type": ["null", "string"] + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": ["null", "object"], + "properties": { + "name": { + "type": ["string", "null"] + }, + "email": { + "type": ["string", "null"] + }, + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": ["string", "null"] + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "format": "date-time" + } + } + }, + "event": { + "type": ["null", "string"] + }, + "commit_id": { + "type": ["string", "null"] + }, + "commit_url": { + "type": ["string", "null"] + }, + "created_at": { + "type": ["null", "string"], + "format": "date-time" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "slug": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "name": { + "type": ["string", "null"] + }, + "email": { + "type": ["string", "null"] + }, + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": ["string", "null"] + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "format": "date-time" + } + } + } + ] + }, + "name": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "external_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "permissions": { + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": true + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "type": "integer" + }, + "client_id": { + "type": "string" + }, + "client_secret": { + "type": "string" + }, + "webhook_secret": { + "type": ["string", "null"] + }, + "pem": { + "type": "string" + } + } + } + ] + } +} diff --git a/source-github/source_github/schemas/shared/reaction.json b/source-github/source_github/schemas/shared/reaction.json index 2eab1ad1fb..5757f119f6 100644 --- a/source-github/source_github/schemas/shared/reaction.json +++ b/source-github/source_github/schemas/shared/reaction.json @@ -1,26 +1,8 @@ { - "type": ["null", "object"], + "type": "object", + "required": ["id"], "properties": { "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "content": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "user": { - "$ref": "user.json" - }, - "repository": { - "type": "string" - }, - "comment_id": { "type": "integer" } } diff --git a/source-github/source_github/schemas/shared/reactions.json b/source-github/source_github/schemas/shared/reactions.json index 96596d71b2..1986c5c4ce 100644 --- a/source-github/source_github/schemas/shared/reactions.json +++ b/source-github/source_github/schemas/shared/reactions.json @@ -1,5 +1,5 @@ { - "type": ["null", "object"], + "type": "object", "properties": { "url": { "type": ["null", "string"] diff --git a/source-github/source_github/schemas/shared/user.json b/source-github/source_github/schemas/shared/user.json index f32b650433..5da9f9c6fe 100644 --- a/source-github/source_github/schemas/shared/user.json +++ b/source-github/source_github/schemas/shared/user.json @@ -1,11 +1,11 @@ { - "type": ["null", "object"], + "type": "object", "properties": { "login": { "type": ["null", "string"] }, "id": { - "type": ["null", "integer"] + "type": "integer" }, "node_id": { "type": ["null", "string"] diff --git a/source-github/source_github/schemas/shared/user_graphql.json b/source-github/source_github/schemas/shared/user_graphql.json index bd42807967..ba4cf737d7 100644 --- a/source-github/source_github/schemas/shared/user_graphql.json +++ b/source-github/source_github/schemas/shared/user_graphql.json @@ -1,11 +1,11 @@ { - "type": ["null", "object"], + "type": "object", "properties": { "login": { "type": ["null", "string"] }, "id": { - "type": ["null", "integer"] + "type": "integer" }, "node_id": { "type": ["null", "string"] diff --git a/source-github/source_github/schemas/stargazers.json b/source-github/source_github/schemas/stargazers.json index b1a1149e00..83adc8dda1 100644 --- a/source-github/source_github/schemas/stargazers.json +++ b/source-github/source_github/schemas/stargazers.json @@ -1,19 +1,14 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["user_id", "starred_at"], "properties": { - "repository": { - "type": "string" - }, "user_id": { - "type": ["null", "integer"] + "type": "integer" }, "starred_at": { "type": "string", "format": "date-time" - }, - "user": { - "$ref": "user.json" } } } diff --git a/source-github/source_github/schemas/tags.json b/source-github/source_github/schemas/tags.json index a77157f724..689bb4bf06 100644 --- a/source-github/source_github/schemas/tags.json +++ b/source-github/source_github/schemas/tags.json @@ -1,32 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["name"], "properties": { - "repository": { - "type": "string" - }, "name": { - "type": ["null", "string"] - }, - "commit": { - "type": ["null", "object"], - "properties": { - "sha": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - } - } - }, - "zipball_url": { - "type": ["null", "string"] - }, - "tarball_url": { - "type": ["null", "string"] - }, - "node_id": { - "type": ["null", "string"] + "type": "string" } } } diff --git a/source-github/source_github/schemas/team_members.json b/source-github/source_github/schemas/team_members.json index b4722701fe..bcbd92ffed 100644 --- a/source-github/source_github/schemas/team_members.json +++ b/source-github/source_github/schemas/team_members.json @@ -1,64 +1,11 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id", "team_slug"], "properties": { - "login": { - "type": ["null", "string"] - }, "id": { "type": "integer" }, - "node_id": { - "type": ["null", "string"] - }, - "avatar_url": { - "type": ["null", "string"] - }, - "gravatar_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "followers_url": { - "type": ["null", "string"] - }, - "following_url": { - "type": ["null", "string"] - }, - "gists_url": { - "type": ["null", "string"] - }, - "starred_url": { - "type": ["null", "string"] - }, - "subscriptions_url": { - "type": ["null", "string"] - }, - "organizations_url": { - "type": ["null", "string"] - }, - "repos_url": { - "type": ["null", "string"] - }, - "events_url": { - "type": ["null", "string"] - }, - "received_events_url": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "site_admin": { - "type": ["null", "boolean"] - }, - "organization": { - "type": "string" - }, "team_slug": { "type": "string" } diff --git a/source-github/source_github/schemas/team_memberships.json b/source-github/source_github/schemas/team_memberships.json index bf692c2c45..533cba468e 100644 --- a/source-github/source_github/schemas/team_memberships.json +++ b/source-github/source_github/schemas/team_memberships.json @@ -1,24 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["url"], "properties": { - "state": { - "type": ["null", "string"] - }, - "role": { - "type": ["null", "string"] - }, "url": { "type": "string" - }, - "organization": { - "type": "string" - }, - "team_slug": { - "type": "string" - }, - "username": { - "type": "string" } } } diff --git a/source-github/source_github/schemas/teams.json b/source-github/source_github/schemas/teams.json index b0b5b03abb..2bdf61e300 100644 --- a/source-github/source_github/schemas/teams.json +++ b/source-github/source_github/schemas/teams.json @@ -1,50 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", "type": "object", + "required": ["id"], "properties": { - "organization": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "slug": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "privacy": { - "type": ["null", "string"] - }, - "notification_setting": { - "type": ["null", "string"] - }, - "permission": { - "type": ["null", "string"] - }, - "members_url": { - "type": ["null", "string"] - }, - "repositories_url": { - "type": ["null", "string"] - }, - "parent": { - "type": ["null", "object"], - "properties": {}, - "additionalProperties": true + "type": "integer" } } } diff --git a/source-github/source_github/schemas/users.json b/source-github/source_github/schemas/users.json index 5236cd3623..2bdf61e300 100644 --- a/source-github/source_github/schemas/users.json +++ b/source-github/source_github/schemas/users.json @@ -1,63 +1,10 @@ { "$schema": "https://json-schema.org/draft-07/schema#", - "type": ["null", "object"], + "type": "object", + "required": ["id"], "properties": { - "organization": { - "type": ["null", "string"] - }, - "login": { - "type": ["null", "string"] - }, "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "avatar_url": { - "type": ["null", "string"] - }, - "gravatar_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "followers_url": { - "type": ["null", "string"] - }, - "following_url": { - "type": ["null", "string"] - }, - "gists_url": { - "type": ["null", "string"] - }, - "starred_url": { - "type": ["null", "string"] - }, - "subscriptions_url": { - "type": ["null", "string"] - }, - "organizations_url": { - "type": ["null", "string"] - }, - "repos_url": { - "type": ["null", "string"] - }, - "events_url": { - "type": ["null", "string"] - }, - "received_events_url": { - "type": ["null", "string"] - }, - "type": { - "type": ["null", "string"] - }, - "site_admin": { - "type": ["null", "boolean"] + "type": "integer" } } } diff --git a/source-github/source_github/schemas/workflow_jobs.json b/source-github/source_github/schemas/workflow_jobs.json index a46ed3cf54..206a84309a 100644 --- a/source-github/source_github/schemas/workflow_jobs.json +++ b/source-github/source_github/schemas/workflow_jobs.json @@ -1,109 +1,13 @@ { "$schema": "https://json-schema.org/draft-04/schema#", "type": "object", + "required": ["id", "run_id"], "properties": { "id": { "type": "integer" }, "run_id": { "type": "integer" - }, - "workflow_name": { - "type": ["null", "string"] - }, - "head_branch": { - "type": ["null", "string"] - }, - "run_url": { - "type": "string" - }, - "run_attempt": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "head_sha": { - "type": "string" - }, - "url": { - "type": "string" - }, - "html_url": { - "type": ["null", "string"] - }, - "status": { - "type": "string" - }, - "conclusion": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "started_at": { - "type": "string", - "format": "date-time" - }, - "completed_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "name": { - "type": "string" - }, - "steps": { - "type": "array", - "items": { - "type": "object", - "properties": { - "status": { - "type": "string" - }, - "conclusion": { - "type": ["null", "string"] - }, - "name": { - "type": "string" - }, - "number": { - "type": "integer" - }, - "started_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "completed_at": { - "type": ["null", "string"], - "format": "date-time" - } - } - } - }, - "check_run_url": { - "type": "string" - }, - "labels": { - "type": "array", - "items": { - "type": "string" - } - }, - "runner_id": { - "type": ["integer", "null"] - }, - "runner_name": { - "type": ["null", "string"] - }, - "runner_group_id": { - "type": ["integer", "null"] - }, - "runner_group_name": { - "type": ["null", "string"] - }, - "repository": { - "type": "string" } } } diff --git a/source-github/source_github/schemas/workflow_runs.json b/source-github/source_github/schemas/workflow_runs.json index 0ece899091..31bafb0245 100644 --- a/source-github/source_github/schemas/workflow_runs.json +++ b/source-github/source_github/schemas/workflow_runs.json @@ -1,449 +1,10 @@ { "$schema": "https://json-schema.org/draft-04/schema#", "type": "object", + "required": ["id"], "properties": { "id": { - "type": ["null", "integer"] - }, - "name": { - "type": ["null", "string"] - }, - "node_id": { - "type": ["null", "string"] - }, - "head_branch": { - "type": ["null", "string"] - }, - "head_sha": { - "type": ["null", "string"] - }, - "path": { - "type": ["null", "string"] - }, - "display_title": { - "type": ["null", "string"] - }, - "run_number": { - "type": ["null", "integer"] - }, - "event": { - "type": ["null", "string"] - }, - "status": { - "type": ["null", "string"] - }, - "conclusion": { - "type": ["null", "string"] - }, - "workflow_id": { - "type": ["null", "integer"] - }, - "check_suite_id": { - "type": ["null", "integer"] - }, - "check_suite_node_id": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "pull_requests": { - "type": "array", - "items": { - "type": ["null", "object"], - "properties": {}, - "additionalProperties": true - } - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "run_attempt": { - "type": ["null", "integer"] - }, - "referenced_workflows": { - "type": "array", - "items": { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "sha": { - "type": "string" - }, - "ref": { - "type": "string" - } - } - } - }, - "run_started_at": { - "type": "string", - "format": "date-time" - }, - "jobs_url": { - "type": ["null", "string"] - }, - "logs_url": { - "type": ["null", "string"] - }, - "check_suite_url": { - "type": ["null", "string"] - }, - "artifacts_url": { - "type": ["null", "string"] - }, - "cancel_url": { - "type": ["null", "string"] - }, - "rerun_url": { - "type": ["null", "string"] - }, - "previous_attempt_url": { - "type": ["null", "string"] - }, - "workflow_url": { - "type": ["null", "string"] - }, - "head_commit": { - "type": "object", - "properties": { - "id": { - "type": ["null", "string"] - }, - "tree_id": { - "type": ["null", "string"] - }, - "message": { - "type": ["null", "string"] - }, - "timestamp": { - "type": ["null", "string"] - }, - "author": { - "type": "object", - "properties": { - "name": { - "type": ["null", "string"] - }, - "email": { - "type": ["null", "string"] - } - } - }, - "committer": { - "type": "object", - "properties": { - "name": { - "type": ["null", "string"] - }, - "email": { - "type": ["null", "string"] - } - } - } - } - }, - "repository": { - "type": "object", - "properties": { - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "full_name": { - "type": "string" - }, - "private": { - "type": ["null", "boolean"] - }, - "owner": { - "$ref": "user.json" - }, - "html_url": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "fork": { - "type": ["null", "boolean"] - }, - "url": { - "type": ["null", "string"] - }, - "forks_url": { - "type": ["null", "string"] - }, - "keys_url": { - "type": ["null", "string"] - }, - "collaborators_url": { - "type": ["null", "string"] - }, - "teams_url": { - "type": ["null", "string"] - }, - "hooks_url": { - "type": ["null", "string"] - }, - "issue_events_url": { - "type": ["null", "string"] - }, - "events_url": { - "type": ["null", "string"] - }, - "assignees_url": { - "type": ["null", "string"] - }, - "branches_url": { - "type": ["null", "string"] - }, - "tags_url": { - "type": ["null", "string"] - }, - "blobs_url": { - "type": ["null", "string"] - }, - "git_tags_url": { - "type": ["null", "string"] - }, - "git_refs_url": { - "type": ["null", "string"] - }, - "trees_url": { - "type": ["null", "string"] - }, - "statuses_url": { - "type": ["null", "string"] - }, - "languages_url": { - "type": ["null", "string"] - }, - "stargazers_url": { - "type": ["null", "string"] - }, - "contributors_url": { - "type": ["null", "string"] - }, - "subscribers_url": { - "type": ["null", "string"] - }, - "subscription_url": { - "type": ["null", "string"] - }, - "commits_url": { - "type": ["null", "string"] - }, - "git_commits_url": { - "type": ["null", "string"] - }, - "comments_url": { - "type": ["null", "string"] - }, - "issue_comment_url": { - "type": ["null", "string"] - }, - "contents_url": { - "type": ["null", "string"] - }, - "compare_url": { - "type": ["null", "string"] - }, - "merges_url": { - "type": ["null", "string"] - }, - "archive_url": { - "type": ["null", "string"] - }, - "downloads_url": { - "type": ["null", "string"] - }, - "issues_url": { - "type": ["null", "string"] - }, - "pulls_url": { - "type": ["null", "string"] - }, - "milestones_url": { - "type": ["null", "string"] - }, - "notifications_url": { - "type": ["null", "string"] - }, - "labels_url": { - "type": ["null", "string"] - }, - "releases_url": { - "type": ["null", "string"] - }, - "deployments_url": { - "type": ["null", "string"] - } - } - }, - "head_repository": { - "type": ["null", "object"], - "properties": { - "id": { - "type": ["null", "integer"] - }, - "node_id": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "full_name": { - "type": ["null", "string"] - }, - "private": { - "type": ["null", "boolean"] - }, - "owner": { - "$ref": "user.json" - }, - "html_url": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "fork": { - "type": ["null", "boolean"] - }, - "url": { - "type": ["null", "string"] - }, - "forks_url": { - "type": ["null", "string"] - }, - "keys_url": { - "type": ["null", "string"] - }, - "collaborators_url": { - "type": ["null", "string"] - }, - "teams_url": { - "type": ["null", "string"] - }, - "hooks_url": { - "type": ["null", "string"] - }, - "issue_events_url": { - "type": ["null", "string"] - }, - "events_url": { - "type": ["null", "string"] - }, - "assignees_url": { - "type": ["null", "string"] - }, - "branches_url": { - "type": ["null", "string"] - }, - "tags_url": { - "type": ["null", "string"] - }, - "blobs_url": { - "type": ["null", "string"] - }, - "git_tags_url": { - "type": ["null", "string"] - }, - "git_refs_url": { - "type": ["null", "string"] - }, - "trees_url": { - "type": ["null", "string"] - }, - "statuses_url": { - "type": ["null", "string"] - }, - "languages_url": { - "type": ["null", "string"] - }, - "stargazers_url": { - "type": ["null", "string"] - }, - "contributors_url": { - "type": ["null", "string"] - }, - "subscribers_url": { - "type": ["null", "string"] - }, - "subscription_url": { - "type": ["null", "string"] - }, - "commits_url": { - "type": ["null", "string"] - }, - "git_commits_url": { - "type": ["null", "string"] - }, - "comments_url": { - "type": ["null", "string"] - }, - "issue_comment_url": { - "type": ["null", "string"] - }, - "contents_url": { - "type": ["null", "string"] - }, - "compare_url": { - "type": ["null", "string"] - }, - "merges_url": { - "type": ["null", "string"] - }, - "archive_url": { - "type": ["null", "string"] - }, - "downloads_url": { - "type": ["null", "string"] - }, - "issues_url": { - "type": ["null", "string"] - }, - "pulls_url": { - "type": ["null", "string"] - }, - "milestones_url": { - "type": ["null", "string"] - }, - "notifications_url": { - "type": ["null", "string"] - }, - "labels_url": { - "type": ["null", "string"] - }, - "releases_url": { - "type": ["null", "string"] - }, - "deployments_url": { - "type": ["null", "string"] - } - } - }, - "actor": { - "$ref": "user.json" - }, - "triggering_actor": { - "$ref": "user.json" + "type": "integer" } } } diff --git a/source-github/source_github/schemas/workflows.json b/source-github/source_github/schemas/workflows.json index cf7e341e86..31bafb0245 100644 --- a/source-github/source_github/schemas/workflows.json +++ b/source-github/source_github/schemas/workflows.json @@ -1,41 +1,10 @@ { "$schema": "https://json-schema.org/draft-04/schema#", - "type": ["null", "object"], + "type": "object", + "required": ["id"], "properties": { "id": { "type": "integer" - }, - "node_id": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "path": { - "type": ["null", "string"] - }, - "state": { - "type": ["null", "string"] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { - "type": ["null", "string"] - }, - "html_url": { - "type": ["null", "string"] - }, - "badge_url": { - "type": ["null", "string"] - }, - "repository": { - "type": "string" } } } diff --git a/source-github/source_github/spec.json b/source-github/source_github/spec.json index 149bcc7f15..e971b5e5b2 100644 --- a/source-github/source_github/spec.json +++ b/source-github/source_github/spec.json @@ -1,28 +1,28 @@ { - "documentationUrl": "https://docs.airbyte.com/integrations/sources/github", + "documentationUrl": "https://go.estuary.dev/xLGlPL", "connectionSpecification": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "GitHub Source Spec", "type": "object", - "required": ["credentials", "repositories"], + "required": ["start_date", "repositories", "credentials"], "additionalProperties": true, "properties": { "credentials": { - "title": "Authentication", - "description": "Choose how to authenticate to GitHub", "type": "object", - "order": 0, - "group": "auth", - "oneOf": [ - { + "title": "Authentication Method", + "description": "Choose either OAuth or Personal Access Token.", + "discriminator": { + "propertyName": "option_title" + }, + "oneOf": [{ "type": "object", "title": "OAuth", + "x-oauth2-provider": "github", "required": ["access_token"], "properties": { "option_title": { "type": "string", - "const": "OAuth Credentials", - "order": 0 + "const": "OAuth Credentials" }, "access_token": { "type": "string", @@ -32,14 +32,14 @@ }, "client_id": { "type": "string", - "title": "Client Id", - "description": "OAuth Client Id", + "title": "client_id", + "description": "client_id", "airbyte_secret": true }, "client_secret": { "type": "string", - "title": "Client ssecret", - "description": "OAuth Client secret", + "title": "client_secret", + "description": "client_secret", "airbyte_secret": true } } @@ -51,32 +51,18 @@ "properties": { "option_title": { "type": "string", - "const": "PAT Credentials", - "order": 0 + "const": "PAT Credentials" }, "personal_access_token": { "type": "string", "title": "Personal Access Tokens", - "description": "Log into GitHub and then generate a personal access token. To load balance your API quota consumption across multiple API tokens, input multiple tokens separated with \",\"", + "description": "Log into GitHub and then generate a personal access token: https://github.com/settings/tokens. To load balance your API quota consumption across multiple API tokens, input multipletokens separated with \",\"", "airbyte_secret": true } } } ] }, - "repository": { - "type": "string", - "examples": [ - "airbytehq/airbyte airbytehq/another-repo", - "airbytehq/*", - "airbytehq/airbyte" - ], - "title": "GitHub Repositories", - "description": "(DEPRCATED) Space-delimited list of GitHub organizations/repositories, e.g. `airbytehq/airbyte` for single repository, `airbytehq/*` for get all repositories from organization and `airbytehq/airbyte airbytehq/another-repo` for multiple repositories.", - "airbyte_hidden": true, - "pattern": "^([\\w.-]+/(\\*|[\\w.-]+(?docs for more info", - "examples": ["2021-03-01T00:00:00Z"], + "description": "The date from which you'd like to replicate data from GitHub in the format YYYY-MM-DDT00:00:00Z. For the streams which support this configuration, only data generated on or after the startdate will be replicated. This field doesn't apply to all streams, see the docs for more info: https://go.estuary.dev/xLGlPL", + "order": 0, + "title": "Start Date", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$", - "pattern_descriptor": "YYYY-MM-DDTHH:mm:ssZ", - "order": 2, + "examples": ["2017-01-25T00:00:00Z"], "format": "date-time" }, "api_url": { "type": "string", - "examples": ["https://github.com", "https://github.company.org"], + "examples": ["https://github.com"], "title": "API URL", "default": "https://api.github.com/", "description": "Please enter your basic URL from self-hosted GitHub instance or leave it empty to use GitHub.", "order": 3 }, - "branch": { - "type": "string", - "title": "Branch", - "examples": ["airbytehq/airbyte/master airbytehq/airbyte/my-branch"], - "description": "(DEPRCATED) Space-delimited list of GitHub repository branches to pull commits for, e.g. `airbytehq/airbyte/master`. If no branches are specified for a repository, the default branch will be pulled.", - "airbyte_hidden": true, - "pattern_descriptor": "org/repo/branch1 org/repo/branch2" - }, "branches": { "type": "array", "items": { "type": "string" }, "title": "Branches", - "examples": ["airbytehq/airbyte/master", "airbytehq/airbyte/my-branch"], + "examples": ["estuary/connectors"], "description": "List of GitHub repository branches to pull commits for, e.g. `airbytehq/airbyte/master`. If no branches are specified for a repository, the default branch will be pulled.", - "order": 4, - "pattern_descriptor": "org/repo/branch1 org/repo/branch2" + "order": 4 } } }, diff --git a/source-github/source_github/streams.py b/source-github/source_github/streams.py index ec12e895f6..13d0b67abf 100644 --- a/source-github/source_github/streams.py +++ b/source-github/source_github/streams.py @@ -382,7 +382,7 @@ class Branches(GithubStream): API docs: https://docs.github.com/en/rest/branches/branches?apiVersion=2022-11-28#list-branches """ - primary_key = ["repository", "name"] + primary_key = ["name"] def path(self, stream_slice: Mapping[str, Any] = None, **kwargs) -> str: return f"repos/{stream_slice['repository']}/branches" @@ -461,7 +461,7 @@ class Tags(GithubStream): API docs: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-repository-tags """ - primary_key = ["repository", "name"] + primary_key = ["name"] def path(self, stream_slice: Mapping[str, Any] = None, **kwargs) -> str: return f"repos/{stream_slice['repository']}/tags" @@ -1681,7 +1681,7 @@ class IssueTimelineEvents(GithubStream): API docs https://docs.github.com/en/rest/issues/timeline?apiVersion=2022-11-28#list-timeline-events-for-an-issue """ - primary_key = ["repository", "issue_number"] + primary_key = ["issue_number"] def __init__(self, **kwargs): super().__init__(**kwargs) diff --git a/source-github/test.flow.yaml b/source-github/test.flow.yaml index 327dfda770..765269a15a 100644 --- a/source-github/test.flow.yaml +++ b/source-github/test.flow.yaml @@ -4,28 +4,28 @@ import: captures: acmeCo/source-github: endpoint: - connector: - image: "ghcr.io/estuary/source-github:v2" + local: + command: + - python + - "-m" + - source_github config: config.yaml bindings: + - resource: + stream: issue_timeline_events + syncMode: full_refresh + target: acmeCo/issue_timeline_events - resource: stream: assignees syncMode: full_refresh - cursorField: - - id target: acmeCo/assignees - resource: stream: branches syncMode: full_refresh - cursorField: - - repository - - name target: acmeCo/branches - resource: stream: collaborators syncMode: full_refresh - cursorField: - - id target: acmeCo/collaborators - resource: stream: comments @@ -51,6 +51,10 @@ captures: cursorField: - created_at target: acmeCo/commits + - resource: + stream: contributor_activity + syncMode: full_refresh + target: acmeCo/contributor_activity - resource: stream: deployments syncMode: incremental @@ -78,8 +82,6 @@ captures: - resource: stream: issue_labels syncMode: full_refresh - cursorField: - - id target: acmeCo/issue_labels - resource: stream: issue_milestones @@ -102,8 +104,6 @@ captures: - resource: stream: organizations syncMode: full_refresh - cursorField: - - id target: acmeCo/organizations - resource: stream: project_cards @@ -132,8 +132,6 @@ captures: - resource: stream: pull_request_commits syncMode: full_refresh - cursorField: - - sha target: acmeCo/pull_request_commits - resource: stream: pull_request_stats @@ -141,6 +139,12 @@ captures: cursorField: - updated_at target: acmeCo/pull_request_stats + - resource: + stream: projects_v2 + syncMode: incremental + cursorField: + - updated_at + target: acmeCo/projects_v2 - resource: stream: pull_requests syncMode: incremental @@ -180,28 +184,18 @@ captures: - resource: stream: tags syncMode: full_refresh - cursorField: - - repository - - name target: acmeCo/tags - resource: stream: teams syncMode: full_refresh - cursorField: - - id target: acmeCo/teams - resource: stream: team_members syncMode: full_refresh - cursorField: - - id - - team_slug target: acmeCo/team_members - resource: stream: users syncMode: full_refresh - cursorField: - - id target: acmeCo/users - resource: stream: workflows @@ -224,8 +218,6 @@ captures: - resource: stream: team_memberships syncMode: full_refresh - cursorField: - - url target: acmeCo/team_memberships shards: logLevel: debug diff --git a/source-github/tests/snapshots/source_github_tests_test_snapshots__capture__stdout.json b/source-github/tests/snapshots/source_github_tests_test_snapshots__capture__stdout.json index 1700b10214..a3adea8e51 100644 --- a/source-github/tests/snapshots/source_github_tests_test_snapshots__capture__stdout.json +++ b/source-github/tests/snapshots/source_github_tests_test_snapshots__capture__stdout.json @@ -1,7 +1,24 @@ [ + [ + "acmeCo/issue_timeline_events", + { + "_meta": { + "op": "u", + "row_id": 0, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, + "issue_number": 1, + "repository": "sourcegithub1/testsource" + } + ], [ "acmeCo/assignees", { + "_meta": { + "op": "u", + "row_id": 0, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, "avatar_url": "https://avatars.githubusercontent.com/u/168158797?v=4", "events_url": "https://api.github.com/users/sourcegithub1/events{/privacy}", "followers_url": "https://api.github.com/users/sourcegithub1/followers", @@ -26,9 +43,14 @@ [ "acmeCo/branches", { + "_meta": { + "op": "u", + "row_id": 0, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, "commit": { - "sha": "a0f73cb397a48afc587af027122fd4fbbdc52560", - "url": "https://api.github.com/repos/sourcegithub1/testsource/commits/a0f73cb397a48afc587af027122fd4fbbdc52560" + "sha": "1e4df82f4ae52fabec8c693c44d0e10877816829", + "url": "https://api.github.com/repos/sourcegithub1/testsource/commits/1e4df82f4ae52fabec8c693c44d0e10877816829" }, "name": "main", "protected": false, @@ -47,6 +69,11 @@ [ "acmeCo/collaborators", { + "_meta": { + "op": "u", + "row_id": 0, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, "avatar_url": "https://avatars.githubusercontent.com/u/168158797?v=4", "events_url": "https://api.github.com/users/sourcegithub1/events{/privacy}", "followers_url": "https://api.github.com/users/sourcegithub1/followers", @@ -76,9 +103,159 @@ "url": "https://api.github.com/users/sourcegithub1" } ], + [ + "acmeCo/commit_comments", + { + "_meta": { + "op": "u", + "row_id": 0, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, + "author_association": "OWNER", + "body": "comment for a0f73cb397a48afc587af027122fd4fbbdc52560 branch", + "commit_id": "a0f73cb397a48afc587af027122fd4fbbdc52560", + "created_at": "2024-04-26T05:10:14Z", + "html_url": "https://github.com/sourcegithub1/testsource/commit/a0f73cb397a48afc587af027122fd4fbbdc52560#commitcomment-141387134", + "id": 141387134, + "line": null, + "node_id": "CC_kwDOLzc5q84IbWV-", + "path": null, + "position": null, + "reactions": { + "+1": 0, + "-1": 0, + "confused": 0, + "eyes": 0, + "heart": 0, + "hooray": 0, + "laugh": 0, + "rocket": 0, + "total_count": 0, + "url": "https://api.github.com/repos/sourcegithub1/testsource/comments/141387134/reactions" + }, + "repository": "sourcegithub1/testsource", + "updated_at": "2024-04-26T05:10:14Z", + "url": "https://api.github.com/repos/sourcegithub1/testsource/comments/141387134", + "user": { + "avatar_url": "https://avatars.githubusercontent.com/u/168158797?v=4", + "events_url": "https://api.github.com/users/sourcegithub1/events{/privacy}", + "followers_url": "https://api.github.com/users/sourcegithub1/followers", + "following_url": "https://api.github.com/users/sourcegithub1/following{/other_user}", + "gists_url": "https://api.github.com/users/sourcegithub1/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/sourcegithub1", + "id": 168158797, + "login": "sourcegithub1", + "node_id": "U_kgDOCgXmTQ", + "organizations_url": "https://api.github.com/users/sourcegithub1/orgs", + "received_events_url": "https://api.github.com/users/sourcegithub1/received_events", + "repos_url": "https://api.github.com/users/sourcegithub1/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/sourcegithub1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/sourcegithub1/subscriptions", + "type": "User", + "url": "https://api.github.com/users/sourcegithub1" + } + } + ], [ "acmeCo/commits", { + "_meta": { + "op": "u", + "row_id": 0, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, + "author": { + "avatar_url": "https://avatars.githubusercontent.com/u/168158797?v=4", + "events_url": "https://api.github.com/users/sourcegithub1/events{/privacy}", + "followers_url": "https://api.github.com/users/sourcegithub1/followers", + "following_url": "https://api.github.com/users/sourcegithub1/following{/other_user}", + "gists_url": "https://api.github.com/users/sourcegithub1/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/sourcegithub1", + "id": 168158797, + "login": "sourcegithub1", + "node_id": "U_kgDOCgXmTQ", + "organizations_url": "https://api.github.com/users/sourcegithub1/orgs", + "received_events_url": "https://api.github.com/users/sourcegithub1/received_events", + "repos_url": "https://api.github.com/users/sourcegithub1/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/sourcegithub1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/sourcegithub1/subscriptions", + "type": "User", + "url": "https://api.github.com/users/sourcegithub1" + }, + "branch": "main", + "comments_url": "https://api.github.com/repos/sourcegithub1/testsource/commits/1e4df82f4ae52fabec8c693c44d0e10877816829/comments", + "commit": { + "author": { + "date": "2024-05-06T18:25:02Z", + "email": "168158797+sourcegithub1@users.noreply.github.com", + "name": "sourcegithub1" + }, + "comment_count": 0, + "committer": { + "date": "2024-05-06T18:25:02Z", + "email": "noreply@github.com", + "name": "GitHub" + }, + "message": "Upload random test data", + "tree": { + "sha": "fb0f8444cfc24520345828a03dcd4530e6613276", + "url": "https://api.github.com/repos/sourcegithub1/testsource/git/trees/fb0f8444cfc24520345828a03dcd4530e6613276" + }, + "url": "https://api.github.com/repos/sourcegithub1/testsource/git/commits/1e4df82f4ae52fabec8c693c44d0e10877816829", + "verification": { + "payload": "tree fb0f8444cfc24520345828a03dcd4530e6613276\nparent a0f73cb397a48afc587af027122fd4fbbdc52560\nauthor sourcegithub1 <168158797+sourcegithub1@users.noreply.github.com> 1715019902 -0300\ncommitter GitHub 1715019902 -0300\n\nUpload random test data", + "reason": "valid", + "signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJmOSCLCRC1aQ7uu5UhlAAAfbAQAAHWkAFuVIW7+CHmxrE0dn8l\nBAO58VMe5lEbaRVXbvhc8L2fmBoeNmKm4gj8UEDqk+hsL+M7xUGMxK5JpxcO2P1t\no8wBlAlHH7XCZp7N58G8iYxvzuFRGvx/Vcmy7WSfdhf2a8PX/nMya1hzFAprmmv7\nIU/peExcf6zF9bIsLTIzSQ814wkFUKr5qd49GfE4s//nkrE+HKmTEuCsx5CyouRR\niR3eddTOEL6u7KLw/r45uBTVL0ECEnc4ybijdRtsa4lwBu8L6vQwADbYktsC0MZL\n4HOXWxmonDzGnSziKPc8t7leRiBOONEEqf+O73FILm+Dricj1xkMR2ZMmfSgqWMf\neYBHjmrEoiqTqvOBeqAc5KXXL3AJEKUc881Fx8yNEd4dOuEN7bMRE2x0GlQ+2mqp\n9KA54Q/EVJ1mLFwThmbsLAIzSLPk2yjhJiGbuTAubtGSL1yhaDXS9tWhNaZwFAdu\nEAXJxM4R592DLjqgR2RqVqar6oK6Bf8K4onBWGMtXApC4No/zFVpr/8hNShGrzxC\nCeSqmxAjwqveYAFx7/6o302wxD/fg4MvsZ2NbKiJNYWu4amkSXG2oCdOP1Vyxw6K\nqji1e8/WY4vID8dTJhoNaWzkxAHQdgA2R8Ijt2wYyV5cAEFpNZdk6zPw6V9QB/2O\n1OCwROmCCwYOOkyEghJV\n=BZBr\n-----END PGP SIGNATURE-----\n", + "verified": true + } + }, + "committer": { + "avatar_url": "https://avatars.githubusercontent.com/u/19864447?v=4", + "events_url": "https://api.github.com/users/web-flow/events{/privacy}", + "followers_url": "https://api.github.com/users/web-flow/followers", + "following_url": "https://api.github.com/users/web-flow/following{/other_user}", + "gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/web-flow", + "id": 19864447, + "login": "web-flow", + "node_id": "MDQ6VXNlcjE5ODY0NDQ3", + "organizations_url": "https://api.github.com/users/web-flow/orgs", + "received_events_url": "https://api.github.com/users/web-flow/received_events", + "repos_url": "https://api.github.com/users/web-flow/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/web-flow/subscriptions", + "type": "User", + "url": "https://api.github.com/users/web-flow" + }, + "created_at": "2024-05-06T18:25:02Z", + "html_url": "https://github.com/sourcegithub1/testsource/commit/1e4df82f4ae52fabec8c693c44d0e10877816829", + "node_id": "C_kwDOLzc5q9oAKDFlNGRmODJmNGFlNTJmYWJlYzhjNjkzYzQ0ZDBlMTA4Nzc4MTY4Mjk", + "parents": [ + { + "html_url": "https://github.com/sourcegithub1/testsource/commit/a0f73cb397a48afc587af027122fd4fbbdc52560", + "sha": "a0f73cb397a48afc587af027122fd4fbbdc52560", + "url": "https://api.github.com/repos/sourcegithub1/testsource/commits/a0f73cb397a48afc587af027122fd4fbbdc52560" + } + ], + "repository": "sourcegithub1/testsource", + "sha": "1e4df82f4ae52fabec8c693c44d0e10877816829", + "url": "https://api.github.com/repos/sourcegithub1/testsource/commits/1e4df82f4ae52fabec8c693c44d0e10877816829" + } + ], + [ + "acmeCo/commits", + { + "_meta": { + "op": "u", + "row_id": 1, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, "author": { "avatar_url": "https://avatars.githubusercontent.com/u/168158797?v=4", "events_url": "https://api.github.com/users/sourcegithub1/events{/privacy}", @@ -107,7 +284,7 @@ "email": "168158797+sourcegithub1@users.noreply.github.com", "name": "sourcegithub1" }, - "comment_count": 0, + "comment_count": 1, "committer": { "date": "2024-04-26T04:33:02Z", "email": "noreply@github.com", @@ -154,5 +331,331 @@ "sha": "a0f73cb397a48afc587af027122fd4fbbdc52560", "url": "https://api.github.com/repos/sourcegithub1/testsource/commits/a0f73cb397a48afc587af027122fd4fbbdc52560" } + ], + [ + "acmeCo/contributor_activity", + { + "_meta": { + "op": "u", + "row_id": 0, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, + "avatar_url": "https://avatars.githubusercontent.com/u/168158797?v=4", + "events_url": "https://api.github.com/users/sourcegithub1/events{/privacy}", + "followers_url": "https://api.github.com/users/sourcegithub1/followers", + "following_url": "https://api.github.com/users/sourcegithub1/following{/other_user}", + "gists_url": "https://api.github.com/users/sourcegithub1/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/sourcegithub1", + "id": 168158797, + "login": "sourcegithub1", + "node_id": "U_kgDOCgXmTQ", + "organizations_url": "https://api.github.com/users/sourcegithub1/orgs", + "received_events_url": "https://api.github.com/users/sourcegithub1/received_events", + "repos_url": "https://api.github.com/users/sourcegithub1/repos", + "repository": "sourcegithub1/testsource", + "site_admin": false, + "starred_url": "https://api.github.com/users/sourcegithub1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/sourcegithub1/subscriptions", + "total": 2, + "type": "User", + "url": "https://api.github.com/users/sourcegithub1", + "weeks": [ + { + "a": 2, + "c": 1, + "d": 0, + "w": 1713657600 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1714262400 + }, + { + "a": 99000, + "c": 1, + "d": 0, + "w": 1714867200 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1715472000 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1716076800 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1716681600 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1717286400 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1717891200 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1718496000 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1719100800 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1719705600 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1720310400 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1720915200 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1721520000 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1722124800 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1722729600 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1723334400 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1723939200 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1724544000 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1725148800 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1725753600 + }, + { + "a": 0, + "c": 0, + "d": 0, + "w": 1726358400 + } + ] + } + ], + [ + "acmeCo/issue_labels", + { + "_meta": { + "op": "u", + "row_id": 0, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, + "color": "d73a4a", + "default": true, + "description": "Something isn't working", + "id": 6873445279, + "name": "bug", + "node_id": "LA_kwDOLzc5q88AAAABmbBznw", + "repository": "sourcegithub1/testsource", + "url": "https://api.github.com/repos/sourcegithub1/testsource/labels/bug" + } + ], + [ + "acmeCo/issue_labels", + { + "_meta": { + "op": "u", + "row_id": 1, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, + "color": "0075ca", + "default": true, + "description": "Improvements or additions to documentation", + "id": 6873445281, + "name": "documentation", + "node_id": "LA_kwDOLzc5q88AAAABmbBzoQ", + "repository": "sourcegithub1/testsource", + "url": "https://api.github.com/repos/sourcegithub1/testsource/labels/documentation" + } + ], + [ + "acmeCo/issue_labels", + { + "_meta": { + "op": "u", + "row_id": 2, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, + "color": "cfd3d7", + "default": true, + "description": "This issue or pull request already exists", + "id": 6873445283, + "name": "duplicate", + "node_id": "LA_kwDOLzc5q88AAAABmbBzow", + "repository": "sourcegithub1/testsource", + "url": "https://api.github.com/repos/sourcegithub1/testsource/labels/duplicate" + } + ], + [ + "acmeCo/issue_labels", + { + "_meta": { + "op": "u", + "row_id": 3, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, + "color": "a2eeef", + "default": true, + "description": "New feature or request", + "id": 6873445285, + "name": "enhancement", + "node_id": "LA_kwDOLzc5q88AAAABmbBzpQ", + "repository": "sourcegithub1/testsource", + "url": "https://api.github.com/repos/sourcegithub1/testsource/labels/enhancement" + } + ], + [ + "acmeCo/issue_labels", + { + "_meta": { + "op": "u", + "row_id": 5, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, + "color": "008672", + "default": true, + "description": "Extra attention is needed", + "id": 6873445287, + "name": "help wanted", + "node_id": "LA_kwDOLzc5q88AAAABmbBzpw", + "repository": "sourcegithub1/testsource", + "url": "https://api.github.com/repos/sourcegithub1/testsource/labels/help%20wanted" + } + ], + [ + "acmeCo/issue_labels", + { + "_meta": { + "op": "u", + "row_id": 4, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, + "color": "7057ff", + "default": true, + "description": "Good for newcomers", + "id": 6873445289, + "name": "good first issue", + "node_id": "LA_kwDOLzc5q88AAAABmbBzqQ", + "repository": "sourcegithub1/testsource", + "url": "https://api.github.com/repos/sourcegithub1/testsource/labels/good%20first%20issue" + } + ], + [ + "acmeCo/issue_labels", + { + "_meta": { + "op": "u", + "row_id": 6, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, + "color": "e4e669", + "default": true, + "description": "This doesn't seem right", + "id": 6873445291, + "name": "invalid", + "node_id": "LA_kwDOLzc5q88AAAABmbBzqw", + "repository": "sourcegithub1/testsource", + "url": "https://api.github.com/repos/sourcegithub1/testsource/labels/invalid" + } + ], + [ + "acmeCo/issue_labels", + { + "_meta": { + "op": "u", + "row_id": 7, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, + "color": "d876e3", + "default": true, + "description": "Further information is requested", + "id": 6873445293, + "name": "question", + "node_id": "LA_kwDOLzc5q88AAAABmbBzrQ", + "repository": "sourcegithub1/testsource", + "url": "https://api.github.com/repos/sourcegithub1/testsource/labels/question" + } + ], + [ + "acmeCo/issue_labels", + { + "_meta": { + "op": "u", + "row_id": 8, + "uuid": "DocUUIDPlaceholder-329Bb50aa48EAa9ef" + }, + "color": "ffffff", + "default": true, + "description": "This will not be worked on", + "id": 6873445296, + "name": "wontfix", + "node_id": "LA_kwDOLzc5q88AAAABmbBzsA", + "repository": "sourcegithub1/testsource", + "url": "https://api.github.com/repos/sourcegithub1/testsource/labels/wontfix" + } ] ] diff --git a/source-github/tests/snapshots/source_github_tests_test_snapshots__discover__stdout.json b/source-github/tests/snapshots/source_github_tests_test_snapshots__discover__stdout.json index 896baaa0ab..8169930b81 100644 --- a/source-github/tests/snapshots/source_github_tests_test_snapshots__discover__stdout.json +++ b/source-github/tests/snapshots/source_github_tests_test_snapshots__discover__stdout.json @@ -1,131 +1,68 @@ [ + { + "recommendedName": "issue_timeline_events", + "resourceConfig": { + "stream": "issue_timeline_events", + "syncMode": "full_refresh" + }, + "documentSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "issue_number" + ], + "additionalProperties": true, + "properties": { + "issue_number": { + "type": "integer" + }, + "_meta": { + "type": "object", + "properties": { + "row_id": { + "type": "integer" + } + }, + "required": [ + "row_id" + ] + } + }, + "x-infer-schema": true + }, + "key": [ + "/issue_number" + ] + }, { "recommendedName": "assignees", "resourceConfig": { "stream": "assignees", - "syncMode": "full_refresh", - "cursorField": [ - "id" - ] + "syncMode": "full_refresh" }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" + "_meta": { + "type": "object", + "properties": { + "row_id": { + "type": "integer" + } + }, + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -135,96 +72,33 @@ "recommendedName": "branches", "resourceConfig": { "stream": "branches", - "syncMode": "full_refresh", - "cursorField": [ - "repository", - "name" - ] + "syncMode": "full_refresh" }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "name" + ], "properties": { - "commit": { - "properties": { - "sha": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, "name": { "type": "string" }, - "protected": { - "type": [ - "null", - "boolean" - ] - }, - "protection": { + "_meta": { + "type": "object", "properties": { - "required_status_checks": { - "properties": { - "contexts": { - "items": { - "type": [ - "null", - "string" - ] - }, - "type": [ - "null", - "array" - ] - }, - "enforcement_level": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" + "required": [ + "row_id" ] - }, - "protection_url": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": "string" } }, - "required": [ - "repository", - "name" - ], - "type": "object" + "x-infer-schema": true }, "key": [ - "/repository", "/name" ] }, @@ -232,155 +106,31 @@ "recommendedName": "collaborators", "resourceConfig": { "stream": "collaborators", - "syncMode": "full_refresh", - "cursorField": [ - "id" - ] + "syncMode": "full_refresh" }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "permissions": { + "_meta": { + "type": "object", "properties": { - "admin": { - "type": [ - "null", - "boolean" - ] - }, - "pull": { - "type": [ - "null", - "boolean" - ] - }, - "push": { - "type": [ - "null", - "boolean" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -397,192 +147,27 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "author_association": { - "type": [ - "null", - "string" - ] - }, - "body": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "issue_url": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "user": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "user_id": { - "type": [ - "null", - "integer" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -598,155 +183,27 @@ ] }, "documentSchema": { + "type": "object", + "required": [ + "id" + ], "properties": { - "comment_id": { - "type": "integer" - }, - "content": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": "string" - }, "id": { "type": "integer" }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": "string" - }, - "user": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": [ - "object" - ] + "x-infer-schema": true }, "key": [ "/id" @@ -763,204 +220,27 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "author_association": { - "type": [ - "null", - "string" - ] - }, - "body": { - "type": [ - "null", - "string" - ] - }, - "commit_id": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "line": { - "type": [ - "null", - "integer" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "path": { - "type": [ - "null", - "string" - ] - }, - "position": { - "type": [ - "null", - "integer" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "user": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -977,777 +257,99 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "sha" + ], "properties": { - "author": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "comments_url": { - "type": [ - "null", - "string" - ] - }, - "commit": { - "properties": { - "author": { - "properties": { - "date": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "email": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "comment_count": { - "type": [ - "null", - "integer" - ] - }, - "committer": { - "properties": { - "date": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "email": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "message": { - "type": [ - "null", - "string" - ] - }, - "tree": { - "properties": { - "sha": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "verification": { - "properties": { - "payload": { - "type": [ - "null", - "string" - ] - }, - "reason": { - "type": [ - "null", - "string" - ] - }, - "signature": { - "type": [ - "null", - "string" - ] - }, - "verified": { - "type": [ - "null", - "boolean" - ] - } - }, - "type": [ - "null", - "object" - ] - } - }, - "type": [ - "null", - "object" - ] + "sha": { + "type": "string" }, - "committer": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "parents": { - "items": { - "properties": { - "html_url": { - "type": [ - "null", - "string" - ] - }, - "sha": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "sha": { - "type": "string" - }, - "url": { - "type": [ - "null", - "string" + "required": [ + "row_id" ] } }, - "required": [ - "sha" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/sha" ] }, { - "recommendedName": "deployments", + "recommendedName": "contributor_activity", "resourceConfig": { - "stream": "deployments", - "syncMode": "incremental", - "cursorField": [ - "updated_at" - ] + "stream": "contributor_activity", + "syncMode": "full_refresh" }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "title": "Contributor Activity", + "required": [ + "id" + ], "properties": { - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "creator": { + "id": { + "type": "integer" + }, + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": "object" - }, - "description": { - "type": [ - "null", - "string" + "required": [ + "row_id" ] - }, - "environment": { - "type": [ - "null", - "string" - ] - }, + } + }, + "x-infer-schema": true + }, + "key": [ + "/id" + ] + }, + { + "recommendedName": "deployments", + "resourceConfig": { + "stream": "deployments", + "syncMode": "incremental", + "cursorField": [ + "updated_at" + ] + }, + "documentSchema": { + "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], + "properties": { "id": { "type": "integer" }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "original_environment": { - "type": [ - "null", - "string" - ] - }, - "payload": { - "oneOf": [ - { - "additionalProperties": true, - "properties": {}, - "type": "object" - }, - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "performed_via_github_app": { + "_meta": { + "type": "object", "properties": { - "description": { - "type": [ - "null", - "string" - ] - }, - "events": { - "type": [ - "array", - "null" - ] - }, - "external_url": { - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": [ - "string", - "null" - ] - }, - "id": { - "type": [ - "integer", - "null" - ] - }, - "name": { - "type": [ - "string", - "null" - ] - }, - "node_id": { - "type": [ - "string", - "null" - ] - }, - "owner": { - "properties": { - "id": { - "format": "integer", - "type": [ - "string", - "integer", - "null" - ] - }, - "type": { - "type": [ - "string", - "null" - ] - } - }, - "type": [ - "object", - "null" - ] - }, - "slug": { - "type": [ - "string", - "null" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "string", - "null" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "production_environment": { - "type": [ - "null", - "boolean" - ] - }, - "ref": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "null", - "string" - ] - }, - "repository_url": { - "type": [ - "null", - "string" - ] - }, - "sha": { - "type": [ - "null", - "string" - ] - }, - "statuses_url": { - "type": [ - "null", - "string" - ] - }, - "task": { - "type": [ - "null", - "string" - ] - }, - "transient_environment": { - "type": [ - "null", - "boolean" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -1764,226 +366,27 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "actor": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, "id": { "type": "string" }, - "org": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "payload": { - "properties": {}, - "type": [ - "null", - "object" - ] - }, - "public": { - "type": [ - "null", - "boolean" - ] - }, - "repo": { + "_meta": { + "type": "object", "properties": { - "id": { - "type": [ - "null", - "integer" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "type": { - "type": [ - "null", - "string" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -1999,155 +402,27 @@ ] }, "documentSchema": { + "type": "object", + "required": [ + "id" + ], "properties": { - "comment_id": { - "type": "integer" - }, - "content": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": "string" - }, "id": { "type": "integer" }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": "string" - }, - "user": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": [ - "object" - ] + "x-infer-schema": true }, "key": [ "/id" @@ -2164,369 +439,27 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "actor": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "commit_id": { - "type": [ - "null", - "string" - ] - }, - "commit_url": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "event": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "issue": { + "_meta": { + "type": "object", "properties": { - "body": { - "type": [ - "null", - "string" - ] - }, - "comments_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "labels_url": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "number": { - "type": [ - "null", - "integer" - ] - }, - "repository_url": { - "type": [ - "null", - "string" - ] - }, - "state": { - "type": [ - "null", - "string" - ] - }, - "title": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "user": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "url": { - "type": [ - "null", - "string" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -2536,63 +469,31 @@ "recommendedName": "issue_labels", "resourceConfig": { "stream": "issue_labels", - "syncMode": "full_refresh", - "cursorField": [ - "id" - ] + "syncMode": "full_refresh" }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "color": { - "type": [ - "null", - "string" - ] - }, - "default": { - "type": [ - "null", - "boolean" - ] - }, - "description": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "url": { - "type": [ - "null", - "string" + "_meta": { + "type": "object", + "properties": { + "row_id": { + "type": "integer" + } + }, + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -2609,224 +510,27 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "closed_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "closed_issues": { - "type": [ - "null", - "integer" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] + "id": { + "type": "integer" }, - "creator": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "description": { - "type": [ - "null", - "string" - ] - }, - "due_on": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": "integer" - }, - "labels_url": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "number": { - "type": [ - "null", - "integer" - ] - }, - "open_issues": { - "type": [ - "null", - "integer" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "state": { - "type": [ - "null", - "string" - ] - }, - "title": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -2843,89 +547,27 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "content": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": "string" - }, "id": { "type": "integer" }, - "issue_number": { - "type": "integer" - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": "string" - }, - "user": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "type": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": [ - "object" - ] + "x-infer-schema": true }, "key": [ "/id" @@ -2942,1317 +584,145 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], + "additionalProperties": true, "properties": { - "active_lock_reason": { - "type": [ - "null", - "string" - ] + "id": { + "type": "integer" }, - "assignee": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" + "required": [ + "row_id" ] + } + }, + "x-infer-schema": true + }, + "key": [ + "/id" + ] + }, + { + "recommendedName": "organizations", + "resourceConfig": { + "stream": "organizations", + "syncMode": "full_refresh" + }, + "documentSchema": { + "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], + "properties": { + "id": { + "type": "integer" }, - "assignees": { - "items": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] + "_meta": { + "type": "object", + "properties": { + "row_id": { + "type": "integer" + } }, - "type": [ - "null", - "array" - ] - }, - "author_association": { - "type": [ - "null", - "string" - ] - }, - "body": { - "type": [ - "null", - "string" - ] - }, - "closed_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "comments": { - "type": [ - "null", - "integer" - ] - }, - "comments_url": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": "integer" - }, - "labels": { - "items": { - "properties": { - "color": { - "type": [ - "null", - "string" - ] - }, - "default": { - "type": [ - "null", - "boolean" - ] - }, - "description": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "labels_url": { - "type": [ - "null", - "string" - ] - }, - "locked": { - "type": [ - "null", - "boolean" - ] - }, - "milestone": { - "properties": { - "closed_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "closed_issues": { - "type": [ - "null", - "integer" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "creator": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "description": { - "type": [ - "null", - "string" - ] - }, - "due_on": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "labels_url": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "number": { - "type": [ - "null", - "integer" - ] - }, - "open_issues": { - "type": [ - "null", - "integer" - ] - }, - "state": { - "type": [ - "null", - "string" - ] - }, - "title": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "number": { - "type": [ - "null", - "integer" - ] - }, - "pull_request": { - "properties": { - "diff_url": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "patch_url": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "repository_url": { - "type": [ - "null", - "string" - ] - }, - "state": { - "type": [ - "null", - "string" - ] - }, - "title": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "user": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "user_id": { - "type": [ - "null", - "integer" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" ] }, { - "recommendedName": "organizations", + "recommendedName": "project_cards", "resourceConfig": { - "stream": "organizations", - "syncMode": "full_refresh", + "stream": "project_cards", + "syncMode": "incremental", "cursorField": [ - "id" + "updated_at" ] }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "billing_email": { - "type": [ - "null", - "string" - ] - }, - "blog": { - "type": [ - "null", - "string" - ] - }, - "collaborators": { - "type": [ - "null", - "integer" - ] - }, - "company": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "default_repository_permission": { - "type": [ - "null", - "string" - ] - }, - "description": { - "type": [ - "null", - "string" - ] - }, - "disk_usage": { - "type": [ - "null", - "integer" - ] - }, - "email": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers": { - "type": [ - "null", - "integer" - ] - }, - "following": { - "type": [ - "null", - "integer" - ] - }, - "has_organization_projects": { - "type": [ - "null", - "boolean" - ] - }, - "has_repository_projects": { - "type": [ - "null", - "boolean" - ] - }, - "hooks_url": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "is_verified": { - "type": [ - "null", - "boolean" - ] - }, - "issues_url": { - "type": [ - "null", - "string" - ] - }, - "location": { - "type": [ - "null", - "string" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "members_can_create_pages": { - "type": [ - "null", - "boolean" - ] - }, - "members_can_create_private_pages": { - "type": [ - "null", - "boolean" - ] - }, - "members_can_create_public_pages": { - "type": [ - "null", - "boolean" - ] - }, - "members_can_create_repositories": { - "type": [ - "null", - "boolean" - ] - }, - "members_url": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "owned_private_repos": { - "type": [ - "null", - "integer" - ] - }, - "plan": { + "_meta": { + "type": "object", "properties": { - "filled_seats": { - "type": [ - "null", - "integer" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "private_repos": { - "type": [ - "null", - "integer" - ] - }, - "seats": { - "type": [ - "null", - "integer" - ] - }, - "space": { - "type": [ - "null", - "integer" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "private_gists": { - "type": [ - "null", - "integer" - ] - }, - "public_gists": { - "type": [ - "null", - "integer" - ] - }, - "public_members_url": { - "type": [ - "null", - "string" - ] - }, - "public_repos": { - "type": [ - "null", - "integer" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "total_private_repos": { - "type": [ - "null", - "integer" - ] - }, - "twitter_username": { - "type": [ - "null", - "string" - ] - }, - "two_factor_requirement_enabled": { - "type": [ - "null", - "boolean" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" ] }, { - "recommendedName": "project_cards", + "recommendedName": "project_columns", "resourceConfig": { - "stream": "project_cards", + "stream": "project_columns", "syncMode": "incremental", "cursorField": [ "updated_at" ] }, "documentSchema": { - "$schema": "https://json-schema.org/schema#", + "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "archived": { - "type": [ - "null", - "boolean" - ] - }, - "column_id": { - "type": [ - "null", - "integer" - ] - }, - "column_url": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] + "id": { + "type": "integer" }, - "creator": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": "object" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "note": { - "type": [ - "null", - "string" - ] - }, - "project_id": { - "type": [ - "null", - "integer" - ] - }, - "project_url": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" ] }, { - "recommendedName": "project_columns", + "recommendedName": "projects", "resourceConfig": { - "stream": "project_columns", + "stream": "projects", "syncMode": "incremental", "cursorField": [ "updated_at" @@ -4260,382 +730,64 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "cards_url": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "project_id": { - "type": [ - "null", - "integer" - ] - }, - "project_url": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" + "_meta": { + "type": "object", + "properties": { + "row_id": { + "type": "integer" + } + }, + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" ] }, { - "recommendedName": "projects", + "recommendedName": "pull_request_comment_reactions", "resourceConfig": { - "stream": "projects", + "stream": "pull_request_comment_reactions", "syncMode": "incremental", "cursorField": [ - "updated_at" + "created_at" ] }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "body": { - "type": [ - "null", - "string" - ] - }, - "columns_url": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] + "id": { + "type": "integer" }, - "creator": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": "integer" - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "number": { - "type": [ - "null", - "integer" - ] - }, - "owner_url": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "state": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" - }, - "key": [ - "/id" - ] - }, - { - "recommendedName": "pull_request_comment_reactions", - "resourceConfig": { - "stream": "pull_request_comment_reactions", - "syncMode": "incremental", - "cursorField": [ - "created_at" - ] - }, - "documentSchema": { - "$schema": "https://json-schema.org/draft-07/schema#", - "properties": { - "comment_id": { - "type": "integer" - }, - "content": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": "string" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": "string" - }, - "user": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - } - }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -4645,431 +797,31 @@ "recommendedName": "pull_request_commits", "resourceConfig": { "stream": "pull_request_commits", - "syncMode": "full_refresh", - "cursorField": [ - "sha" - ] + "syncMode": "full_refresh" }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "sha" + ], "properties": { - "author": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "comments_url": { - "type": [ - "null", - "string" - ] - }, - "commit": { - "properties": { - "author": { - "properties": { - "date": { - "type": [ - "null", - "string" - ] - }, - "email": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - } - }, - "type": "object" - }, - "comment_count": { - "type": [ - "null", - "integer" - ] - }, - "committer": { - "properties": { - "date": { - "type": [ - "null", - "string" - ] - }, - "email": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - } - }, - "type": "object" - }, - "message": { - "type": [ - "null", - "string" - ] - }, - "tree": { - "properties": { - "sha": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": "object" - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "verification": { - "properties": { - "payload": { - "type": [ - "null", - "string" - ] - }, - "reason": { - "type": [ - "null", - "string" - ] - }, - "signature": { - "type": [ - "null", - "string" - ] - }, - "verified": { - "type": [ - "null", - "boolean" - ] - } - }, - "type": "object" - } - }, - "type": "object" + "sha": { + "type": "string" }, - "committer": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "parents": { - "items": { - "properties": { - "html_url": { - "type": [ - "null", - "string" - ] - }, - "sha": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": "object" - }, - "type": "array" - }, - "pull_number": { - "type": [ - "null", - "integer" - ] - }, - "repository": { - "type": [ - "null", - "string" - ] - }, - "sha": { - "type": "string" - }, - "url": { - "type": [ - "null", - "string" + "required": [ + "row_id" ] } }, - "required": [ - "sha" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/sha" @@ -5086,164 +838,36 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "additions": { - "type": [ - "null", - "integer" - ] - }, - "can_be_rebased": { - "type": [ - "null", - "boolean" - ] - }, - "changed_files": { - "type": [ - "null", - "integer" - ] - }, - "comments": { - "type": [ - "null", - "integer" - ] - }, - "commits": { - "type": [ - "null", - "integer" - ] - }, - "deletions": { - "type": [ - "null", - "integer" - ] - }, "id": { "type": "integer" }, - "maintainer_can_modify": { - "type": [ - "null", - "boolean" - ] - }, - "merge_state_status": { - "type": [ - "null", - "string" - ] - }, - "mergeable": { - "type": [ - "null", - "string" - ] - }, - "merged": { - "type": [ - "null", - "boolean" - ] - }, - "merged_by": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "type": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "number": { - "type": [ - "null", - "integer" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "review_comments": { - "type": [ - "null", - "integer" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" ] }, { - "recommendedName": "pull_requests", + "recommendedName": "projects_v2", "resourceConfig": { - "stream": "pull_requests", + "stream": "projects_v2", "syncMode": "incremental", "cursorField": [ "updated_at" @@ -5251,2312 +875,138 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "_links": { - "properties": { - "comments": { - "properties": { - "href": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "commits": { - "properties": { - "href": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "html": { - "properties": { - "href": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "issue": { - "properties": { - "href": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "review_comment": { - "properties": { - "href": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "review_comments": { - "properties": { - "href": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "self": { - "properties": { - "href": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "statuses": { - "properties": { - "href": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "active_lock_reason": { - "type": [ - "null", - "string" - ] - }, - "assignee": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "assignees": { - "items": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "author_association": { - "type": [ - "null", - "string" - ] - }, - "auto_merge": { - "properties": { - "commit_message": { - "type": [ - "null", - "string" - ] - }, - "commit_title": { - "type": [ - "null", - "string" - ] - }, - "enabled_by": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "merge_method": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "base": { - "properties": { - "label": { - "type": [ - "null", - "string" - ] - }, - "ref": { - "type": [ - "null", - "string" - ] - }, - "repo_id": { - "type": [ - "null", - "integer" - ] - }, - "sha": { - "type": [ - "null", - "string" - ] - }, - "user_id": { - "type": [ - "null", - "integer" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "body": { - "type": [ - "null", - "string" - ] - }, - "closed_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "comments_url": { - "type": [ - "null", - "string" - ] - }, - "commits_url": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "diff_url": { - "type": [ - "null", - "string" - ] - }, - "draft": { - "type": [ - "null", - "boolean" - ] - }, - "head": { - "properties": { - "label": { - "type": [ - "null", - "string" - ] - }, - "ref": { - "type": [ - "null", - "string" - ] - }, - "repo_id": { - "type": [ - "null", - "integer" - ] - }, - "sha": { - "type": [ - "null", - "string" - ] - }, - "user_id": { - "type": [ - "null", - "integer" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "issue_url": { - "type": [ - "null", - "string" - ] - }, - "labels": { - "items": { - "properties": { - "color": { - "type": [ - "null", - "string" - ] - }, - "default": { - "type": [ - "null", - "boolean" - ] - }, - "description": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "locked": { - "type": [ - "null", - "boolean" - ] - }, - "merge_commit_sha": { - "type": [ - "null", - "string" - ] - }, - "merged_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "milestone": { - "properties": { - "closed_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "closed_issues": { - "type": [ - "null", - "integer" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "creator": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "description": { - "type": [ - "null", - "string" - ] - }, - "due_on": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "labels_url": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "number": { - "type": [ - "null", - "integer" - ] - }, - "open_issues": { - "type": [ - "null", - "integer" - ] - }, - "state": { - "type": [ - "null", - "string" - ] - }, - "title": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "number": { - "type": [ - "null", - "integer" - ] - }, - "patch_url": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "requested_reviewers": { - "items": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "requested_teams": { - "items": { - "properties": { - "description": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "members_url": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "parent": { - "properties": {}, - "type": [ - "null", - "object" - ] - }, - "permission": { - "type": [ - "null", - "string" - ] - }, - "privacy": { - "type": [ - "null", - "string" - ] - }, - "repositories_url": { - "type": [ - "null", - "string" - ] - }, - "slug": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "review_comment_url": { - "type": [ - "null", - "string" - ] - }, - "review_comments_url": { - "type": [ - "null", - "string" - ] - }, - "state": { - "type": [ - "null", - "string" - ] - }, - "statuses_url": { - "type": [ - "null", - "string" - ] - }, - "title": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "user": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" ] }, { - "recommendedName": "releases", + "recommendedName": "pull_requests", "resourceConfig": { - "stream": "releases", + "stream": "pull_requests", "syncMode": "incremental", "cursorField": [ - "created_at" + "updated_at" ] }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "assets": { - "items": { - "properties": { - "browser_download_url": { - "type": [ - "null", - "string" - ] - }, - "content_type": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "download_count": { - "type": [ - "null", - "integer" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "label": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "size": { - "type": [ - "null", - "integer" - ] - }, - "state": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "uploader_id": { - "type": [ - "null", - "integer" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "assets_url": { - "type": [ - "null", - "string" - ] + "id": { + "type": "integer" }, - "author": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "body": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "draft": { - "type": [ - "null", - "boolean" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": "integer" - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "prerelease": { - "type": [ - "null", - "boolean" - ] - }, - "published_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "tag_name": { - "type": [ - "null", - "string" - ] - }, - "tarball_url": { - "type": [ - "null", - "string" - ] - }, - "target_commitish": { - "type": [ - "null", - "string" - ] - }, - "upload_url": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "zipball_url": { - "type": [ - "null", - "string" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" ] }, { - "recommendedName": "repositories", - "resourceConfig": { - "stream": "repositories", - "syncMode": "incremental", - "cursorField": [ - "updated_at" - ] - }, - "documentSchema": { - "$schema": "https://json-schema.org/draft-07/schema#", - "properties": { - "archive_url": { - "type": [ - "null", - "string" - ] - }, - "archived": { - "type": [ - "null", - "boolean" - ] - }, - "assignees_url": { - "type": [ - "null", - "string" - ] - }, - "blobs_url": { - "type": [ - "null", - "string" - ] - }, - "branches_url": { - "type": [ - "null", - "string" - ] - }, - "clone_url": { - "type": [ - "null", - "string" - ] - }, - "collaborators_url": { - "type": [ - "null", - "string" - ] - }, - "comments_url": { - "type": [ - "null", - "string" - ] - }, - "commits_url": { - "type": [ - "null", - "string" - ] - }, - "compare_url": { - "type": [ - "null", - "string" - ] - }, - "contents_url": { - "type": [ - "null", - "string" - ] - }, - "contributors_url": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "default_branch": { - "type": [ - "null", - "string" - ] - }, - "deployments_url": { - "type": [ - "null", - "string" - ] - }, - "description": { - "type": [ - "null", - "string" - ] - }, - "disabled": { - "type": [ - "null", - "boolean" - ] - }, - "downloads_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "fork": { - "type": [ - "null", - "boolean" - ] - }, - "forks_count": { - "type": [ - "null", - "integer" - ] - }, - "forks_url": { - "type": [ - "null", - "string" - ] - }, - "full_name": { - "type": [ - "null", - "string" - ] - }, - "git_commits_url": { - "type": [ - "null", - "string" - ] - }, - "git_refs_url": { - "type": [ - "null", - "string" - ] - }, - "git_tags_url": { - "type": [ - "null", - "string" - ] - }, - "git_url": { - "type": [ - "null", - "string" - ] - }, - "has_downloads": { - "type": [ - "null", - "boolean" - ] - }, - "has_issues": { - "type": [ - "null", - "boolean" - ] - }, - "has_pages": { - "type": [ - "null", - "boolean" - ] - }, - "has_projects": { - "type": [ - "null", - "boolean" - ] - }, - "has_wiki": { - "type": [ - "null", - "boolean" - ] - }, - "homepage": { - "type": [ - "null", - "string" - ] - }, - "hooks_url": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": "integer" - }, - "is_template": { - "type": [ - "null", - "boolean" - ] - }, - "issue_comment_url": { - "type": [ - "null", - "string" - ] - }, - "issue_events_url": { - "type": [ - "null", - "string" - ] - }, - "issues_url": { - "type": [ - "null", - "string" - ] - }, - "keys_url": { - "type": [ - "null", - "string" - ] - }, - "labels_url": { - "type": [ - "null", - "string" - ] - }, - "language": { - "type": [ - "null", - "string" - ] - }, - "languages_url": { - "type": [ - "null", - "string" - ] - }, - "license": { - "properties": { - "html_url": { - "type": [ - "null", - "string" - ] - }, - "key": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "spdx_id": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "merges_url": { - "type": [ - "null", - "string" - ] - }, - "milestones_url": { - "type": [ - "null", - "string" - ] - }, - "mirror_url": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "notifications_url": { - "type": [ - "null", - "string" - ] - }, - "open_issues_count": { - "type": [ - "null", - "integer" - ] + "recommendedName": "releases", + "resourceConfig": { + "stream": "releases", + "syncMode": "incremental", + "cursorField": [ + "created_at" + ] + }, + "documentSchema": { + "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], + "properties": { + "id": { + "type": "integer" }, - "owner": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" + "required": [ + "row_id" ] + } + }, + "x-infer-schema": true + }, + "key": [ + "/id" + ] + }, + { + "recommendedName": "repositories", + "resourceConfig": { + "stream": "repositories", + "syncMode": "incremental", + "cursorField": [ + "updated_at" + ] + }, + "documentSchema": { + "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], + "properties": { + "id": { + "type": "integer" }, - "permissions": { + "_meta": { + "type": "object", "properties": { - "admin": { - "type": [ - "null", - "boolean" - ] - }, - "pull": { - "type": [ - "null", - "boolean" - ] - }, - "push": { - "type": [ - "null", - "boolean" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "private": { - "type": [ - "null", - "boolean" - ] - }, - "pulls_url": { - "type": [ - "null", - "string" - ] - }, - "pushed_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "releases_url": { - "type": [ - "null", - "string" - ] - }, - "size": { - "type": [ - "null", - "integer" - ] - }, - "ssh_url": { - "type": [ - "null", - "string" - ] - }, - "stargazers_count": { - "type": [ - "null", - "integer" - ] - }, - "stargazers_url": { - "type": [ - "null", - "string" - ] - }, - "statuses_url": { - "type": [ - "null", - "string" - ] - }, - "subscribers_url": { - "type": [ - "null", - "string" - ] - }, - "subscription_url": { - "type": [ - "null", - "string" - ] - }, - "svn_url": { - "type": [ - "null", - "string" - ] - }, - "tags_url": { - "type": [ - "null", - "string" - ] - }, - "teams_url": { - "type": [ - "null", - "string" - ] - }, - "topics": { - "items": { - "type": [ - "null", - "string" - ] - }, - "type": [ - "null", - "array" - ] - }, - "trees_url": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": "string" - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "visibility": { - "type": [ - "null", - "string" - ] - }, - "watchers_count": { - "type": [ - "null", - "integer" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -7573,320 +1023,27 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "_links": { - "properties": { - "html": { - "properties": { - "href": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "pull_request": { - "properties": { - "href": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "self": { - "properties": { - "href": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "author_association": { - "type": [ - "null", - "string" - ] - }, - "body": { - "type": [ - "null", - "string" - ] - }, - "commit_id": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "diff_hunk": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "in_reply_to_id": { - "type": [ - "null", - "integer" - ] - }, - "line": { - "type": [ - "null", - "integer" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "original_commit_id": { - "type": [ - "null", - "string" - ] - }, - "original_line": { - "type": [ - "null", - "integer" - ] - }, - "original_position": { - "type": [ - "null", - "integer" - ] - }, - "original_start_line": { - "type": [ - "null", - "integer" - ] - }, - "path": { - "type": [ - "null", - "string" - ] - }, - "position": { - "type": [ - "null", - "integer" - ] - }, - "pull_request_review_id": { - "type": [ - "null", - "integer" - ] - }, - "pull_request_url": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "side": { - "type": [ - "null", - "string" - ] - }, - "start_line": { - "type": [ - "null", - "integer" - ] - }, - "start_side": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "user": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -7903,163 +1060,27 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "_links": { - "properties": { - "html": { - "properties": { - "href": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "pull_request": { - "properties": { - "href": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "author_association": { - "type": [ - "null", - "string" - ] - }, - "body": { - "type": [ - "null", - "string" - ] - }, - "commit_id": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": "string" - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "pull_request_url": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "string" - ] - }, - "state": { - "type": [ - "null", - "string" - ] - }, - "submitted_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": "string" - }, - "user": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "type": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -8076,143 +1097,32 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "user_id", + "starred_at" + ], "properties": { - "repository": { - "type": [ - "string" - ] + "user_id": { + "type": "integer" }, "starred_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] + "type": "string", + "format": "date-time" }, - "user": { + "_meta": { + "type": "object", "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" + "required": [ + "row_id" ] - }, - "user_id": { - "type": "integer" } }, - "required": [ - "user_id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/user_id" @@ -8222,68 +1132,33 @@ "recommendedName": "tags", "resourceConfig": { "stream": "tags", - "syncMode": "full_refresh", - "cursorField": [ - "repository", - "name" - ] + "syncMode": "full_refresh" }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "name" + ], "properties": { - "commit": { - "properties": { - "sha": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, "name": { "type": "string" }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": "string" - }, - "tarball_url": { - "type": [ - "null", - "string" - ] - }, - "zipball_url": { - "type": [ - "null", - "string" + "_meta": { + "type": "object", + "properties": { + "row_id": { + "type": "integer" + } + }, + "required": [ + "row_id" ] } }, - "required": [ - "repository", - "name" - ], - "type": "object" + "x-infer-schema": true }, "key": [ - "/repository", "/name" ] }, @@ -8291,102 +1166,31 @@ "recommendedName": "teams", "resourceConfig": { "stream": "teams", - "syncMode": "full_refresh", - "cursorField": [ - "id" - ] + "syncMode": "full_refresh" }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "description": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "members_url": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organization": { - "type": [ - "null", - "string" - ] - }, - "parent": { - "additionalProperties": true, - "properties": {}, - "type": [ - "null", - "object" - ] - }, - "permission": { - "type": [ - "null", - "string" - ] - }, - "privacy": { - "type": [ - "null", - "string" - ] - }, - "repositories_url": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": [ - "null", - "string" - ] - }, - "slug": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" + "_meta": { + "type": "object", + "properties": { + "row_id": { + "type": "integer" + } + }, + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -8396,132 +1200,35 @@ "recommendedName": "team_members", "resourceConfig": { "stream": "team_members", - "syncMode": "full_refresh", - "cursorField": [ - "id", - "team_slug" - ] + "syncMode": "full_refresh" }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id", + "team_slug" + ], "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organization": { - "type": "string" - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, "team_slug": { "type": "string" }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" + "_meta": { + "type": "object", + "properties": { + "row_id": { + "type": "integer" + } + }, + "required": [ + "row_id" ] } }, - "required": [ - "id", - "team_slug" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id", @@ -8532,132 +1239,31 @@ "recommendedName": "users", "resourceConfig": { "stream": "users", - "syncMode": "full_refresh", - "cursorField": [ - "id" - ] + "syncMode": "full_refresh" }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organization": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" + "_meta": { + "type": "object", + "properties": { + "row_id": { + "type": "integer" + } + }, + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": [ - "object" - ] + "x-infer-schema": true }, "key": [ "/id" @@ -8674,73 +1280,27 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-04/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "badge_url": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "path": { - "type": [ - "null", - "string" - ] - }, - "repository": { - "type": "string" - }, - "state": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": "string" - }, - "url": { - "type": [ - "null", - "string" + "_meta": { + "type": "object", + "properties": { + "row_id": { + "type": "integer" + } + }, + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": [ - "object" - ] + "x-infer-schema": true }, "key": [ "/id" @@ -8757,1026 +1317,27 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-04/schema#", + "type": "object", + "required": [ + "id" + ], "properties": { - "artifacts_url": { - "type": [ - "null", - "string" - ] - }, - "cancel_url": { - "type": [ - "null", - "string" - ] - }, - "check_suite_id": { - "type": [ - "null", - "integer" - ] - }, - "check_suite_node_id": { - "type": [ - "null", - "string" - ] - }, - "check_suite_url": { - "type": [ - "null", - "string" - ] - }, - "conclusion": { - "type": [ - "null", - "string" - ] - }, - "created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "event": { - "type": [ - "null", - "string" - ] - }, - "head_branch": { - "type": [ - "null", - "string" - ] - }, - "head_commit": { - "properties": { - "author": { - "properties": { - "email": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - } - }, - "type": "object" - }, - "committer": { - "properties": { - "email": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - } - }, - "type": "object" - }, - "id": { - "type": [ - "null", - "string" - ] - }, - "message": { - "type": [ - "null", - "string" - ] - }, - "timestamp": { - "type": [ - "null", - "string" - ] - }, - "tree_id": { - "type": [ - "null", - "string" - ] - } - }, - "type": "object" - }, - "head_repository": { - "properties": { - "archive_url": { - "type": [ - "null", - "string" - ] - }, - "assignees_url": { - "type": [ - "null", - "string" - ] - }, - "blobs_url": { - "type": [ - "null", - "string" - ] - }, - "branches_url": { - "type": [ - "null", - "string" - ] - }, - "collaborators_url": { - "type": [ - "null", - "string" - ] - }, - "comments_url": { - "type": [ - "null", - "string" - ] - }, - "commits_url": { - "type": [ - "null", - "string" - ] - }, - "compare_url": { - "type": [ - "null", - "string" - ] - }, - "contents_url": { - "type": [ - "null", - "string" - ] - }, - "contributors_url": { - "type": [ - "null", - "string" - ] - }, - "deployments_url": { - "type": [ - "null", - "string" - ] - }, - "description": { - "type": [ - "null", - "string" - ] - }, - "downloads_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "fork": { - "type": [ - "null", - "boolean" - ] - }, - "forks_url": { - "type": [ - "null", - "string" - ] - }, - "full_name": { - "type": [ - "null", - "string" - ] - }, - "git_commits_url": { - "type": [ - "null", - "string" - ] - }, - "git_refs_url": { - "type": [ - "null", - "string" - ] - }, - "git_tags_url": { - "type": [ - "null", - "string" - ] - }, - "hooks_url": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "issue_comment_url": { - "type": [ - "null", - "string" - ] - }, - "issue_events_url": { - "type": [ - "null", - "string" - ] - }, - "issues_url": { - "type": [ - "null", - "string" - ] - }, - "keys_url": { - "type": [ - "null", - "string" - ] - }, - "labels_url": { - "type": [ - "null", - "string" - ] - }, - "languages_url": { - "type": [ - "null", - "string" - ] - }, - "merges_url": { - "type": [ - "null", - "string" - ] - }, - "milestones_url": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "notifications_url": { - "type": [ - "null", - "string" - ] - }, - "owner": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "private": { - "type": [ - "null", - "boolean" - ] - }, - "pulls_url": { - "type": [ - "null", - "string" - ] - }, - "releases_url": { - "type": [ - "null", - "string" - ] - }, - "stargazers_url": { - "type": [ - "null", - "string" - ] - }, - "statuses_url": { - "type": [ - "null", - "string" - ] - }, - "subscribers_url": { - "type": [ - "null", - "string" - ] - }, - "subscription_url": { - "type": [ - "null", - "string" - ] - }, - "tags_url": { - "type": [ - "null", - "string" - ] - }, - "teams_url": { - "type": [ - "null", - "string" - ] - }, - "trees_url": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "head_sha": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" }, - "jobs_url": { - "type": [ - "null", - "string" - ] - }, - "logs_url": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "previous_attempt_url": { - "type": [ - "null", - "string" - ] - }, - "pull_requests": { - "items": { - "additionalProperties": true, - "properties": {}, - "type": [ - "null", - "object" - ] - }, - "type": "array" - }, - "repository": { + "_meta": { + "type": "object", "properties": { - "archive_url": { - "type": [ - "null", - "string" - ] - }, - "assignees_url": { - "type": [ - "null", - "string" - ] - }, - "blobs_url": { - "type": [ - "null", - "string" - ] - }, - "branches_url": { - "type": [ - "null", - "string" - ] - }, - "collaborators_url": { - "type": [ - "null", - "string" - ] - }, - "comments_url": { - "type": [ - "null", - "string" - ] - }, - "commits_url": { - "type": [ - "null", - "string" - ] - }, - "compare_url": { - "type": [ - "null", - "string" - ] - }, - "contents_url": { - "type": [ - "null", - "string" - ] - }, - "contributors_url": { - "type": [ - "null", - "string" - ] - }, - "deployments_url": { - "type": [ - "null", - "string" - ] - }, - "description": { - "type": [ - "null", - "string" - ] - }, - "downloads_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "fork": { - "type": [ - "null", - "boolean" - ] - }, - "forks_url": { - "type": [ - "null", - "string" - ] - }, - "full_name": { - "type": [ - "null", - "string" - ] - }, - "git_commits_url": { - "type": [ - "null", - "string" - ] - }, - "git_refs_url": { - "type": [ - "null", - "string" - ] - }, - "git_tags_url": { - "type": [ - "null", - "string" - ] - }, - "hooks_url": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "issue_comment_url": { - "type": [ - "null", - "string" - ] - }, - "issue_events_url": { - "type": [ - "null", - "string" - ] - }, - "issues_url": { - "type": [ - "null", - "string" - ] - }, - "keys_url": { - "type": [ - "null", - "string" - ] - }, - "labels_url": { - "type": [ - "null", - "string" - ] - }, - "languages_url": { - "type": [ - "null", - "string" - ] - }, - "merges_url": { - "type": [ - "null", - "string" - ] - }, - "milestones_url": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "notifications_url": { - "type": [ - "null", - "string" - ] - }, - "owner": { - "properties": { - "avatar_url": { - "type": [ - "null", - "string" - ] - }, - "events_url": { - "type": [ - "null", - "string" - ] - }, - "followers_url": { - "type": [ - "null", - "string" - ] - }, - "following_url": { - "type": [ - "null", - "string" - ] - }, - "gists_url": { - "type": [ - "null", - "string" - ] - }, - "gravatar_id": { - "type": [ - "null", - "string" - ] - }, - "html_url": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "integer" - ] - }, - "login": { - "type": [ - "null", - "string" - ] - }, - "node_id": { - "type": [ - "null", - "string" - ] - }, - "organizations_url": { - "type": [ - "null", - "string" - ] - }, - "received_events_url": { - "type": [ - "null", - "string" - ] - }, - "repos_url": { - "type": [ - "null", - "string" - ] - }, - "site_admin": { - "type": [ - "null", - "boolean" - ] - }, - "starred_url": { - "type": [ - "null", - "string" - ] - }, - "subscriptions_url": { - "type": [ - "null", - "string" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "private": { - "type": [ - "null", - "boolean" - ] - }, - "pulls_url": { - "type": [ - "null", - "string" - ] - }, - "releases_url": { - "type": [ - "null", - "string" - ] - }, - "stargazers_url": { - "type": [ - "null", - "string" - ] - }, - "statuses_url": { - "type": [ - "null", - "string" - ] - }, - "subscribers_url": { - "type": [ - "null", - "string" - ] - }, - "subscription_url": { - "type": [ - "null", - "string" - ] - }, - "tags_url": { - "type": [ - "null", - "string" - ] - }, - "teams_url": { - "type": [ - "null", - "string" - ] - }, - "trees_url": { - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": "object" - }, - "rerun_url": { - "type": [ - "null", - "string" - ] - }, - "run_attempt": { - "type": [ - "null", - "integer" - ] - }, - "run_number": { - "type": [ - "null", - "integer" - ] - }, - "run_started_at": { - "type": [ - "null", - "string" - ] - }, - "status": { - "type": [ - "null", - "string" - ] - }, - "updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "workflow_id": { - "type": [ - "null", - "integer" - ] - }, - "workflow_url": { - "type": [ - "null", - "string" + "required": [ + "row_id" ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -9793,132 +1354,31 @@ }, "documentSchema": { "$schema": "https://json-schema.org/draft-04/schema#", + "type": "object", + "required": [ + "id", + "run_id" + ], "properties": { - "check_run_url": { - "type": "string" - }, - "completed_at": { - "format": "date-time", - "type": [ - "string", - "null" - ] - }, - "conclusion": { - "type": [ - "string", - "null" - ] - }, - "head_sha": { - "type": "string" - }, - "html_url": { - "type": [ - "string", - "null" - ] - }, "id": { "type": "integer" }, - "labels": { - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "run_attempt": { - "type": "integer" - }, "run_id": { "type": "integer" }, - "run_url": { - "type": "string" - }, - "runner_group_id": { - "type": [ - "integer", - "null" - ] - }, - "runner_group_name": { - "type": [ - "string", - "null" - ] - }, - "runner_id": { - "type": [ - "integer", - "null" - ] - }, - "runner_name": { - "type": [ - "string", - "null" - ] - }, - "started_at": { - "format": "date-time", - "type": "string" - }, - "status": { - "type": "string" - }, - "steps": { - "items": { - "properties": { - "completed_at": { - "format": "date-time", - "type": [ - "string", - "null" - ] - }, - "conclusion": { - "type": [ - "string", - "null" - ] - }, - "name": { - "type": "string" - }, - "number": { - "type": "integer" - }, - "started_at": { - "format": "date-time", - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "string" - } - }, - "type": "object" + "_meta": { + "type": "object", + "properties": { + "row_id": { + "type": "integer" + } }, - "type": "array" - }, - "url": { - "type": "string" + "required": [ + "row_id" + ] } }, - "required": [ - "id" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/id" @@ -9928,43 +1388,31 @@ "recommendedName": "team_memberships", "resourceConfig": { "stream": "team_memberships", - "syncMode": "full_refresh", - "cursorField": [ - "url" - ] + "syncMode": "full_refresh" }, "documentSchema": { "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "url" + ], "properties": { - "organization": { - "type": "string" - }, - "role": { - "type": [ - "null", - "string" - ] - }, - "state": { - "type": [ - "null", - "string" - ] - }, - "team_slug": { - "type": "string" - }, "url": { "type": "string" }, - "username": { - "type": "string" + "_meta": { + "type": "object", + "properties": { + "row_id": { + "type": "integer" + } + }, + "required": [ + "row_id" + ] } }, - "required": [ - "url" - ], - "type": "object" + "x-infer-schema": true }, "key": [ "/url" diff --git a/source-github/tests/snapshots/source_github_tests_test_snapshots__spec__stdout.json b/source-github/tests/snapshots/source_github_tests_test_snapshots__spec__stdout.json index 2498c823fa..dda4700a1e 100644 --- a/source-github/tests/snapshots/source_github_tests_test_snapshots__spec__stdout.json +++ b/source-github/tests/snapshots/source_github_tests_test_snapshots__spec__stdout.json @@ -3,158 +3,164 @@ "protocol": 3032023, "configSchema": { "$schema": "http://json-schema.org/draft-07/schema#", + "title": "GitHub Source Spec", + "type": "object", + "required": [ + "start_date", + "repositories", + "credentials" + ], "additionalProperties": true, "properties": { - "branch": { - "description": "Space-delimited list of GitHub repository branches to pull commits for, e.g. `estuary/flow/your-branch`. If no branches are specified for a repository, the default branch will be pulled.", - "examples": [ - "estuary/flow/examples estuary/flow/scripts" - ], - "order": 2, - "title": "Branch (Optional)", - "type": "string" - }, "credentials": { - "description": "Choose how to authenticate to GitHub", + "type": "object", + "title": "Authentication Method", + "description": "Choose either OAuth or Personal Access Token.", "discriminator": { "propertyName": "option_title" }, "oneOf": [ { + "type": "object", + "title": "OAuth", + "x-oauth2-provider": "github", + "required": [ + "access_token" + ], "properties": { + "option_title": { + "type": "string", + "const": "OAuth Credentials" + }, "access_token": { - "airbyte_secret": true, - "description": "OAuth access token", + "type": "string", "title": "Access Token", - "type": "string" + "description": "OAuth access token", + "airbyte_secret": true }, "client_id": { - "airbyte_secret": true, - "description": "client_id", + "type": "string", "title": "client_id", - "type": "string" + "description": "client_id", + "airbyte_secret": true }, "client_secret": { - "airbyte_secret": true, - "description": "client_secret", + "type": "string", "title": "client_secret", - "type": "string" - }, - "option_title": { - "const": "OAuth Credentials", - "default": "OAuth Credentials", - "order": 0, - "type": "string" + "description": "client_secret", + "airbyte_secret": true } - }, - "required": [ - "access_token" - ], - "title": "OAuth", - "type": "object", - "x-oauth2-provider": "github" + } }, { + "type": "object", + "title": "Personal Access Token", + "required": [ + "personal_access_token" + ], "properties": { "option_title": { - "const": "PAT Credentials", - "default": "PAT Credentials", - "order": 0, - "type": "string" + "type": "string", + "const": "PAT Credentials" }, "personal_access_token": { - "airbyte_secret": true, - "description": "Log into GitHub and then generate a personal access token: https://github.com/settings/tokens. To load balance your API quota consumption across multiple API tokens, input multipletokens separated with \",\"", + "type": "string", "title": "Personal Access Tokens", - "type": "string" + "description": "Log into GitHub and then generate a personal access token: https://github.com/settings/tokens. To load balance your API quota consumption across multiple API tokens, input multipletokens separated with \",\"", + "airbyte_secret": true } - }, - "required": [ - "personal_access_token" - ], - "title": "Personal Access Token", - "type": "object" + } } - ], - "order": 4, - "title": "Authentication", - "type": "object" - }, - "page_size_for_large_streams": { - "default": 10, - "description": "The GitHub connector contains several streams with a large amount of data. The page size of such streams depends on the size of your repository. We recommended that you specify values between 10 and 30.", - "maximum": 100, - "minimum": 1, - "order": 3, - "title": "Page size for large streams (Optional)", - "type": "integer" + ] }, - "repository": { - "description": "Space-delimited list of GitHub organizations/repositories, e.g. `estuary/flow` for single repository, `estuary/*`to get all repositories from organization and `estuary/flow estuary/another-repo` for multiple repositories.", + "repositories": { + "type": "array", + "items": { + "type": "string", + "pattern": "^[\\w.-]+/(([\\w.-]*\\*)|[\\w.-]+(? None: - self._config: Dict[str, Any] = { - "credentials": {"option_title": "PAT Credentials", "personal_access_token": "GITHUB_TEST_TOKEN"}, - "start_date": "2020-05-01T00:00:00Z", - } - - def with_repositories(self, repositories: List[str]) -> "ConfigBuilder": - self._config["repositories"] = repositories - return self - - def with_client_secret(self, client_secret: str) -> "ConfigBuilder": - self._config["client_secret"] = client_secret - return self - - def with_start_date(self, start_datetime: datetime) -> "ConfigBuilder": - self._config["start_date"] = start_datetime.isoformat()[:-13] + "Z" - return self - - def with_branches(self, branches: List[str]) -> "ConfigBuilder": - self._config["branches"] = branches - return self - - def with_api_url(self, api_url: str) -> "ConfigBuilder": - self._config["api_url"] = api_url - return self - - def build(self) -> Dict[str, Any]: - return self._config diff --git a/source-github/unit_tests/integration/test_events.py b/source-github/unit_tests/integration/test_events.py deleted file mode 100644 index 9bba2d8d64..0000000000 --- a/source-github/unit_tests/integration/test_events.py +++ /dev/null @@ -1,199 +0,0 @@ -# Copyright (c) 2023 Airbyte, Inc., all rights reserved. - -import json -from unittest import TestCase - -from airbyte_cdk.models import SyncMode -from airbyte_cdk.test.catalog_builder import CatalogBuilder -from airbyte_cdk.test.entrypoint_wrapper import read -from airbyte_cdk.test.mock_http import HttpMocker, HttpRequest, HttpResponse -from airbyte_cdk.test.mock_http.response_builder import find_template -from airbyte_cdk.test.state_builder import StateBuilder -from airbyte_protocol.models import AirbyteStreamStatus, Level, TraceType -from source_github import SourceGithub - -from .config import ConfigBuilder - -_CONFIG = ConfigBuilder().with_repositories(["airbytehq/integration-test"]).build() - - -def _create_catalog(sync_mode: SyncMode = SyncMode.full_refresh): - return CatalogBuilder().with_stream(name="events", sync_mode=sync_mode).build() - - -class EventsTest(TestCase): - def setUp(self) -> None: - """Base setup for all tests. Add responses for: - 1. rate limit checker - 2. repositories - 3. branches - """ - - self.r_mock = HttpMocker() - self.r_mock.__enter__() - self.r_mock.get( - HttpRequest( - url="https://api.github.com/rate_limit", - query_params={}, - headers={ - "Accept": "application/vnd.github+json", - "X-GitHub-Api-Version": "2022-11-28", - "Authorization": "token GITHUB_TEST_TOKEN", - }, - ), - HttpResponse( - json.dumps( - { - "resources": { - "core": {"limit": 5000, "used": 0, "remaining": 5000, "reset": 5070908800}, - "graphql": {"limit": 5000, "used": 0, "remaining": 5000, "reset": 5070908800}, - } - } - ), - 200, - ), - ) - - self.r_mock.get( - HttpRequest( - url=f"https://api.github.com/repos/{_CONFIG.get('repositories')[0]}", - query_params={"per_page": 100}, - ), - HttpResponse(json.dumps({"full_name": "airbytehq/integration-test", "default_branch": "master"}), 200), - ) - - self.r_mock.get( - HttpRequest( - url=f"https://api.github.com/repos/{_CONFIG.get('repositories')[0]}/branches", - query_params={"per_page": 100}, - ), - HttpResponse(json.dumps([{"repository": "airbytehq/integration-test", "name": "master"}]), 200), - ) - - def teardown(self): - """Stops and resets HttpMocker instance.""" - self.r_mock.__exit__() - - def test_read_full_refresh_no_pagination(self): - """Ensure http integration and record extraction""" - self.r_mock.get( - HttpRequest( - url=f"https://api.github.com/repos/{_CONFIG.get('repositories')[0]}/events", - query_params={"per_page": 100}, - ), - HttpResponse(json.dumps(find_template("events", __file__)), 200), - ) - - source = SourceGithub() - actual_messages = read(source, config=_CONFIG, catalog=_create_catalog()) - - assert len(actual_messages.records) == 2 - - def test_read_transformation(self): - """Ensure transformation applied to all records""" - - self.r_mock.get( - HttpRequest( - url=f"https://api.github.com/repos/{_CONFIG.get('repositories')[0]}/events", - query_params={"per_page": 100}, - ), - HttpResponse(json.dumps(find_template("events", __file__)), 200), - ) - - source = SourceGithub() - actual_messages = read(source, config=_CONFIG, catalog=_create_catalog()) - - assert len(actual_messages.records) == 2 - assert all(("repository", "airbytehq/integration-test") in x.record.data.items() for x in actual_messages.records) - - def test_full_refresh_with_pagination(self): - """Ensure pagination""" - self.r_mock.get( - HttpRequest( - url=f"https://api.github.com/repos/{_CONFIG.get('repositories')[0]}/events", - query_params={"per_page": 100}, - ), - HttpResponse( - body=json.dumps(find_template("events", __file__)), - status_code=200, - headers={"Link": '; rel="next"'.format(_CONFIG.get("repositories")[0])}, - ), - ) - self.r_mock.get( - HttpRequest( - url=f"https://api.github.com/repos/{_CONFIG.get('repositories')[0]}/events", - query_params={"per_page": 100, "page": 2}, - ), - HttpResponse( - body=json.dumps(find_template("events", __file__)), - status_code=200, - ), - ) - source = SourceGithub() - actual_messages = read(source, config=_CONFIG, catalog=_create_catalog()) - - assert len(actual_messages.records) == 4 - - def test_given_state_more_recent_than_some_records_when_read_incrementally_then_filter_records(self): - """Ensure incremental sync. - Stream `Events` is semi-incremental, so all requests will be performed and only new records will be extracted""" - - self.r_mock.get( - HttpRequest( - url=f"https://api.github.com/repos/{_CONFIG.get('repositories')[0]}/events", - query_params={"per_page": 100}, - ), - HttpResponse(json.dumps(find_template("events", __file__)), 200), - ) - - source = SourceGithub() - actual_messages = read( - source, - config=_CONFIG, - catalog=_create_catalog(sync_mode=SyncMode.incremental), - state=StateBuilder() - .with_stream_state("events", {"airbytehq/integration-test": {"created_at": "2022-06-09T10:00:00Z"}}) - .build(), - ) - assert len(actual_messages.records) == 1 - - def test_when_read_incrementally_then_emit_state_message(self): - """Ensure incremental sync emits correct stream state message""" - - self.r_mock.get( - HttpRequest( - url=f"https://api.github.com/repos/{_CONFIG.get('repositories')[0]}/events", - query_params={"per_page": 100}, - ), - HttpResponse(json.dumps(find_template("events", __file__)), 200), - ) - - source = SourceGithub() - actual_messages = read( - source, - config=_CONFIG, - catalog=_create_catalog(sync_mode=SyncMode.incremental), - state=StateBuilder() - .with_stream_state("events", {"airbytehq/integration-test": {"created_at": "2020-06-09T10:00:00Z"}}) - .build(), - ) - assert actual_messages.state_messages[0].state.stream.stream_state == { - "airbytehq/integration-test": {"created_at": "2022-06-09T12:47:28Z"} - } - - def test_read_handles_expected_error_correctly_and_exits_with_complete_status(self): - """Ensure read() method does not raise an Exception and log message with error is in output""" - self.r_mock.get( - HttpRequest( - url=f"https://api.github.com/repos/{_CONFIG.get('repositories')[0]}/events", - query_params={"per_page": 100}, - ), - HttpResponse('{"message":"some_error_message"}', 403), - ) - source = SourceGithub() - actual_messages = read(source, config=_CONFIG, catalog=_create_catalog()) - - assert Level.ERROR in [x.log.level for x in actual_messages.logs] - events_stream_complete_message = [x for x in actual_messages.trace_messages if x.trace.type == TraceType.STREAM_STATUS][-1] - assert events_stream_complete_message.trace.stream_status.stream_descriptor.name == "events" - assert events_stream_complete_message.trace.stream_status.status == AirbyteStreamStatus.COMPLETE diff --git a/source-github/unit_tests/projects_v2_pull_requests_query.json b/source-github/unit_tests/projects_v2_pull_requests_query.json deleted file mode 100644 index fc9dc4995f..0000000000 --- a/source-github/unit_tests/projects_v2_pull_requests_query.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "query": "query {\n repository(owner: \"airbytehq\", name: \"airbyte\") {\n name\n owner {\n login\n }\n projectsV2(first: 100, orderBy: {field: UPDATED_AT, direction: ASC}) {\n nodes {\n closed\n created_at: createdAt\n closed_at: closedAt\n updated_at: updatedAt\n creator: creator {\n avatarUrl\n login\n resourcePath\n url\n }\n node_id: id\n id: databaseId\n number\n public\n readme: readme\n short_description: shortDescription\n template\n title: title\n url: url\n viewerCanClose\n viewerCanReopen\n viewerCanUpdate\n owner {\n id: id\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n}" -} diff --git a/source-github/unit_tests/pull_request_stats_query.json b/source-github/unit_tests/pull_request_stats_query.json deleted file mode 100644 index b825c36963..0000000000 --- a/source-github/unit_tests/pull_request_stats_query.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "query": "query {\n repository(owner: \"airbytehq\", name: \"airbyte\") {\n name\n owner {\n login\n }\n pullRequests(first: 10, orderBy: {field: UPDATED_AT, direction: ASC}) {\n nodes {\n node_id: id\n id: databaseId\n number\n updated_at: updatedAt\n changed_files: changedFiles\n deletions\n additions\n merged\n mergeable\n can_be_rebased: canBeRebased\n maintainer_can_modify: maintainerCanModify\n merge_state_status: mergeStateStatus\n comments {\n totalCount\n }\n commits {\n totalCount\n }\n review_comments: reviews(first: 100) {\n totalCount\n nodes {\n comments {\n totalCount\n }\n }\n }\n merged_by: mergedBy {\n __typename\n ... on User {\n node_id: id\n id: databaseId\n login\n avatar_url: avatarUrl\n html_url: url\n site_admin: isSiteAdmin\n }\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n}" -} diff --git a/source-github/unit_tests/resource/http/response/events.json b/source-github/unit_tests/resource/http/response/events.json deleted file mode 100644 index b0a2eca6eb..0000000000 --- a/source-github/unit_tests/resource/http/response/events.json +++ /dev/null @@ -1,63 +0,0 @@ -[ - { - "id": "22249084964", - "type": "PushEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { - "push_id": 10115855396, - "size": 1, - "distinct_size": 1, - "ref": "refs/heads/master", - "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] - }, - "public": true, - "created_at": "2022-06-09T12:47:28Z" - }, - { - "id": "22237752260", - "type": "WatchEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { - "action": "started" - }, - "public": true, - "created_at": "2022-06-08T23:29:25Z" - } -] diff --git a/source-github/unit_tests/responses/contributor_activity_response.json b/source-github/unit_tests/responses/contributor_activity_response.json deleted file mode 100644 index 1f818bd9aa..0000000000 --- a/source-github/unit_tests/responses/contributor_activity_response.json +++ /dev/null @@ -1,33 +0,0 @@ -[ - { - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "total": 135, - "weeks": [ - { - "w": 1367712000, - "a": 6898, - "d": 77, - "c": 10 - } - ] - } -] diff --git a/source-github/unit_tests/responses/graphql_reviews_responses.json b/source-github/unit_tests/responses/graphql_reviews_responses.json deleted file mode 100644 index 85706e461f..0000000000 --- a/source-github/unit_tests/responses/graphql_reviews_responses.json +++ /dev/null @@ -1,405 +0,0 @@ -[ - { - "data": { - "repository": { - "owner": { - "login": "airbytehq" - }, - "name": "airbyte", - "pullRequests": { - "nodes": [ - { - "number": 1, - "url": "https://github.com/airbytehq/airbyte/pull/1", - "reviews": { - "nodes": [ - { - "id": 1000, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1000", - "commit": null, - "user": { - "__typename": "User" - } - }, - { - "id": 1001, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1001", - "commit": null, - "user": { - "__typename": "User" - } - } - ], - "pageInfo": { - "endCursor": "cursor", - "hasNextPage": true - } - } - }, - { - "number": 2, - "url": "https://github.com/airbytehq/airbyte/pull/2", - "reviews": { - "nodes": [ - { - "id": 1002, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1002", - "commit": null, - "user": { - "__typename": "User" - } - }, - { - "id": 1003, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1003", - "commit": null, - "user": { - "__typename": "User" - } - } - ], - "pageInfo": { - "endCursor": "cursor", - "hasNextPage": true - } - } - } - ], - "pageInfo": { - "endCursor": "cursor", - "hasNextPage": true - } - } - } - } - }, - { - "data": { - "repository": { - "owner": { - "login": "airbytehq" - }, - "name": "airbyte", - "pullRequest": { - "number": 1, - "url": "https://github.com/airbytehq/airbyte/pull/1", - "reviews": { - "nodes": [ - { - "id": 1004, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1004", - "commit": null, - "user": { - "__typename": "User" - } - }, - { - "id": 1005, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1005", - "commit": null, - "user": { - "__typename": "User" - } - } - ], - "pageInfo": { - "endCursor": null, - "hasNextPage": false - } - } - } - } - } - }, - { - "data": { - "repository": { - "owner": { - "login": "airbytehq" - }, - "name": "airbyte", - "pullRequest": { - "number": 2, - "url": "https://github.com/airbytehq/airbyte/pull/2", - "reviews": { - "nodes": [ - { - "id": 1006, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1006", - "commit": null, - "user": { - "__typename": "User" - } - }, - { - "id": 1007, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1007", - "commit": null, - "user": { - "__typename": "User" - } - } - ], - "pageInfo": { - "endCursor": null, - "hasNextPage": false - } - } - } - } - } - }, - { - "data": { - "repository": { - "owner": { - "login": "airbytehq" - }, - "name": "airbyte", - "pullRequests": { - "nodes": [ - { - "number": 3, - "url": "https://github.com/airbytehq/airbyte/pull/3", - "reviews": { - "nodes": [ - { - "id": 1008, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/3#pullrequestreview-1008", - "commit": null, - "user": { - "__typename": "User" - } - } - ], - "pageInfo": { - "endCursor": null, - "hasNextPage": false - } - } - } - ], - "pageInfo": { - "endCursor": null, - "hasNextPage": false - } - } - } - } - }, - { - "data": { - "repository": { - "owner": { - "login": "airbytehq" - }, - "name": "airbyte", - "pullRequests": { - "nodes": [ - { - "number": 1, - "url": "https://github.com/airbytehq/airbyte/pull/1", - "reviews": { - "nodes": [ - { - "id": 1000, - "updated_at": "2000-01-01T00:00:02Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1000", - "commit": null, - "user": { - "__typename": "User" - } - }, - { - "id": 1001, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1001", - "commit": null, - "user": { - "__typename": "User" - } - } - ], - "pageInfo": { - "endCursor": "cursor", - "hasNextPage": true - } - } - }, - { - "number": 2, - "url": "https://github.com/airbytehq/airbyte/pull/2", - "reviews": { - "nodes": [ - { - "id": 1002, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1002", - "commit": null, - "user": { - "__typename": "User" - } - }, - { - "id": 1003, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1003", - "commit": null, - "user": { - "__typename": "User" - } - } - ], - "pageInfo": { - "endCursor": "cursor", - "hasNextPage": true - } - } - } - ], - "pageInfo": { - "endCursor": "cursor", - "hasNextPage": true - } - } - } - } - }, - { - "data": { - "repository": { - "owner": { - "login": "airbytehq" - }, - "name": "airbyte", - "pullRequest": { - "number": 1, - "url": "https://github.com/airbytehq/airbyte/pull/1", - "reviews": { - "nodes": [ - { - "id": 1004, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1004", - "commit": null, - "user": { - "__typename": "User" - } - }, - { - "id": 1005, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1005", - "commit": null, - "user": { - "__typename": "User" - } - } - ], - "pageInfo": { - "endCursor": null, - "hasNextPage": false - } - } - } - } - } - }, - { - "data": { - "repository": { - "owner": { - "login": "airbytehq" - }, - "name": "airbyte", - "pullRequest": { - "number": 2, - "url": "https://github.com/airbytehq/airbyte/pull/2", - "reviews": { - "nodes": [ - { - "id": 1006, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1006", - "commit": null, - "user": { - "__typename": "User" - } - }, - { - "id": 1007, - "updated_at": "2000-01-01T00:00:02Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1007", - "commit": null, - "user": { - "__typename": "User" - } - } - ], - "pageInfo": { - "endCursor": null, - "hasNextPage": false - } - } - } - } - } - }, - { - "data": { - "repository": { - "owner": { - "login": "airbytehq" - }, - "name": "airbyte", - "pullRequests": { - "nodes": [ - { - "number": 3, - "url": "https://github.com/airbytehq/airbyte/pull/3", - "reviews": { - "nodes": [ - { - "id": 1008, - "updated_at": "2000-01-01T00:00:01Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/3#pullrequestreview-1008", - "commit": null, - "user": { - "__typename": "User" - } - }, - { - "id": 1009, - "updated_at": "2000-01-01T00:00:02Z", - "html_url": "https://github.com/airbytehq/airbyte/pull/3#pullrequestreview-1009", - "commit": null, - "user": { - "__typename": "User" - } - } - ], - "pageInfo": { - "endCursor": null, - "hasNextPage": false - } - } - } - ], - "pageInfo": { - "endCursor": null, - "hasNextPage": false - } - } - } - } - } -] diff --git a/source-github/unit_tests/responses/issue_timeline_events.json b/source-github/unit_tests/responses/issue_timeline_events.json deleted file mode 100644 index 026243a2c6..0000000000 --- a/source-github/unit_tests/responses/issue_timeline_events.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "id": 6430295168, - "node_id": "LOE_lADODwFebM5HwC0kzwAAAAF_RoSA", - "url": "https://api.github.com/repos/github/roadmap/issues/events/6430295168", - "actor": { - "login": "github", - "id": 9919, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github", - "html_url": "https://github.com/github", - "followers_url": "https://api.github.com/users/github/followers", - "following_url": "https://api.github.com/users/github/following{/other_user}", - "gists_url": "https://api.github.com/users/github/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github/subscriptions", - "organizations_url": "https://api.github.com/users/github/orgs", - "repos_url": "https://api.github.com/users/github/repos", - "events_url": "https://api.github.com/users/github/events{/privacy}", - "received_events_url": "https://api.github.com/users/github/received_events", - "type": "Organization", - "site_admin": false - }, - "event": "locked", - "commit_id": null, - "commit_url": null, - "created_at": "2022-04-13T20:49:13Z", - "lock_reason": null, - "performed_via_github_app": null - }, - { - "id": 6430296748, - "node_id": "LE_lADODwFebM5HwC0kzwAAAAF_Roqs", - "url": "https://api.github.com/repos/github/roadmap/issues/events/6430296748", - "actor": { - "login": "github-product-roadmap", - "id": 67656570, - "node_id": "MDQ6VXNlcjY3NjU2NTcw", - "avatar_url": "https://avatars.githubusercontent.com/u/67656570?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github-product-roadmap", - "html_url": "https://github.com/github-product-roadmap", - "followers_url": "https://api.github.com/users/github-product-roadmap/followers", - "following_url": "https://api.github.com/users/github-product-roadmap/following{/other_user}", - "gists_url": "https://api.github.com/users/github-product-roadmap/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github-product-roadmap/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github-product-roadmap/subscriptions", - "organizations_url": "https://api.github.com/users/github-product-roadmap/orgs", - "repos_url": "https://api.github.com/users/github-product-roadmap/repos", - "events_url": "https://api.github.com/users/github-product-roadmap/events{/privacy}", - "received_events_url": "https://api.github.com/users/github-product-roadmap/received_events", - "type": "User", - "site_admin": false - }, - "event": "labeled", - "commit_id": null, - "commit_url": null, - "created_at": "2022-04-13T20:49:34Z", - "label": { - "name": "beta", - "color": "99dd88" - }, - "performed_via_github_app": null - }, - { - "id": 6635165802, - "node_id": "RTE_lADODwFebM5HwC0kzwAAAAGLfJhq", - "url": "https://api.github.com/repos/github/roadmap/issues/events/6635165802", - "actor": { - "login": "github-product-roadmap", - "id": 67656570, - "node_id": "MDQ6VXNlcjY3NjU2NTcw", - "avatar_url": "https://avatars.githubusercontent.com/u/67656570?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github-product-roadmap", - "html_url": "https://github.com/github-product-roadmap", - "followers_url": "https://api.github.com/users/github-product-roadmap/followers", - "following_url": "https://api.github.com/users/github-product-roadmap/following{/other_user}", - "gists_url": "https://api.github.com/users/github-product-roadmap/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github-product-roadmap/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github-product-roadmap/subscriptions", - "organizations_url": "https://api.github.com/users/github-product-roadmap/orgs", - "repos_url": "https://api.github.com/users/github-product-roadmap/repos", - "events_url": "https://api.github.com/users/github-product-roadmap/events{/privacy}", - "received_events_url": "https://api.github.com/users/github-product-roadmap/received_events", - "type": "User", - "site_admin": false - }, - "event": "renamed", - "commit_id": null, - "commit_url": null, - "created_at": "2022-05-18T19:29:01Z", - "rename": { - "from": "Secret scanning: dry-runs for enterprise-level custom patterns (cloud)", - "to": "Secret scanning: dry-runs for enterprise-level custom patterns" - }, - "performed_via_github_app": null - }, - { - "url": "https://api.github.com/repos/github/roadmap/issues/comments/1130876857", - "html_url": "https://github.com/github/roadmap/issues/493#issuecomment-1130876857", - "issue_url": "https://api.github.com/repos/github/roadmap/issues/493", - "id": 1130876857, - "node_id": "IC_kwDODwFebM5DZ8-5", - "user": { - "login": "octocat", - "id": 94867353, - "node_id": "U_kgDOBaePmQ", - "avatar_url": "https://avatars.githubusercontent.com/u/94867353?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "created_at": "2022-05-19T00:52:15Z", - "updated_at": "2022-05-19T00:52:15Z", - "author_association": "COLLABORATOR", - "body": "🚢 Shipped to the cloud: https://github.blog/changelog/2022-05-12-secret-scanning-dry-runs-for-enterprise-level-custom-patterns/", - "reactions": { - "url": "https://api.github.com/repos/github/roadmap/issues/comments/1130876857/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "performed_via_github_app": null, - "event": "commented", - "actor": { - "login": "octocat", - "id": 94867353, - "node_id": "U_kgDOBaePmQ", - "avatar_url": "https://avatars.githubusercontent.com/u/94867353?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - } - } -] diff --git a/source-github/unit_tests/responses/issue_timeline_events_response.json b/source-github/unit_tests/responses/issue_timeline_events_response.json deleted file mode 100644 index ee6a8dc668..0000000000 --- a/source-github/unit_tests/responses/issue_timeline_events_response.json +++ /dev/null @@ -1,170 +0,0 @@ -[ - { - "repository": "airbytehq/airbyte", - "issue_number": 1, - "locked": { - "id": 6430295168, - "node_id": "LOE_lADODwFebM5HwC0kzwAAAAF_RoSA", - "url": "https://api.github.com/repos/github/roadmap/issues/events/6430295168", - "actor": { - "login": "github", - "id": 9919, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github", - "html_url": "https://github.com/github", - "followers_url": "https://api.github.com/users/github/followers", - "following_url": "https://api.github.com/users/github/following{/other_user}", - "gists_url": "https://api.github.com/users/github/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github/subscriptions", - "organizations_url": "https://api.github.com/users/github/orgs", - "repos_url": "https://api.github.com/users/github/repos", - "events_url": "https://api.github.com/users/github/events{/privacy}", - "received_events_url": "https://api.github.com/users/github/received_events", - "type": "Organization", - "site_admin": false - }, - "event": "locked", - "commit_id": null, - "commit_url": null, - "created_at": "2022-04-13T20:49:13Z", - "lock_reason": null, - "performed_via_github_app": null - }, - "labeled": { - "id": 6430296748, - "node_id": "LE_lADODwFebM5HwC0kzwAAAAF_Roqs", - "url": "https://api.github.com/repos/github/roadmap/issues/events/6430296748", - "actor": { - "login": "github-product-roadmap", - "id": 67656570, - "node_id": "MDQ6VXNlcjY3NjU2NTcw", - "avatar_url": "https://avatars.githubusercontent.com/u/67656570?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github-product-roadmap", - "html_url": "https://github.com/github-product-roadmap", - "followers_url": "https://api.github.com/users/github-product-roadmap/followers", - "following_url": "https://api.github.com/users/github-product-roadmap/following{/other_user}", - "gists_url": "https://api.github.com/users/github-product-roadmap/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github-product-roadmap/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github-product-roadmap/subscriptions", - "organizations_url": "https://api.github.com/users/github-product-roadmap/orgs", - "repos_url": "https://api.github.com/users/github-product-roadmap/repos", - "events_url": "https://api.github.com/users/github-product-roadmap/events{/privacy}", - "received_events_url": "https://api.github.com/users/github-product-roadmap/received_events", - "type": "User", - "site_admin": false - }, - "event": "labeled", - "commit_id": null, - "commit_url": null, - "created_at": "2022-04-13T20:49:34Z", - "label": { - "name": "beta", - "color": "99dd88" - }, - "performed_via_github_app": null - }, - "renamed": { - "id": 6635165802, - "node_id": "RTE_lADODwFebM5HwC0kzwAAAAGLfJhq", - "url": "https://api.github.com/repos/github/roadmap/issues/events/6635165802", - "actor": { - "login": "github-product-roadmap", - "id": 67656570, - "node_id": "MDQ6VXNlcjY3NjU2NTcw", - "avatar_url": "https://avatars.githubusercontent.com/u/67656570?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github-product-roadmap", - "html_url": "https://github.com/github-product-roadmap", - "followers_url": "https://api.github.com/users/github-product-roadmap/followers", - "following_url": "https://api.github.com/users/github-product-roadmap/following{/other_user}", - "gists_url": "https://api.github.com/users/github-product-roadmap/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github-product-roadmap/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github-product-roadmap/subscriptions", - "organizations_url": "https://api.github.com/users/github-product-roadmap/orgs", - "repos_url": "https://api.github.com/users/github-product-roadmap/repos", - "events_url": "https://api.github.com/users/github-product-roadmap/events{/privacy}", - "received_events_url": "https://api.github.com/users/github-product-roadmap/received_events", - "type": "User", - "site_admin": false - }, - "event": "renamed", - "commit_id": null, - "commit_url": null, - "created_at": "2022-05-18T19:29:01Z", - "rename": { - "from": "Secret scanning: dry-runs for enterprise-level custom patterns (cloud)", - "to": "Secret scanning: dry-runs for enterprise-level custom patterns" - }, - "performed_via_github_app": null - }, - "commented": { - "url": "https://api.github.com/repos/github/roadmap/issues/comments/1130876857", - "html_url": "https://github.com/github/roadmap/issues/493#issuecomment-1130876857", - "issue_url": "https://api.github.com/repos/github/roadmap/issues/493", - "id": 1130876857, - "node_id": "IC_kwDODwFebM5DZ8-5", - "user": { - "login": "octocat", - "id": 94867353, - "node_id": "U_kgDOBaePmQ", - "avatar_url": "https://avatars.githubusercontent.com/u/94867353?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "created_at": "2022-05-19T00:52:15Z", - "updated_at": "2022-05-19T00:52:15Z", - "author_association": "COLLABORATOR", - "body": "🚢 Shipped to the cloud: https://github.blog/changelog/2022-05-12-secret-scanning-dry-runs-for-enterprise-level-custom-patterns/", - "reactions": { - "url": "https://api.github.com/repos/github/roadmap/issues/comments/1130876857/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "performed_via_github_app": null, - "event": "commented", - "actor": { - "login": "octocat", - "id": 94867353, - "node_id": "U_kgDOBaePmQ", - "avatar_url": "https://avatars.githubusercontent.com/u/94867353?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - } - } - } -] diff --git a/source-github/unit_tests/responses/projects_v2_response.json b/source-github/unit_tests/responses/projects_v2_response.json deleted file mode 100644 index 2ae61a1d04..0000000000 --- a/source-github/unit_tests/responses/projects_v2_response.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "data": { - "repository": { - "name": "integration-test", - "owner": { - "login": "airbytehq" - }, - "projectsV2": { - "nodes": [ - { - "closed": false, - "created_at": "2023-09-25T18:34:52Z", - "closed_at": null, - "updated_at": "2023-09-25T18:35:45Z", - "creator": { - "avatarUrl": "https://avatars.githubusercontent.com/u/92915184?u=e53c87d81ec6fb0596bc0f75e12e84e8f0df8d83&v=4", - "login": "airbyteio", - "resourcePath": "/airbyteio", - "url": "https://github.com/airbyteio" - }, - "node_id": "PVT_kwDOA4_XW84AV7NS", - "id": 5747538, - "number": 58, - "public": false, - "readme": "# Title\nintegration test project", - "short_description": "integration test project description", - "template": false, - "title": "integration test project", - "url": "https://github.com/orgs/airbytehq/projects/58", - "viewerCanClose": true, - "viewerCanReopen": true, - "viewerCanUpdate": true, - "owner": { - "id": "MDEyOk9yZ2FuaXphdGlvbjU5NzU4NDI3" - } - } - ], - "pageInfo": { - "hasNextPage": false, - "endCursor": "MQ" - } - } - } - } -} diff --git a/source-github/unit_tests/responses/pull_request_comment_reactions.json b/source-github/unit_tests/responses/pull_request_comment_reactions.json deleted file mode 100644 index ca8547fc49..0000000000 --- a/source-github/unit_tests/responses/pull_request_comment_reactions.json +++ /dev/null @@ -1,744 +0,0 @@ -[ - { - "data": { - "repository": { - "name": "airbyte", - "owner": { - "login": "airbytehq" - }, - "pullRequests": { - "pageInfo": { - "hasNextPage": true, - "endCursor": "endCursor" - }, - "totalCount": 4, - "nodes": [ - { - "node_id": "pull_request1", - "reviews": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 2, - "nodes": [ - { - "node_id": "review1", - "comments": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 2, - "nodes": [ - { - "node_id": "comment1", - "id": "comment1", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 2, - "nodes": [ - { - "node_id": "reaction1", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - }, - { - "node_id": "reaction2", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - } - ] - } - }, - { - "node_id": "comment2", - "id": "comment2", - "reactions": { - "pageInfo": { - "hasNextPage": true, - "endCursor": "endCursor" - }, - "totalCount": 3, - "nodes": [ - { - "node_id": "reaction3", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - }, - { - "node_id": "reaction4", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - } - ] - } - } - ] - } - }, - { - "node_id": "review2", - "comments": { - "pageInfo": { - "hasNextPage": true, - "endCursor": "endCursor" - }, - "totalCount": 3, - "nodes": [ - { - "node_id": "comment3", - "id": "comment3", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 0, - "nodes": [] - } - }, - { - "node_id": "comment4", - "id": "comment4", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 0, - "nodes": [] - } - } - ] - } - } - ] - } - }, - { - "node_id": "pull_request2", - "reviews": { - "pageInfo": { - "hasNextPage": true, - "endCursor": "endCursor" - }, - "totalCount": 3, - "nodes": [ - { - "node_id": "review3", - "comments": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 0, - "nodes": [] - } - }, - { - "node_id": "review4", - "comments": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 0, - "nodes": [] - } - } - ] - } - } - ] - } - } - } - }, - { - "data": { - "node": { - "__typename": "PullRequestReviewComment", - "node_id": "comment2", - "id": "comment2", - "repository": { - "name": "airbyte", - "owner": { - "login": "airbytehq" - } - }, - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 3, - "nodes": [ - { - "node_id": "reaction5", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - } - ] - } - } - } - }, - { - "data": { - "node": { - "__typename": "PullRequestReview", - "node_id": "review2", - "repository": { - "name": "airbyte", - "owner": { - "login": "airbytehq" - } - }, - "comments": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 3, - "nodes": [ - { - "node_id": "comment5", - "id": "comment5", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 1, - "nodes": [ - { - "node_id": "reaction6", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - } - ] - } - } - ] - } - } - } - }, - { - "data": { - "node": { - "__typename": "PullRequest", - "node_id": "pull_request2", - "repository": { - "name": "airbyte", - "owner": { - "login": "airbytehq" - } - }, - "reviews": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 3, - "nodes": [ - { - "node_id": "review5", - "comments": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 2, - "nodes": [ - { - "node_id": "comment6", - "id": "comment6", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 0, - "nodes": [] - } - }, - { - "node_id": "comment7", - "id": "comment7", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 1, - "nodes": [ - { - "node_id": "reaction7", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - } - ] - } - } - ] - } - } - ] - } - } - } - }, - { - "data": { - "repository": { - "name": "airbyte", - "owner": { - "login": "airbytehq" - }, - "pullRequests": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 4, - "nodes": [ - { - "node_id": "pull_request3", - "reviews": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 0, - "nodes": [] - } - }, - { - "node_id": "pull_request4", - "reviews": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 1, - "nodes": [ - { - "node_id": "review6", - "comments": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 1, - "nodes": [ - { - "node_id": "comment8", - "id": "comment8", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 1, - "nodes": [ - { - "node_id": "reaction8", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - } - ] - } - } - ] - } - } - ] - } - } - ] - } - } - } - }, - { - "data": { - "repository": { - "name": "airbyte", - "owner": { - "login": "airbytehq" - }, - "pullRequests": { - "pageInfo": { - "hasNextPage": true, - "endCursor": "endCursor" - }, - "totalCount": 4, - "nodes": [ - { - "node_id": "pull_request1", - "reviews": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 2, - "nodes": [ - { - "node_id": "review1", - "comments": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 2, - "nodes": [ - { - "node_id": "comment1", - "id": "comment1", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 2, - "nodes": [ - { - "node_id": "reaction1", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - }, - { - "node_id": "reaction2", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - } - ] - } - }, - { - "node_id": "comment2", - "id": "comment2", - "reactions": { - "pageInfo": { - "hasNextPage": true, - "endCursor": "endCursor" - }, - "totalCount": 4, - "nodes": [ - { - "node_id": "reaction3", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - }, - { - "node_id": "reaction4", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - } - ] - } - } - ] - } - }, - { - "node_id": "review2", - "comments": { - "pageInfo": { - "hasNextPage": true, - "endCursor": "endCursor" - }, - "totalCount": 3, - "nodes": [ - { - "node_id": "comment3", - "id": "comment3", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 0, - "nodes": [] - } - }, - { - "node_id": "comment4", - "id": "comment4", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 0, - "nodes": [] - } - } - ] - } - } - ] - } - }, - { - "node_id": "pull_request2", - "reviews": { - "pageInfo": { - "hasNextPage": true, - "endCursor": "endCursor" - }, - "totalCount": 3, - "nodes": [ - { - "node_id": "review3", - "comments": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 0, - "nodes": [] - } - }, - { - "node_id": "review4", - "comments": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 0, - "nodes": [] - } - } - ] - } - } - ] - } - } - } - }, - { - "data": { - "node": { - "__typename": "PullRequestReviewComment", - "node_id": "comment2", - "id": "comment2", - "repository": { - "name": "airbyte", - "owner": { - "login": "airbytehq" - } - }, - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 4, - "nodes": [ - { - "node_id": "reaction5", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - }, - { - "node_id": "reaction9", - "user": {}, - "created_at": "2022-01-02T00:00:01Z" - } - ] - } - } - } - }, - { - "data": { - "node": { - "__typename": "PullRequestReview", - "node_id": "review2", - "repository": { - "name": "airbyte", - "owner": { - "login": "airbytehq" - } - }, - "comments": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 3, - "nodes": [ - { - "node_id": "comment5", - "id": "comment5", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 1, - "nodes": [ - { - "node_id": "reaction6", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - } - ] - } - } - ] - } - } - } - }, - { - "data": { - "node": { - "__typename": "PullRequest", - "node_id": "pull_request2", - "repository": { - "name": "airbyte", - "owner": { - "login": "airbytehq" - } - }, - "reviews": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 3, - "nodes": [ - { - "node_id": "review5", - "comments": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 2, - "nodes": [ - { - "node_id": "comment6", - "id": "comment6", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 0, - "nodes": [] - } - }, - { - "node_id": "comment7", - "id": "comment7", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 1, - "nodes": [ - { - "node_id": "reaction7", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - } - ] - } - } - ] - } - } - ] - } - } - } - }, - { - "data": { - "repository": { - "name": "airbyte", - "owner": { - "login": "airbytehq" - }, - "pullRequests": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 4, - "nodes": [ - { - "node_id": "pull_request3", - "reviews": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 0, - "nodes": [] - } - }, - { - "node_id": "pull_request4", - "reviews": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 1, - "nodes": [ - { - "node_id": "review6", - "comments": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 1, - "nodes": [ - { - "node_id": "comment8", - "id": "comment8", - "reactions": { - "pageInfo": { - "hasNextPage": false, - "endCursor": "endCursor" - }, - "totalCount": 2, - "nodes": [ - { - "node_id": "reaction8", - "user": {}, - "created_at": "2022-01-01T00:00:01Z" - }, - { - "node_id": "reaction10", - "user": {}, - "created_at": "2022-01-02T00:00:01Z" - } - ] - } - } - ] - } - } - ] - } - } - ] - } - } - } - } -] diff --git a/source-github/unit_tests/responses/pull_request_stats_response.json b/source-github/unit_tests/responses/pull_request_stats_response.json deleted file mode 100644 index f4a53929e2..0000000000 --- a/source-github/unit_tests/responses/pull_request_stats_response.json +++ /dev/null @@ -1,317 +0,0 @@ -{ - "data": { - "repository": { - "name": "integration-test", - "owner": { - "login": "airbytehq" - }, - "pullRequests": { - "nodes": [ - { - "node_id": "MDExOlB1bGxSZXF1ZXN0NzIxNDM1NTA2", - "id": 721435506, - "number": 5, - "updated_at": "2021-08-27T15:53:14Z", - "changed_files": 5, - "deletions": 0, - "additions": 5, - "merged": false, - "mergeable": "MERGEABLE", - "can_be_rebased": true, - "maintainer_can_modify": false, - "merge_state_status": "BLOCKED", - "comments": { - "totalCount": 0 - }, - "commits": { - "totalCount": 5 - }, - "review_comments": { - "totalCount": 1, - "nodes": [ - { - "comments": { - "totalCount": 0 - } - } - ] - }, - "merged_by": null - }, - { - "node_id": "MDExOlB1bGxSZXF1ZXN0NzIxNDM1NDA3", - "id": 721435407, - "number": 2, - "updated_at": "2021-08-27T15:53:27Z", - "changed_files": 5, - "deletions": 0, - "additions": 5, - "merged": false, - "mergeable": "MERGEABLE", - "can_be_rebased": true, - "maintainer_can_modify": false, - "merge_state_status": "BLOCKED", - "comments": { - "totalCount": 0 - }, - "commits": { - "totalCount": 5 - }, - "review_comments": { - "totalCount": 1, - "nodes": [ - { - "comments": { - "totalCount": 0 - } - } - ] - }, - "merged_by": null - }, - { - "node_id": "MDExOlB1bGxSZXF1ZXN0NzIxNDM1NDQw", - "id": 721435440, - "number": 3, - "updated_at": "2021-08-27T16:02:49Z", - "changed_files": 5, - "deletions": 0, - "additions": 5, - "merged": true, - "mergeable": "UNKNOWN", - "can_be_rebased": false, - "maintainer_can_modify": false, - "merge_state_status": "UNKNOWN", - "comments": { - "totalCount": 0 - }, - "commits": { - "totalCount": 5 - }, - "review_comments": { - "totalCount": 1, - "nodes": [ - { - "comments": { - "totalCount": 0 - } - } - ] - }, - "merged_by": { - "__typename": "User", - "node_id": "MDQ6VXNlcjc0MzkwMQ==", - "id": 743901, - "login": "gaart", - "avatar_url": "https://avatars.githubusercontent.com/u/743901?v=4", - "html_url": "https://github.com/gaart", - "site_admin": false - } - }, - { - "node_id": "MDExOlB1bGxSZXF1ZXN0NzIxNDM1NDY2", - "id": 721435466, - "number": 4, - "updated_at": "2021-08-31T12:01:15Z", - "changed_files": 5, - "deletions": 0, - "additions": 5, - "merged": false, - "mergeable": "MERGEABLE", - "can_be_rebased": true, - "maintainer_can_modify": false, - "merge_state_status": "BLOCKED", - "comments": { - "totalCount": 0 - }, - "commits": { - "totalCount": 5 - }, - "review_comments": { - "totalCount": 3, - "nodes": [ - { - "comments": { - "totalCount": 0 - } - }, - { - "comments": { - "totalCount": 0 - } - }, - { - "comments": { - "totalCount": 1 - } - } - ] - }, - "merged_by": null - }, - { - "node_id": "PR_kwDOF9hP9c4xmEi6", - "id": 832063674, - "number": 12, - "updated_at": "2022-01-26T03:46:56Z", - "changed_files": 1, - "deletions": 0, - "additions": 2, - "merged": true, - "mergeable": "UNKNOWN", - "can_be_rebased": false, - "maintainer_can_modify": false, - "merge_state_status": "UNKNOWN", - "comments": { - "totalCount": 0 - }, - "commits": { - "totalCount": 1 - }, - "review_comments": { - "totalCount": 1, - "nodes": [ - { - "comments": { - "totalCount": 0 - } - } - ] - }, - "merged_by": { - "__typename": "User", - "node_id": "MDQ6VXNlcjUxNTQzMjI=", - "id": 5154322, - "login": "marcosmarxm", - "avatar_url": "https://avatars.githubusercontent.com/u/5154322?u=92c89b82271d48f41fad03923b0a24083e049038&v=4", - "html_url": "https://github.com/marcosmarxm", - "site_admin": false - } - }, - { - "node_id": "MDExOlB1bGxSZXF1ZXN0NzIxNDM1Mzcz", - "id": 721435373, - "number": 1, - "updated_at": "2022-03-31T11:06:06Z", - "changed_files": 5, - "deletions": 0, - "additions": 5, - "merged": false, - "mergeable": "MERGEABLE", - "can_be_rebased": true, - "maintainer_can_modify": false, - "merge_state_status": "BLOCKED", - "comments": { - "totalCount": 0 - }, - "commits": { - "totalCount": 5 - }, - "review_comments": { - "totalCount": 1, - "nodes": [ - { - "comments": { - "totalCount": 0 - } - } - ] - }, - "merged_by": null - }, - { - "node_id": "PR_kwDOF9hP9c46s2Qa", - "id": 984835098, - "number": 14, - "updated_at": "2022-10-04T17:41:29Z", - "changed_files": 1, - "deletions": 0, - "additions": 1, - "merged": false, - "mergeable": "MERGEABLE", - "can_be_rebased": true, - "maintainer_can_modify": false, - "merge_state_status": "BLOCKED", - "comments": { - "totalCount": 0 - }, - "commits": { - "totalCount": 2 - }, - "review_comments": { - "totalCount": 1, - "nodes": [ - { - "comments": { - "totalCount": 0 - } - } - ] - }, - "merged_by": null - }, - { - "node_id": "PR_kwDOF9hP9c41Vftv", - "id": 894827375, - "number": 13, - "updated_at": "2023-05-03T06:50:23Z", - "changed_files": 1, - "deletions": 1, - "additions": 1, - "merged": false, - "mergeable": "MERGEABLE", - "can_be_rebased": true, - "maintainer_can_modify": false, - "merge_state_status": "BLOCKED", - "comments": { - "totalCount": 0 - }, - "commits": { - "totalCount": 1 - }, - "review_comments": { - "totalCount": 0, - "nodes": [] - }, - "merged_by": null - }, - { - "node_id": "PR_kwDOF9hP9c5PqZhG", - "id": 1336514630, - "number": 15, - "updated_at": "2023-05-04T10:07:46Z", - "changed_files": 1, - "deletions": 0, - "additions": 1, - "merged": false, - "mergeable": "MERGEABLE", - "can_be_rebased": false, - "maintainer_can_modify": false, - "merge_state_status": "BLOCKED", - "comments": { - "totalCount": 1 - }, - "commits": { - "totalCount": 1 - }, - "review_comments": { - "totalCount": 1, - "nodes": [ - { - "comments": { - "totalCount": 0 - } - } - ] - }, - "merged_by": null - } - ], - "pageInfo": { - "hasNextPage": false, - "endCursor": "Y3Vyc29yOnYyOpK5MjAyMy0wNS0wNFQxMzowNzo0NiswMzowMM5PqZhG" - } - } - } - } -} diff --git a/source-github/unit_tests/test_migrations/test_config.json b/source-github/unit_tests/test_migrations/test_config.json deleted file mode 100644 index 5272233b5e..0000000000 --- a/source-github/unit_tests/test_migrations/test_config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "credentials": { - "personal_access_token": "personal_access_token" - }, - "repository": "airbytehq/airbyte airbytehq/airbyte-platform", - "start_date": "2000-01-01T00:00:00Z", - "branch": "airbytehq/airbyte/master airbytehq/airbyte-platform/main" -} diff --git a/source-github/unit_tests/test_migrations/test_config_migrations.py b/source-github/unit_tests/test_migrations/test_config_migrations.py deleted file mode 100644 index fdebc3af47..0000000000 --- a/source-github/unit_tests/test_migrations/test_config_migrations.py +++ /dev/null @@ -1,76 +0,0 @@ -# -# Copyright (c) 2023 Airbyte, Inc., all rights reserved. -# - - -import json -import os -from typing import Any, Mapping - -from airbyte_cdk.models import OrchestratorType, Type -from airbyte_cdk.sources import Source -from source_github.config_migrations import MigrateBranch, MigrateRepository -from source_github.source import SourceGithub - -# BASE ARGS -CMD = "check" -TEST_CONFIG_PATH = f"{os.path.dirname(__file__)}/test_config.json" -NEW_TEST_CONFIG_PATH = f"{os.path.dirname(__file__)}/test_new_config.json" -SOURCE_INPUT_ARGS = [CMD, "--config", TEST_CONFIG_PATH] -SOURCE: Source = SourceGithub() - - -# HELPERS -def load_config(config_path: str = TEST_CONFIG_PATH) -> Mapping[str, Any]: - with open(config_path, "r") as config: - return json.load(config) - - -def revert_migration(config_path: str = TEST_CONFIG_PATH) -> None: - with open(config_path, "r") as test_config: - config = json.load(test_config) - config.pop("repositories") - with open(config_path, "w") as updated_config: - config = json.dumps(config) - updated_config.write(config) - - -def test_migrate_config(): - migration_instance = MigrateRepository - # migrate the test_config - migration_instance.migrate(SOURCE_INPUT_ARGS, SOURCE) - # load the updated config - test_migrated_config = load_config() - # check migrated property - assert "repositories" in test_migrated_config - assert isinstance(test_migrated_config["repositories"], list) - # check the old property is in place - assert "repository" in test_migrated_config - assert isinstance(test_migrated_config["repository"], str) - # test CONTROL MESSAGE was emitted - control_msg = migration_instance.message_repository._message_queue[0] - assert control_msg.type == Type.CONTROL - assert control_msg.control.type == OrchestratorType.CONNECTOR_CONFIG - # new repositories is of type(list) - assert isinstance(control_msg.control.connectorConfig.config["repositories"], list) - # check the migrated values - revert_migration() - - -def test_config_is_reverted(): - # check the test_config state, it has to be the same as before tests - test_config = load_config() - # check the config no longer has the migrated property - assert "repositories" not in test_config - assert "branches" not in test_config - # check the old property is still there - assert "repository" in test_config - assert "branch" in test_config - assert isinstance(test_config["repository"], str) - assert isinstance(test_config["branch"], str) - - -def test_should_not_migrate_new_config(): - new_config = load_config(NEW_TEST_CONFIG_PATH) - for instance in MigrateBranch, MigrateRepository: - assert not instance._should_migrate(new_config) diff --git a/source-github/unit_tests/test_migrations/test_new_config.json b/source-github/unit_tests/test_migrations/test_new_config.json deleted file mode 100644 index ba674dc7ef..0000000000 --- a/source-github/unit_tests/test_migrations/test_new_config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "credentials": { - "personal_access_token": "personal_access_token" - }, - "repositories": ["airbytehq/airbyte", "airbytehq/airbyte-platform"], - "start_date": "2000-01-01T00:00:00Z", - "branches": ["airbytehq/airbyte/master", "airbytehq/airbyte-platform/main"] -} diff --git a/source-github/unit_tests/test_multiple_token_authenticator.py b/source-github/unit_tests/test_multiple_token_authenticator.py deleted file mode 100644 index ebe8eb56c4..0000000000 --- a/source-github/unit_tests/test_multiple_token_authenticator.py +++ /dev/null @@ -1,147 +0,0 @@ -# -# Copyright (c) 2023 Airbyte, Inc., all rights reserved. -# - -import json -from unittest.mock import patch - -import pendulum -import pytest -import responses -from airbyte_cdk.utils import AirbyteTracedException -from airbyte_protocol.models import FailureType -from freezegun import freeze_time -from source_github import SourceGithub -from source_github.streams import Organizations -from source_github.utils import MultipleTokenAuthenticatorWithRateLimiter, read_full_refresh - - -@responses.activate -def test_multiple_tokens(rate_limit_mock_response): - authenticator = SourceGithub()._get_authenticator({"access_token": "token_1, token_2, token_3"}) - assert isinstance(authenticator, MultipleTokenAuthenticatorWithRateLimiter) - assert ["token_1", "token_2", "token_3"] == list(authenticator._tokens) - - -@responses.activate -def test_authenticator_counter(rate_limit_mock_response): - """ - This test ensures that the rate limiter: - 1. correctly handles the available limits from GitHub API and saves it. - 2. correctly counts the number of requests made. - """ - authenticator = MultipleTokenAuthenticatorWithRateLimiter(tokens=["token1", "token2", "token3"]) - - assert [(x.count_rest, x.count_graphql) for x in authenticator._tokens.values()] == [(5000, 5000), (5000, 5000), (5000, 5000)] - organization_args = {"organizations": ["org1", "org2"], "authenticator": authenticator} - stream = Organizations(**organization_args) - responses.add("GET", "https://api.github.com/orgs/org1", json={"id": 1}) - responses.add("GET", "https://api.github.com/orgs/org2", json={"id": 2}) - list(read_full_refresh(stream)) - assert authenticator._tokens["token1"].count_rest == 4998 - - -@responses.activate -def test_multiple_token_authenticator_with_rate_limiter(): - """ - This test ensures that: - 1. The rate limiter iterates over all tokens one-by-one after the previous is fully drained. - 2. Counter is set to zero after 1500 requests were made. (500 available requests per key were set as default) - 3. Exception is handled and log warning message could be found in output. Connector does not raise AirbyteTracedException because there might be GraphQL streams with remaining request we still can read. - """ - - counter_rate_limits = 0 - counter_orgs = 0 - - def request_callback_rate_limits(request): - nonlocal counter_rate_limits - while counter_rate_limits < 3: - counter_rate_limits += 1 - resp_body = { - "resources": { - "core": {"limit": 500, "used": 0, "remaining": 500, "reset": 4070908800}, - "graphql": {"limit": 500, "used": 0, "remaining": 500, "reset": 4070908800}, - } - } - return (200, {}, json.dumps(resp_body)) - - responses.add_callback(responses.GET, "https://api.github.com/rate_limit", callback=request_callback_rate_limits) - authenticator = MultipleTokenAuthenticatorWithRateLimiter(tokens=["token1", "token2", "token3"]) - organization_args = {"organizations": ["org1"], "authenticator": authenticator} - stream = Organizations(**organization_args) - - def request_callback_orgs(request): - nonlocal counter_orgs - while counter_orgs < 1_501: - counter_orgs += 1 - resp_body = {"id": 1} - headers = {"Link": '; rel="next"'} - return (200, headers, json.dumps(resp_body)) - - responses.add_callback( - responses.GET, - "https://api.github.com/orgs/org1", - callback=request_callback_orgs, - content_type="application/json", - ) - with pytest.raises(AirbyteTracedException) as e: - list(read_full_refresh(stream)) - assert [(x.count_rest, x.count_graphql) for x in authenticator._tokens.values()] == [(0, 500), (0, 500), (0, 500)] - message = ( - "Stream: `organizations`, slice: `{'organization': 'org1'}`. Limits for all provided tokens are reached, please try again later" - ) - assert e.value.failure_type == FailureType.config_error - assert e.value.internal_message == message - - -@freeze_time("2021-01-01 12:00:00") -@responses.activate -@patch("time.sleep") -def test_multiple_token_authenticator_with_rate_limiter_and_sleep(sleep_mock, caplog): - """ - This test ensures that: - 1. The rate limiter will only wait (sleep) for token availability if the nearest available token appears within 600 seconds (see max_time). - 2. Token Counter is reset to new values after 1500 requests were made and last token is still in use. - """ - - counter_rate_limits = 0 - counter_orgs = 0 - ACCEPTED_WAITING_TIME_IN_SECONDS = 595 - reset_time = (pendulum.now() + pendulum.duration(seconds=ACCEPTED_WAITING_TIME_IN_SECONDS)).int_timestamp - - def request_callback_rate_limits(request): - nonlocal counter_rate_limits - while counter_rate_limits < 6: - counter_rate_limits += 1 - resp_body = { - "resources": { - "core": {"limit": 500, "used": 0, "remaining": 500, "reset": reset_time}, - "graphql": {"limit": 500, "used": 0, "remaining": 500, "reset": reset_time}, - } - } - return (200, {}, json.dumps(resp_body)) - - responses.add_callback(responses.GET, "https://api.github.com/rate_limit", callback=request_callback_rate_limits) - authenticator = MultipleTokenAuthenticatorWithRateLimiter(tokens=["token1", "token2", "token3"]) - organization_args = {"organizations": ["org1"], "authenticator": authenticator} - stream = Organizations(**organization_args) - - def request_callback_orgs(request): - nonlocal counter_orgs - while counter_orgs < 1_501: - counter_orgs += 1 - resp_body = {"id": 1} - headers = {"Link": '; rel="next"'} - return (200, headers, json.dumps(resp_body)) - return (200, {}, json.dumps({"id": 2})) - - responses.add_callback( - responses.GET, - "https://api.github.com/orgs/org1", - callback=request_callback_orgs, - content_type="application/json", - ) - - list(read_full_refresh(stream)) - sleep_mock.assert_called_once_with(ACCEPTED_WAITING_TIME_IN_SECONDS) - assert [(x.count_rest, x.count_graphql) for x in authenticator._tokens.values()] == [(500, 500), (500, 500), (498, 500)] diff --git a/source-github/unit_tests/test_source.py b/source-github/unit_tests/test_source.py deleted file mode 100644 index 388e726e7d..0000000000 --- a/source-github/unit_tests/test_source.py +++ /dev/null @@ -1,289 +0,0 @@ -# -# Copyright (c) 2023 Airbyte, Inc., all rights reserved. -# - -import logging -import os -from unittest.mock import MagicMock - -import pytest -import responses -from airbyte_cdk.models import AirbyteConnectionStatus, Status -from airbyte_cdk.utils.traced_exception import AirbyteTracedException -from source_github import constants -from source_github.source import SourceGithub - -from .utils import command_check - - -def check_source(repo_line: str) -> AirbyteConnectionStatus: - source = SourceGithub() - config = {"access_token": "test_token", "repository": repo_line} - logger_mock = MagicMock() - return source.check(logger_mock, config) - - -def test_source_will_continue_sync_on_stream_failure(): - source = SourceGithub() - assert source.continue_sync_on_stream_failure - - -@responses.activate -@pytest.mark.parametrize( - "config, expected", - ( - ( - { - "start_date": "2021-08-27T00:00:46Z", - "access_token": "test_token", - "repository": "airbyte/test", - }, - True, - ), - ({"access_token": "test_token", "repository": "airbyte/test"}, True), - ), -) -def test_check_start_date(config, expected, rate_limit_mock_response): - responses.add(responses.GET, "https://api.github.com/repos/airbyte/test?per_page=100", json={"full_name": "test_full_name"}) - source = SourceGithub() - status, _ = source.check_connection(logger=logging.getLogger("airbyte"), config=config) - assert status == expected - - -@pytest.mark.parametrize( - "api_url, deployment_env, expected_message", - ( - ("github.my.company.org", "CLOUD", "Please enter a full url for `API URL` field starting with `http`"), - ( - "http://github.my.company.org", - "CLOUD", - "HTTP connection is insecure and is not allowed in this environment. Please use `https` instead.", - ), - ("http:/github.my.company.org", "NOT_CLOUD", "Please provide a correct API URL."), - ("https:/github.my.company.org", "CLOUD", "Please provide a correct API URL."), - ), -) -def test_connection_fail_due_to_config_error(api_url, deployment_env, expected_message): - os.environ["DEPLOYMENT_MODE"] = deployment_env - source = SourceGithub() - config = {"access_token": "test_token", "repository": "airbyte/test", "api_url": api_url} - - with pytest.raises(AirbyteTracedException) as e: - source.check_connection(logging.getLogger(), config) - assert e.value.message == expected_message - - -@responses.activate -def test_check_connection_repos_only(rate_limit_mock_response): - responses.add("GET", "https://api.github.com/repos/airbytehq/airbyte", json={"full_name": "airbytehq/airbyte"}) - - status = check_source("airbytehq/airbyte airbytehq/airbyte airbytehq/airbyte") - assert not status.message - assert status.status == Status.SUCCEEDED - # Only one request since 3 repos have same name - assert len(responses.calls) == 2 - - -@responses.activate -def test_check_connection_repos_and_org_repos(rate_limit_mock_response): - repos = [{"name": f"name {i}", "full_name": f"full name {i}", "updated_at": "2020-01-01T00:00:00Z"} for i in range(1000)] - responses.add( - "GET", "https://api.github.com/repos/airbyte/test", json={"full_name": "airbyte/test", "organization": {"login": "airbyte"}} - ) - responses.add( - "GET", "https://api.github.com/repos/airbyte/test2", json={"full_name": "airbyte/test2", "organization": {"login": "airbyte"}} - ) - responses.add("GET", "https://api.github.com/orgs/airbytehq/repos", json=repos) - responses.add("GET", "https://api.github.com/orgs/org/repos", json=repos) - - status = check_source("airbyte/test airbyte/test2 airbytehq/* org/*") - assert not status.message - assert status.status == Status.SUCCEEDED - # Two requests for repos and two for organization - assert len(responses.calls) == 5 - - -@responses.activate -def test_check_connection_org_only(rate_limit_mock_response): - repos = [{"name": f"name {i}", "full_name": f"airbytehq/full name {i}", "updated_at": "2020-01-01T00:00:00Z"} for i in range(1000)] - responses.add("GET", "https://api.github.com/orgs/airbytehq/repos", json=repos) - - status = check_source("airbytehq/*") - assert not status.message - assert status.status == Status.SUCCEEDED - # One request to check organization - assert len(responses.calls) == 2 - - -@responses.activate -def test_get_org_repositories(): - responses.add( - "GET", - "https://api.github.com/repos/airbytehq/integration-test", - json={"full_name": "airbytehq/integration-test", "organization": {"login": "airbytehq"}}, - ) - - responses.add( - "GET", - "https://api.github.com/orgs/docker/repos", - json=[ - {"full_name": "docker/docker-py", "updated_at": "2020-01-01T00:00:00Z"}, - {"full_name": "docker/compose", "updated_at": "2020-01-01T00:00:00Z"}, - ], - ) - - config = {"repositories": ["airbytehq/integration-test", "docker/*"]} - source = SourceGithub() - config = source._ensure_default_values(config) - organisations, repositories, _ = source._get_org_repositories(config, authenticator=None) - - assert set(repositories) == {"airbytehq/integration-test", "docker/docker-py", "docker/compose"} - assert set(organisations) == {"airbytehq", "docker"} - - -@responses.activate -def test_organization_or_repo_available(monkeypatch, rate_limit_mock_response): - monkeypatch.setattr(SourceGithub, "_get_org_repositories", MagicMock(return_value=(False, False, None))) - source = SourceGithub() - with pytest.raises(Exception) as exc_info: - config = {"access_token": "test_token", "repository": ""} - source.streams(config=config) - assert exc_info.value.args[0] == "No streams available. Please check permissions" - - -def test_check_config_repository(): - source = SourceGithub() - source.check = MagicMock(return_value=True) - config = {"credentials": {"access_token": "access_token"}, "start_date": "1900-01-01T00:00:00Z"} - - repos_ok = [ - "airbytehq/airbyte", - "airbytehq/airbyte-test", - "airbytehq/airbyte_test", - "erohmensing/thismonth.rocks", - "airbytehq/*", - "airbytehq/.", - "airbyte_hq/airbyte", - "airbytehq/123", - "airbytehq/airbytexgit", - "airbytehq/a*", - ] - - repos_fail = [ - "airbytehq", - "airbytehq/", - "airbytehq/*/", - "airbytehq/airbyte.git", - "airbytehq/airbyte/", - "airbytehq/air*yte", - "airbyte*/airbyte", - "airbytehq/airbyte-test/master-branch", - "https://github.com/airbytehq/airbyte", - ] - - config["repositories"] = [] - with pytest.raises(AirbyteTracedException): - assert command_check(source, config) - config["repositories"] = [] - with pytest.raises(AirbyteTracedException): - assert command_check(source, config) - - for repos in repos_ok: - config["repositories"] = [repos] - assert command_check(source, config) - - for repos in repos_fail: - config["repositories"] = [repos] - with pytest.raises(AirbyteTracedException): - assert command_check(source, config) - - -@responses.activate -def test_streams_no_streams_available_error(monkeypatch, rate_limit_mock_response): - monkeypatch.setattr(SourceGithub, "_get_org_repositories", MagicMock(return_value=(False, False, None))) - with pytest.raises(AirbyteTracedException) as e: - SourceGithub().streams(config={"access_token": "test_token", "repository": "airbytehq/airbyte-test"}) - assert str(e.value) == "No streams available. Please check permissions" - - -@responses.activate -def test_streams_page_size(rate_limit_mock_response): - responses.get("https://api.github.com/repos/airbytehq/airbyte", json={"full_name": "airbytehq/airbyte", "default_branch": "master"}) - responses.get("https://api.github.com/repos/airbytehq/airbyte/branches", json=[{"repository": "airbytehq/airbyte", "name": "master"}]) - - config = { - "credentials": {"access_token": "access_token"}, - "repository": "airbytehq/airbyte", - "start_date": "1900-07-12T00:00:00Z", - } - - source = SourceGithub() - streams = source.streams(config) - assert constants.DEFAULT_PAGE_SIZE != constants.DEFAULT_PAGE_SIZE_FOR_LARGE_STREAM - - for stream in streams: - if stream.large_stream: - assert stream.page_size == constants.DEFAULT_PAGE_SIZE_FOR_LARGE_STREAM - else: - assert stream.page_size == constants.DEFAULT_PAGE_SIZE - - -@responses.activate -@pytest.mark.parametrize( - "config, expected", - ( - ( - { - "start_date": "2021-08-27T00:00:46Z", - "access_token": "test_token", - "repository": "airbyte/test", - }, - 39, - ), - ({"access_token": "test_token", "repository": "airbyte/test"}, 39), - ), -) -def test_streams_config_start_date(config, expected, rate_limit_mock_response): - responses.add(responses.GET, "https://api.github.com/repos/airbyte/test?per_page=100", json={"full_name": "airbyte/test"}) - responses.add( - responses.GET, - "https://api.github.com/repos/airbyte/test?per_page=100", - json={"full_name": "airbyte/test", "default_branch": "default_branch"}, - ) - responses.add( - responses.GET, - "https://api.github.com/repos/airbyte/test/branches?per_page=100", - json=[{"repository": "airbyte/test", "name": "name"}], - ) - source = SourceGithub() - streams = source.streams(config=config) - # projects stream that uses start date - project_stream = streams[4] - assert len(streams) == expected - if config.get("start_date"): - assert project_stream._start_date == "2021-08-27T00:00:46Z" - else: - assert not project_stream._start_date - - -@pytest.mark.parametrize( - "error_message, expected_user_friendly_message", - [ - ( - "404 Client Error: Not Found for url: https://api.github.com/repos/repo_name", - 'Repo name: "repo_name" is unknown, "repository" config option should use existing full repo name /', - ), - ( - "404 Client Error: Not Found for url: https://api.github.com/orgs/org_name", - 'Organization name: "org_name" is unknown, "repository" config option should be updated. Please validate your repository config.', - ), - ( - "401 Client Error: Unauthorized for url", - "Github credentials have expired or changed, please review your credentials and re-authenticate or renew your access token.", - ), - ], -) -def test_user_friendly_message(error_message, expected_user_friendly_message): - source = SourceGithub() - user_friendly_error_message = source.user_friendly_error_message(error_message) - assert user_friendly_error_message == expected_user_friendly_message diff --git a/source-github/unit_tests/test_stream.py b/source-github/unit_tests/test_stream.py deleted file mode 100644 index 8cd73886b8..0000000000 --- a/source-github/unit_tests/test_stream.py +++ /dev/null @@ -1,1505 +0,0 @@ -# -# Copyright (c) 2023 Airbyte, Inc., all rights reserved. -# - -import json -from http import HTTPStatus -from pathlib import Path -from unittest.mock import MagicMock, patch - -import pytest -import requests -import responses -from airbyte_cdk.models import ConfiguredAirbyteCatalog, SyncMode -from airbyte_cdk.sources.streams.http.exceptions import BaseBackoffException, UserDefinedBackoffException -from requests import HTTPError -from responses import matchers -from source_github import SourceGithub, constants -from source_github.streams import ( - Branches, - Collaborators, - Comments, - CommitCommentReactions, - CommitComments, - Commits, - ContributorActivity, - Deployments, - IssueEvents, - IssueLabels, - IssueMilestones, - IssueTimelineEvents, - Organizations, - ProjectCards, - ProjectColumns, - Projects, - ProjectsV2, - PullRequestCommentReactions, - PullRequestCommits, - PullRequests, - PullRequestStats, - Releases, - Repositories, - RepositoryStats, - Reviews, - Stargazers, - Tags, - TeamMembers, - TeamMemberships, - Teams, - Users, - WorkflowJobs, - WorkflowRuns, -) -from source_github.utils import read_full_refresh - -from .utils import ProjectsResponsesAPI, read_incremental - -DEFAULT_BACKOFF_DELAYS = [5, 10, 20, 40, 80] - - -@responses.activate -@patch("time.sleep") -def test_internal_server_error_retry(time_mock): - args = {"authenticator": None, "repositories": ["airbytehq/airbyte"], "start_date": "start_date", "page_size_for_large_streams": 30} - stream = CommitCommentReactions(**args) - stream_slice = {"repository": "airbytehq/airbyte", "comment_id": "id"} - - time_mock.reset_mock() - responses.add("GET", "https://api.github.com/repos/airbytehq/airbyte/comments/id/reactions", status=HTTPStatus.INTERNAL_SERVER_ERROR) - with pytest.raises(BaseBackoffException): - list(stream.read_records(sync_mode="full_refresh", stream_slice=stream_slice)) - - sleep_delays = [delay[0][0] for delay in time_mock.call_args_list] - assert sleep_delays == DEFAULT_BACKOFF_DELAYS - - -@pytest.mark.parametrize( - ("http_status", "response_headers", "expected_backoff_time"), - [ - (HTTPStatus.BAD_GATEWAY, {}, None), - (HTTPStatus.INTERNAL_SERVER_ERROR, {}, None), - (HTTPStatus.SERVICE_UNAVAILABLE, {}, None), - (HTTPStatus.FORBIDDEN, {"Retry-After": "0"}, 60), - (HTTPStatus.FORBIDDEN, {"Retry-After": "30"}, 60), - (HTTPStatus.FORBIDDEN, {"Retry-After": "120"}, 120), - (HTTPStatus.FORBIDDEN, {"X-RateLimit-Reset": "1655804454"}, 60.0), - (HTTPStatus.FORBIDDEN, {"X-RateLimit-Reset": "1655804724"}, 300.0), - ], -) -@patch("time.time", return_value=1655804424.0) -def test_backoff_time(time_mock, http_status, response_headers, expected_backoff_time): - response_mock = MagicMock() - response_mock.status_code = http_status - response_mock.headers = response_headers - args = {"authenticator": None, "repositories": ["test_repo"], "start_date": "start_date", "page_size_for_large_streams": 30} - stream = PullRequestCommentReactions(**args) - assert stream.backoff_time(response_mock) == expected_backoff_time - - -@pytest.mark.parametrize( - ("http_status", "response_headers", "text"), - [ - (HTTPStatus.OK, {"X-RateLimit-Resource": "graphql"}, '{"errors": [{"type": "RATE_LIMITED"}]}'), - (HTTPStatus.FORBIDDEN, {"X-RateLimit-Remaining": "0"}, ""), - (HTTPStatus.FORBIDDEN, {"Retry-After": "0"}, ""), - (HTTPStatus.FORBIDDEN, {"Retry-After": "60"}, ""), - (HTTPStatus.INTERNAL_SERVER_ERROR, {}, ""), - (HTTPStatus.BAD_GATEWAY, {}, ""), - (HTTPStatus.SERVICE_UNAVAILABLE, {}, ""), - ], -) -def test_should_retry(http_status, response_headers, text): - stream = RepositoryStats(repositories=["test_repo"], page_size_for_large_streams=30) - response_mock = MagicMock() - response_mock.status_code = http_status - response_mock.headers = response_headers - response_mock.text = text - response_mock.json = lambda: json.loads(text) - assert stream.should_retry(response_mock) - - -@responses.activate -@patch("time.sleep") -def test_retry_after(time_mock): - first_request = True - - def request_callback(request): - nonlocal first_request - if first_request: - first_request = False - return (HTTPStatus.FORBIDDEN, {"Retry-After": "60"}, "") - return (HTTPStatus.OK, {}, '{"login": "airbytehq"}') - - responses.add_callback( - responses.GET, - "https://api.github.com/orgs/airbytehq", - callback=request_callback, - content_type="application/json", - ) - - stream = Organizations(organizations=["airbytehq"]) - list(read_full_refresh(stream)) - assert len(responses.calls) == 2 - assert responses.calls[0].request.url == "https://api.github.com/orgs/airbytehq?per_page=100" - assert responses.calls[1].request.url == "https://api.github.com/orgs/airbytehq?per_page=100" - - -@responses.activate -@patch("time.sleep") -@patch("time.time", return_value=1655804424.0) -def test_graphql_rate_limited(time_mock, sleep_mock): - response_objects = [ - ( - HTTPStatus.OK, - {"X-RateLimit-Limit": "5000", "X-RateLimit-Resource": "graphql", "X-RateLimit-Reset": "1655804724"}, - json.dumps({"errors": [{"type": "RATE_LIMITED"}]}), - ), - ( - HTTPStatus.OK, - {"X-RateLimit-Limit": "5000", "X-RateLimit-Resource": "graphql", "X-RateLimit-Reset": "1655808324"}, - json.dumps({"data": {"repository": None}}), - ), - ] - - responses.add_callback( - responses.POST, - "https://api.github.com/graphql", - callback=lambda r: response_objects.pop(0), - content_type="application/json", - ) - - stream = PullRequestStats(repositories=["airbytehq/airbyte"], page_size_for_large_streams=30) - records = list(read_full_refresh(stream)) - assert records == [] - assert len(responses.calls) == 2 - assert responses.calls[0].request.url == "https://api.github.com/graphql" - assert responses.calls[1].request.url == "https://api.github.com/graphql" - assert sum([c[0][0] for c in sleep_mock.call_args_list]) > 300 - - -@responses.activate -def test_stream_teams_404(): - organization_args = {"organizations": ["org_name"]} - stream = Teams(**organization_args) - - responses.add( - "GET", - "https://api.github.com/orgs/org_name/teams", - status=requests.codes.NOT_FOUND, - json={"message": "Not Found", "documentation_url": "https://docs.github.com/rest/reference/teams#list-teams"}, - ) - - assert list(read_full_refresh(stream)) == [] - assert len(responses.calls) == 1 - assert responses.calls[0].request.url == "https://api.github.com/orgs/org_name/teams?per_page=100" - - -@responses.activate -@patch("time.sleep") -def test_stream_teams_502(sleep_mock): - organization_args = {"organizations": ["org_name"]} - stream = Teams(**organization_args) - - url = "https://api.github.com/orgs/org_name/teams" - responses.add( - method="GET", - url=url, - status=requests.codes.BAD_GATEWAY, - json={"message": "Server Error"}, - ) - - assert list(read_full_refresh(stream)) == [] - assert len(responses.calls) == 6 - # Check whether url is the same for all response.calls - assert set(call.request.url for call in responses.calls).symmetric_difference({f"{url}?per_page=100"}) == set() - - -def test_stream_organizations_availability_report(): - organization_args = {"organizations": ["org1", "org2"]} - stream = Organizations(**organization_args) - assert stream.availability_strategy is None - - -@responses.activate -def test_stream_organizations_read(): - organization_args = {"organizations": ["org1", "org2"]} - stream = Organizations(**organization_args) - responses.add("GET", "https://api.github.com/orgs/org1", json={"id": 1}) - responses.add("GET", "https://api.github.com/orgs/org2", json={"id": 2}) - records = list(read_full_refresh(stream)) - assert records == [{"id": 1}, {"id": 2}] - - -@responses.activate -def test_stream_teams_read(): - organization_args = {"organizations": ["org1", "org2"]} - stream = Teams(**organization_args) - stream._session.cache.clear() - responses.add("GET", "https://api.github.com/orgs/org1/teams", json=[{"id": 1}, {"id": 2}]) - responses.add("GET", "https://api.github.com/orgs/org2/teams", json=[{"id": 3}]) - records = list(read_full_refresh(stream)) - assert records == [{"id": 1, "organization": "org1"}, {"id": 2, "organization": "org1"}, {"id": 3, "organization": "org2"}] - assert len(responses.calls) == 2 - assert responses.calls[0].request.url == "https://api.github.com/orgs/org1/teams?per_page=100" - assert responses.calls[1].request.url == "https://api.github.com/orgs/org2/teams?per_page=100" - - -@responses.activate -def test_stream_users_read(): - organization_args = {"organizations": ["org1", "org2"]} - stream = Users(**organization_args) - responses.add("GET", "https://api.github.com/orgs/org1/members", json=[{"id": 1}, {"id": 2}]) - responses.add("GET", "https://api.github.com/orgs/org2/members", json=[{"id": 3}]) - records = list(read_full_refresh(stream)) - assert records == [{"id": 1, "organization": "org1"}, {"id": 2, "organization": "org1"}, {"id": 3, "organization": "org2"}] - assert len(responses.calls) == 2 - assert responses.calls[0].request.url == "https://api.github.com/orgs/org1/members?per_page=100" - assert responses.calls[1].request.url == "https://api.github.com/orgs/org2/members?per_page=100" - - -@responses.activate -def test_stream_repositories_404(): - organization_args = {"organizations": ["org_name"]} - stream = Repositories(**organization_args) - - responses.add( - "GET", - "https://api.github.com/orgs/org_name/repos", - status=requests.codes.NOT_FOUND, - json={"message": "Not Found", "documentation_url": "https://docs.github.com/rest/reference/repos#list-organization-repositories"}, - ) - - assert list(read_full_refresh(stream)) == [] - assert len(responses.calls) == 1 - assert responses.calls[0].request.url == "https://api.github.com/orgs/org_name/repos?per_page=100&sort=updated&direction=desc" - - -@responses.activate -def test_stream_repositories_401(caplog): - organization_args = {"organizations": ["org_name"], "access_token_type": constants.PERSONAL_ACCESS_TOKEN_TITLE} - stream = Repositories(**organization_args) - - responses.add( - "GET", - "https://api.github.com/orgs/org_name/repos", - status=requests.codes.UNAUTHORIZED, - json={"message": "Bad credentials", "documentation_url": "https://docs.github.com/rest"}, - ) - - with pytest.raises(HTTPError): - assert list(read_full_refresh(stream)) == [] - - assert len(responses.calls) == 1 - assert responses.calls[0].request.url == "https://api.github.com/orgs/org_name/repos?per_page=100&sort=updated&direction=desc" - assert "Personal Access Token renewal is required: Bad credentials" in caplog.messages - - -@responses.activate -def test_stream_repositories_read(): - organization_args = {"organizations": ["org1", "org2"]} - stream = Repositories(**organization_args) - updated_at = "2020-01-01T00:00:00Z" - responses.add( - "GET", "https://api.github.com/orgs/org1/repos", json=[{"id": 1, "updated_at": updated_at}, {"id": 2, "updated_at": updated_at}] - ) - responses.add("GET", "https://api.github.com/orgs/org2/repos", json=[{"id": 3, "updated_at": updated_at}]) - records = list(read_full_refresh(stream)) - assert records == [ - {"id": 1, "organization": "org1", "updated_at": updated_at}, - {"id": 2, "organization": "org1", "updated_at": updated_at}, - {"id": 3, "organization": "org2", "updated_at": updated_at}, - ] - assert len(responses.calls) == 2 - assert responses.calls[0].request.url == "https://api.github.com/orgs/org1/repos?per_page=100&sort=updated&direction=desc" - assert responses.calls[1].request.url == "https://api.github.com/orgs/org2/repos?per_page=100&sort=updated&direction=desc" - - -@responses.activate -def test_stream_projects_disabled(): - - repository_args_with_start_date = {"start_date": "start_date", "page_size_for_large_streams": 30, "repositories": ["test_repo"]} - - stream = Projects(**repository_args_with_start_date) - responses.add( - "GET", - "https://api.github.com/repos/test_repo/projects", - status=requests.codes.GONE, - json={"message": "Projects are disabled for this repository", "documentation_url": "https://docs.github.com/v3/projects"}, - ) - - assert list(read_full_refresh(stream)) == [] - assert len(responses.calls) == 1 - assert responses.calls[0].request.url == "https://api.github.com/repos/test_repo/projects?per_page=100&state=all" - - -@responses.activate -def test_stream_pull_requests_incremental_read(): - - page_size = 2 - repository_args_with_start_date = { - "repositories": ["organization/repository"], - "page_size_for_large_streams": page_size, - "start_date": "2022-02-02T10:10:03Z", - } - - stream = PullRequests(**repository_args_with_start_date) - - data = [ - {"id": 1, "updated_at": "2022-02-02T10:10:02Z"}, - {"id": 2, "updated_at": "2022-02-02T10:10:04Z"}, - {"id": 3, "updated_at": "2022-02-02T10:10:06Z"}, - {"id": 4, "updated_at": "2022-02-02T10:10:08Z"}, - {"id": 5, "updated_at": "2022-02-02T10:10:10Z"}, - {"id": 6, "updated_at": "2022-02-02T10:10:12Z"}, - ] - - api_url = "https://api.github.com/repos/organization/repository/pulls" - - responses.add( - "GET", - api_url, - json=data[0:2], - headers={"Link": '; rel="next"'}, - match=[matchers.query_param_matcher({"per_page": str(page_size), "direction": "asc"}, strict_match=False)], - ) - - responses.add( - "GET", - api_url, - json=data[2:4], - match=[matchers.query_param_matcher({"per_page": str(page_size), "direction": "asc", "page": "2"}, strict_match=False)], - ) - - responses.add( - "GET", - api_url, - json=data[5:3:-1], - headers={"Link": '; rel="next"'}, - match=[matchers.query_param_matcher({"per_page": str(page_size), "direction": "desc"}, strict_match=False)], - ) - - responses.add( - "GET", - api_url, - json=data[3:1:-1], - headers={"Link": '; rel="next"'}, - match=[matchers.query_param_matcher({"per_page": str(page_size), "direction": "desc", "page": "2"}, strict_match=False)], - ) - - stream_state = {} - records = read_incremental(stream, stream_state) - assert [r["id"] for r in records] == [2, 3, 4] - assert stream_state == {"organization/repository": {"updated_at": "2022-02-02T10:10:08Z"}} - - records = read_incremental(stream, stream_state) - assert [r["id"] for r in records] == [6, 5] - assert stream_state == {"organization/repository": {"updated_at": "2022-02-02T10:10:12Z"}} - - -@responses.activate -def test_stream_commits_incremental_read(): - - repository_args_with_start_date = { - "repositories": ["organization/repository"], - "page_size_for_large_streams": 100, - "start_date": "2022-02-02T10:10:03Z", - } - - branches_to_pull = ["organization/repository/branch"] - - stream = Commits(**repository_args_with_start_date, branches_to_pull=branches_to_pull) - stream.page_size = 2 - - commits_data = [ - {"sha": 1, "commit": {"author": {"date": "2022-02-02T10:10:02Z"}}}, - {"sha": 2, "commit": {"author": {"date": "2022-02-02T10:10:04Z"}}}, - {"sha": 3, "commit": {"author": {"date": "2022-02-02T10:10:06Z"}}}, - {"sha": 4, "commit": {"author": {"date": "2022-02-02T10:10:08Z"}}}, - {"sha": 5, "commit": {"author": {"date": "2022-02-02T10:10:10Z"}}}, - {"sha": 6, "commit": {"author": {"date": "2022-02-02T10:10:12Z"}}}, - {"sha": 7, "commit": {"author": {"date": "2022-02-02T10:10:14Z"}}}, - ] - - repo_api_url = "https://api.github.com/repos/organization/repository" - branches_api_url = "https://api.github.com/repos/organization/repository/branches" - commits_api_url = "https://api.github.com/repos/organization/repository/commits" - - responses.add( - "GET", - repo_api_url, - json={"id": 1, "updated_at": "2022-02-02T10:10:02Z", "default_branch": "main", "full_name": "organization/repository"}, - ) - responses.add( - responses.GET, - branches_api_url, - json=[ - { - "name": "branch", - "commit": { - "sha": "74445338726f0f8e1c27c10dce90ca00c5ae2858", - "url": "https://api.github.com/repos/airbytehq/airbyte/commits/74445338726f0f8e1c27c10dce90ca00c5ae2858" - }, - "protected": False - }, - { - "name": "main", - "commit": { - "sha": "c27c10dce90ca00c5ae285874445338726f0f8e1", - "url": "https://api.github.com/repos/airbytehq/airbyte/commits/c27c10dce90ca00c5ae285874445338726f0f8e1" - }, - "protected": False - } - ], - status=200, - ) - responses.add( - "GET", - commits_api_url, - json=commits_data[0:3], - match=[matchers.query_param_matcher({"since": "2022-02-02T10:10:03Z", "sha": "branch", "per_page": "2"}, strict_match=False)], - ) - - responses.add( - "GET", - commits_api_url, - json=commits_data[3:5], - headers={"Link": '; rel="next"'}, - match=[matchers.query_param_matcher({"since": "2022-02-02T10:10:06Z", "sha": "branch", "per_page": "2"}, strict_match=False)], - ) - - responses.add( - "GET", - commits_api_url, - json=commits_data[5:7], - match=[ - matchers.query_param_matcher( - {"since": "2022-02-02T10:10:06Z", "sha": "branch", "per_page": "2", "page": "2"}, strict_match=False - ) - ], - ) - - stream_state = {} - records = read_incremental(stream, stream_state) - assert [r["sha"] for r in records] == [2, 3] - assert stream_state == {"organization/repository": {"branch": {"created_at": "2022-02-02T10:10:06Z"}}} - records = read_incremental(stream, stream_state) - assert [r["sha"] for r in records] == [4, 5, 6, 7] - assert stream_state == {"organization/repository": {"branch": {"created_at": "2022-02-02T10:10:14Z"}}} - - -@responses.activate -def test_stream_pull_request_commits(): - - repository_args = { - "repositories": ["organization/repository"], - "page_size_for_large_streams": 100, - } - repository_args_with_start_date = {**repository_args, "start_date": "2022-02-02T10:10:02Z"} - - stream = PullRequestCommits(PullRequests(**repository_args_with_start_date), **repository_args) - - responses.add( - "GET", - "https://api.github.com/repos/organization/repository/pulls", - json=[ - {"id": 1, "updated_at": "2022-02-02T10:10:02Z", "number": 1}, - {"id": 2, "updated_at": "2022-02-02T10:10:04Z", "number": 2}, - {"id": 3, "updated_at": "2022-02-02T10:10:06Z", "number": 3}, - ], - ) - - responses.add( - "GET", - "https://api.github.com/repos/organization/repository/pulls/2/commits", - json=[{"sha": 1}, {"sha": 2}], - ) - - responses.add( - "GET", - "https://api.github.com/repos/organization/repository/pulls/3/commits", - json=[{"sha": 3}, {"sha": 4}], - ) - - records = list(read_full_refresh(stream)) - assert records == [ - {"sha": 1, "repository": "organization/repository", "pull_number": 2}, - {"sha": 2, "repository": "organization/repository", "pull_number": 2}, - {"sha": 3, "repository": "organization/repository", "pull_number": 3}, - {"sha": 4, "repository": "organization/repository", "pull_number": 3}, - ] - - -@responses.activate -def test_stream_project_columns(): - - repository_args_with_start_date = { - "repositories": ["organization/repository"], - "page_size_for_large_streams": 100, - "start_date": "2022-02-01T00:00:00Z", - } - - data = [ - { - "updated_at": "2022-01-01T10:00:00Z", - }, - { - "updated_at": "2022-03-01T10:00:00Z", - "columns": [ - {"updated_at": "2022-01-01T10:00:00Z"}, - {"updated_at": "2022-03-01T09:00:00Z"}, - {"updated_at": "2022-03-01T10:00:00Z"}, - ], - }, - { - "updated_at": "2022-05-01T10:00:00Z", - "columns": [ - {"updated_at": "2022-01-01T10:00:00Z"}, - {"updated_at": "2022-05-01T10:00:00Z"}, - ], - }, - ] - - ProjectsResponsesAPI.register(data) - - projects_stream = Projects(**repository_args_with_start_date) - stream = ProjectColumns(projects_stream, **repository_args_with_start_date) - projects_stream._session.cache.clear() - stream._session.cache.clear() - stream_state = {} - - records = read_incremental(stream, stream_state=stream_state) - - assert records == [ - {"id": 22, "name": "column_22", "project_id": 2, "repository": "organization/repository", "updated_at": "2022-03-01T09:00:00Z"}, - {"id": 23, "name": "column_23", "project_id": 2, "repository": "organization/repository", "updated_at": "2022-03-01T10:00:00Z"}, - {"id": 32, "name": "column_32", "project_id": 3, "repository": "organization/repository", "updated_at": "2022-05-01T10:00:00Z"}, - ] - - assert stream_state == { - "organization/repository": {"2": {"updated_at": "2022-03-01T10:00:00Z"}, "3": {"updated_at": "2022-05-01T10:00:00Z"}} - } - - data = [ - {"updated_at": "2022-01-01T10:00:00Z"}, - { - "updated_at": "2022-04-01T10:00:00Z", - "columns": [ - {"updated_at": "2022-01-01T10:00:00Z"}, - {"updated_at": "2022-03-01T09:00:00Z"}, - {"updated_at": "2022-03-01T10:00:00Z"}, - {"updated_at": "2022-04-01T10:00:00Z"}, - ], - }, - { - "updated_at": "2022-05-01T10:00:00Z", - "columns": [ - {"updated_at": "2022-01-01T10:00:00Z"}, - {"updated_at": "2022-05-01T10:00:00Z"}, - ], - }, - { - "updated_at": "2022-06-01T10:00:00Z", - "columns": [{"updated_at": "2022-06-01T10:00:00Z"}], - }, - ] - - ProjectsResponsesAPI.register(data) - - projects_stream._session.cache.clear() - stream._session.cache.clear() - records = read_incremental(stream, stream_state=stream_state) - assert records == [ - {"id": 24, "name": "column_24", "project_id": 2, "repository": "organization/repository", "updated_at": "2022-04-01T10:00:00Z"}, - {"id": 41, "name": "column_41", "project_id": 4, "repository": "organization/repository", "updated_at": "2022-06-01T10:00:00Z"}, - ] - - assert stream_state == { - "organization/repository": { - "2": {"updated_at": "2022-04-01T10:00:00Z"}, - "3": {"updated_at": "2022-05-01T10:00:00Z"}, - "4": {"updated_at": "2022-06-01T10:00:00Z"}, - } - } - - -@responses.activate -def test_stream_project_cards(): - - repository_args_with_start_date = { - "repositories": ["organization/repository"], - "page_size_for_large_streams": 100, - "start_date": "2022-03-01T00:00:00Z", - } - - projects_stream = Projects(**repository_args_with_start_date) - project_columns_stream = ProjectColumns(projects_stream, **repository_args_with_start_date) - stream = ProjectCards(project_columns_stream, **repository_args_with_start_date) - - data = [ - { - "updated_at": "2022-01-01T00:00:00Z", - }, - { - "updated_at": "2022-06-01T00:00:00Z", - "columns": [ - { - "updated_at": "2022-04-01T00:00:00Z", - "cards": [ - {"updated_at": "2022-03-01T00:00:00Z"}, - {"updated_at": "2022-04-01T00:00:00Z"}, - ], - }, - {"updated_at": "2022-05-01T09:00:00Z"}, - { - "updated_at": "2022-06-01T00:00:00Z", - "cards": [ - {"updated_at": "2022-05-01T00:00:00Z"}, - {"updated_at": "2022-06-01T00:00:00Z"}, - ], - }, - ], - }, - { - "updated_at": "2022-05-01T00:00:00Z", - "columns": [ - {"updated_at": "2022-01-01T00:00:00Z"}, - { - "updated_at": "2022-05-01T00:00:00Z", - "cards": [ - {"updated_at": "2022-02-01T00:00:00Z"}, - {"updated_at": "2022-05-01T00:00:00Z"}, - ], - }, - ], - }, - ] - - ProjectsResponsesAPI.register(data) - - stream_state = {} - - projects_stream._session.cache.clear() - project_columns_stream._session.cache.clear() - records = read_incremental(stream, stream_state=stream_state) - - assert records == [ - { - "column_id": 21, - "id": 212, - "name": "card_212", - "project_id": 2, - "repository": "organization/repository", - "updated_at": "2022-04-01T00:00:00Z", - }, - { - "column_id": 23, - "id": 231, - "name": "card_231", - "project_id": 2, - "repository": "organization/repository", - "updated_at": "2022-05-01T00:00:00Z", - }, - { - "column_id": 23, - "id": 232, - "name": "card_232", - "project_id": 2, - "repository": "organization/repository", - "updated_at": "2022-06-01T00:00:00Z", - }, - { - "column_id": 32, - "id": 322, - "name": "card_322", - "project_id": 3, - "repository": "organization/repository", - "updated_at": "2022-05-01T00:00:00Z", - }, - ] - - -@responses.activate -def test_stream_comments(): - - repository_args_with_start_date = { - "repositories": ["organization/repository", "airbytehq/airbyte"], - "page_size_for_large_streams": 2, - "start_date": "2022-02-02T10:10:01Z", - } - - stream = Comments(**repository_args_with_start_date) - - data = [ - {"id": 1, "updated_at": "2022-02-02T10:10:02Z"}, - {"id": 2, "updated_at": "2022-02-02T10:10:04Z"}, - {"id": 3, "updated_at": "2022-02-02T10:12:06Z"}, - {"id": 4, "updated_at": "2022-02-02T10:12:08Z"}, - {"id": 5, "updated_at": "2022-02-02T10:12:10Z"}, - {"id": 6, "updated_at": "2022-02-02T10:12:12Z"}, - ] - - api_url = "https://api.github.com/repos/organization/repository/issues/comments" - - responses.add( - "GET", - api_url, - json=data[0:2], - match=[matchers.query_param_matcher({"since": "2022-02-02T10:10:01Z", "per_page": "2"})], - ) - - responses.add( - "GET", - api_url, - json=data[1:3], - headers={ - "Link": '; rel="next"' - }, - match=[matchers.query_param_matcher({"since": "2022-02-02T10:10:04Z", "per_page": "2"})], - ) - - responses.add( - "GET", - api_url, - json=data[3:5], - headers={ - "Link": '; rel="next"' - }, - match=[matchers.query_param_matcher({"since": "2022-02-02T10:10:04Z", "page": "2", "per_page": "2"})], - ) - - responses.add( - "GET", - api_url, - json=data[5:], - match=[matchers.query_param_matcher({"since": "2022-02-02T10:10:04Z", "page": "3", "per_page": "2"})], - ) - - data = [ - {"id": 1, "updated_at": "2022-02-02T10:11:02Z"}, - {"id": 2, "updated_at": "2022-02-02T10:11:04Z"}, - {"id": 3, "updated_at": "2022-02-02T10:13:06Z"}, - {"id": 4, "updated_at": "2022-02-02T10:13:08Z"}, - {"id": 5, "updated_at": "2022-02-02T10:13:10Z"}, - {"id": 6, "updated_at": "2022-02-02T10:13:12Z"}, - ] - - api_url = "https://api.github.com/repos/airbytehq/airbyte/issues/comments" - - responses.add( - "GET", - api_url, - json=data[0:2], - match=[matchers.query_param_matcher({"since": "2022-02-02T10:10:01Z", "per_page": "2"})], - ) - - responses.add( - "GET", - api_url, - json=data[1:3], - headers={ - "Link": '; rel="next"' - }, - match=[matchers.query_param_matcher({"since": "2022-02-02T10:11:04Z", "per_page": "2"})], - ) - - responses.add( - "GET", - api_url, - json=data[3:5], - headers={ - "Link": '; rel="next"' - }, - match=[matchers.query_param_matcher({"since": "2022-02-02T10:11:04Z", "page": "2", "per_page": "2"})], - ) - - responses.add( - "GET", - api_url, - json=data[5:], - match=[matchers.query_param_matcher({"since": "2022-02-02T10:11:04Z", "page": "3", "per_page": "2"})], - ) - - stream_state = {} - records = read_incremental(stream, stream_state) - assert records == [ - {"id": 1, "repository": "organization/repository", "updated_at": "2022-02-02T10:10:02Z"}, - {"id": 2, "repository": "organization/repository", "updated_at": "2022-02-02T10:10:04Z"}, - {"id": 1, "repository": "airbytehq/airbyte", "updated_at": "2022-02-02T10:11:02Z"}, - {"id": 2, "repository": "airbytehq/airbyte", "updated_at": "2022-02-02T10:11:04Z"}, - ] - - assert stream_state == { - "airbytehq/airbyte": {"updated_at": "2022-02-02T10:11:04Z"}, - "organization/repository": {"updated_at": "2022-02-02T10:10:04Z"}, - } - - records = read_incremental(stream, stream_state) - assert records == [ - {"id": 3, "repository": "organization/repository", "updated_at": "2022-02-02T10:12:06Z"}, - {"id": 4, "repository": "organization/repository", "updated_at": "2022-02-02T10:12:08Z"}, - {"id": 5, "repository": "organization/repository", "updated_at": "2022-02-02T10:12:10Z"}, - {"id": 6, "repository": "organization/repository", "updated_at": "2022-02-02T10:12:12Z"}, - {"id": 3, "repository": "airbytehq/airbyte", "updated_at": "2022-02-02T10:13:06Z"}, - {"id": 4, "repository": "airbytehq/airbyte", "updated_at": "2022-02-02T10:13:08Z"}, - {"id": 5, "repository": "airbytehq/airbyte", "updated_at": "2022-02-02T10:13:10Z"}, - {"id": 6, "repository": "airbytehq/airbyte", "updated_at": "2022-02-02T10:13:12Z"}, - ] - assert stream_state == { - "airbytehq/airbyte": {"updated_at": "2022-02-02T10:13:12Z"}, - "organization/repository": {"updated_at": "2022-02-02T10:12:12Z"}, - } - - -@responses.activate -def test_streams_read_full_refresh(): - - repository_args = { - "repositories": ["organization/repository"], - "page_size_for_large_streams": 100, - } - - repository_args_with_start_date = {**repository_args, "start_date": "2022-02-01T00:00:00Z"} - - def get_json_response(cursor_field): - cursor_field = cursor_field or "updated_at" - return [ - {"id": 1, cursor_field: "2022-02-01T00:00:00Z"}, - {"id": 2, cursor_field: "2022-02-02T00:00:00Z"}, - ] - - def get_records(cursor_field): - cursor_field = cursor_field or "updated_at" - return [ - {"id": 1, cursor_field: "2022-02-01T00:00:00Z", "repository": "organization/repository"}, - {"id": 2, cursor_field: "2022-02-02T00:00:00Z", "repository": "organization/repository"}, - ] - - for cls, url in [ - (Releases, "https://api.github.com/repos/organization/repository/releases"), - (IssueEvents, "https://api.github.com/repos/organization/repository/issues/events"), - (IssueMilestones, "https://api.github.com/repos/organization/repository/milestones"), - (CommitComments, "https://api.github.com/repos/organization/repository/comments"), - (Deployments, "https://api.github.com/repos/organization/repository/deployments"), - ]: - stream = cls(**repository_args_with_start_date) - responses.add("GET", url, json=get_json_response(stream.cursor_field)) - records = list(read_full_refresh(stream)) - assert records == get_records(stream.cursor_field)[1:2] - - for cls, url in [ - (Tags, "https://api.github.com/repos/organization/repository/tags"), - (IssueLabels, "https://api.github.com/repos/organization/repository/labels"), - (Collaborators, "https://api.github.com/repos/organization/repository/collaborators"), - (Branches, "https://api.github.com/repos/organization/repository/branches"), - ]: - stream = cls(**repository_args) - responses.add("GET", url, json=get_json_response(stream.cursor_field)) - records = list(read_full_refresh(stream)) - assert records == get_records(stream.cursor_field) - - responses.add( - "GET", - "https://api.github.com/repos/organization/repository/stargazers", - json=[ - {"starred_at": "2022-02-01T00:00:00Z", "user": {"id": 1}}, - {"starred_at": "2022-02-02T00:00:00Z", "user": {"id": 2}}, - ], - ) - - stream = Stargazers(**repository_args_with_start_date) - records = list(read_full_refresh(stream)) - assert records == [{"repository": "organization/repository", "starred_at": "2022-02-02T00:00:00Z", "user": {"id": 2}, "user_id": 2}] - - -@responses.activate -def test_stream_reviews_incremental_read(): - - repository_args_with_start_date = { - "start_date": "2000-01-01T00:00:00Z", - "page_size_for_large_streams": 30, - "repositories": ["airbytehq/airbyte"], - } - stream = Reviews(**repository_args_with_start_date) - stream.page_size = 2 - - f = Path(__file__).parent / "responses/graphql_reviews_responses.json" - response_objects = json.load(open(f)) - - def request_callback(request): - return (HTTPStatus.OK, {}, json.dumps(response_objects.pop(0))) - - responses.add_callback( - responses.POST, - "https://api.github.com/graphql", - callback=request_callback, - content_type="application/json", - ) - - stream_state = {} - records = read_incremental(stream, stream_state) - assert [r["id"] for r in records] == [1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008] - assert stream_state == {"airbytehq/airbyte": {"updated_at": "2000-01-01T00:00:01Z"}} - assert len(responses.calls) == 4 - - responses.calls.reset() - records = read_incremental(stream, stream_state) - assert [r["id"] for r in records] == [1000, 1007, 1009] - assert stream_state == {"airbytehq/airbyte": {"updated_at": "2000-01-01T00:00:02Z"}} - assert len(responses.calls) == 4 - - -@responses.activate -def test_stream_team_members_full_refresh(caplog, rate_limit_mock_response): - organization_args = {"organizations": ["org1"]} - repository_args = {"repositories": [], "page_size_for_large_streams": 100} - - responses.add("GET", "https://api.github.com/orgs/org1/teams", json=[{"slug": "team1"}, {"slug": "team2"}]) - responses.add("GET", "https://api.github.com/orgs/org1/teams/team1/members", json=[{"login": "login1"}, {"login": "login2"}]) - responses.add("GET", "https://api.github.com/orgs/org1/teams/team1/memberships/login1", json={"username": "login1"}) - responses.add("GET", "https://api.github.com/orgs/org1/teams/team1/memberships/login2", json={"username": "login2"}) - responses.add("GET", "https://api.github.com/orgs/org1/teams/team2/members", json=[{"login": "login2"}, {"login": "login3"}]) - responses.add("GET", "https://api.github.com/orgs/org1/teams/team2/memberships/login2", json={"username": "login2"}) - responses.add("GET", "https://api.github.com/orgs/org1/teams/team2/memberships/login3", status=requests.codes.NOT_FOUND) - - teams_stream = Teams(**organization_args) - stream = TeamMembers(parent=teams_stream, **repository_args) - teams_stream._session.cache.clear() - records = list(read_full_refresh(stream)) - - assert records == [ - {"login": "login1", "organization": "org1", "team_slug": "team1"}, - {"login": "login2", "organization": "org1", "team_slug": "team1"}, - {"login": "login2", "organization": "org1", "team_slug": "team2"}, - {"login": "login3", "organization": "org1", "team_slug": "team2"}, - ] - - stream = TeamMemberships(parent=stream, **repository_args) - records = list(read_full_refresh(stream)) - - assert records == [ - {"username": "login1", "organization": "org1", "team_slug": "team1"}, - {"username": "login2", "organization": "org1", "team_slug": "team1"}, - {"username": "login2", "organization": "org1", "team_slug": "team2"}, - ] - expected_message = "Syncing `TeamMemberships` stream for organization `org1`, team `team2` and user `login3` isn't available: User has no team membership. Skipping..." - assert expected_message in caplog.messages - - -@responses.activate -def test_stream_commit_comment_reactions_incremental_read(): - - repository_args = {"repositories": ["airbytehq/integration-test"], "page_size_for_large_streams": 100} - stream = CommitCommentReactions(**repository_args) - stream._parent_stream._session.cache.clear() - - responses.add( - "GET", - "https://api.github.com/repos/airbytehq/integration-test/comments", - json=[ - {"id": 55538825, "updated_at": "2021-01-01T15:00:00Z"}, - {"id": 55538826, "updated_at": "2021-01-01T16:00:00Z"}, - ], - ) - - responses.add( - "GET", - "https://api.github.com/repos/airbytehq/integration-test/comments/55538825/reactions", - json=[ - {"id": 154935429, "created_at": "2022-01-01T15:00:00Z"}, - {"id": 154935430, "created_at": "2022-01-01T16:00:00Z"}, - ], - ) - - responses.add( - "GET", - "https://api.github.com/repos/airbytehq/integration-test/comments/55538826/reactions", - json=[{"id": 154935431, "created_at": "2022-01-01T17:00:00Z"}], - ) - - stream_state = {} - records = read_incremental(stream, stream_state) - - assert stream_state == { - "airbytehq/integration-test": { - "55538825": {"created_at": "2022-01-01T16:00:00Z"}, - "55538826": {"created_at": "2022-01-01T17:00:00Z"}, - } - } - - assert records == [ - {"id": 154935429, "comment_id": 55538825, "created_at": "2022-01-01T15:00:00Z", "repository": "airbytehq/integration-test"}, - {"id": 154935430, "comment_id": 55538825, "created_at": "2022-01-01T16:00:00Z", "repository": "airbytehq/integration-test"}, - {"id": 154935431, "comment_id": 55538826, "created_at": "2022-01-01T17:00:00Z", "repository": "airbytehq/integration-test"}, - ] - - responses.add( - "GET", - "https://api.github.com/repos/airbytehq/integration-test/comments", - json=[ - {"id": 55538825, "updated_at": "2021-01-01T15:00:00Z"}, - {"id": 55538826, "updated_at": "2021-01-01T16:00:00Z"}, - {"id": 55538827, "updated_at": "2022-02-01T15:00:00Z"}, - ], - ) - - responses.add( - "GET", - "https://api.github.com/repos/airbytehq/integration-test/comments/55538826/reactions", - json=[ - {"id": 154935431, "created_at": "2022-01-01T17:00:00Z"}, - {"id": 154935432, "created_at": "2022-02-01T16:00:00Z"}, - ], - ) - - responses.add( - "GET", - "https://api.github.com/repos/airbytehq/integration-test/comments/55538827/reactions", - json=[{"id": 154935433, "created_at": "2022-02-01T17:00:00Z"}], - ) - - stream._parent_stream._session.cache.clear() - records = read_incremental(stream, stream_state) - - assert records == [ - {"id": 154935432, "comment_id": 55538826, "created_at": "2022-02-01T16:00:00Z", "repository": "airbytehq/integration-test"}, - {"id": 154935433, "comment_id": 55538827, "created_at": "2022-02-01T17:00:00Z", "repository": "airbytehq/integration-test"}, - ] - - -@responses.activate -def test_stream_workflow_runs_read_incremental(monkeypatch): - - repository_args_with_start_date = { - "repositories": ["org/repos"], - "page_size_for_large_streams": 30, - "start_date": "2022-01-01T00:00:00Z", - } - - monkeypatch.setattr(constants, "DEFAULT_PAGE_SIZE", 1) - stream = WorkflowRuns(**repository_args_with_start_date) - - data = [ - {"id": 4, "created_at": "2022-02-05T00:00:00Z", "updated_at": "2022-02-05T00:00:00Z", "repository": {"full_name": "org/repos"}}, - {"id": 3, "created_at": "2022-01-15T00:00:00Z", "updated_at": "2022-01-15T00:00:00Z", "repository": {"full_name": "org/repos"}}, - {"id": 2, "created_at": "2022-01-03T00:00:00Z", "updated_at": "2022-01-03T00:00:00Z", "repository": {"full_name": "org/repos"}}, - {"id": 1, "created_at": "2022-01-02T00:00:00Z", "updated_at": "2022-01-02T00:00:00Z", "repository": {"full_name": "org/repos"}}, - ] - - responses.add( - "GET", - "https://api.github.com/repos/org/repos/actions/runs", - json={"total_count": len(data), "workflow_runs": data[0:1]}, - headers={"Link": '; rel="next"'}, - match=[matchers.query_param_matcher({"per_page": "1"}, strict_match=True)], - ) - - responses.add( - "GET", - "https://api.github.com/repos/org/repos/actions/runs", - json={"total_count": len(data), "workflow_runs": data[1:2]}, - headers={"Link": '; rel="next"'}, - match=[matchers.query_param_matcher({"per_page": "1", "page": "2"}, strict_match=True)], - ) - - responses.add( - "GET", - "https://api.github.com/repos/org/repos/actions/runs", - json={"total_count": len(data), "workflow_runs": data[2:3]}, - headers={"Link": '; rel="next"'}, - match=[matchers.query_param_matcher({"per_page": "1", "page": "3"}, strict_match=True)], - ) - - responses.add( - "GET", - "https://api.github.com/repos/org/repos/actions/runs", - json={"total_count": len(data), "workflow_runs": data[3:4]}, - match=[matchers.query_param_matcher({"per_page": "1", "page": "4"}, strict_match=True)], - ) - - state = {} - records = read_incremental(stream, state) - assert state == {"org/repos": {"updated_at": "2022-02-05T00:00:00Z"}} - - assert records == [ - {"id": 4, "repository": {"full_name": "org/repos"}, "created_at": "2022-02-05T00:00:00Z", "updated_at": "2022-02-05T00:00:00Z"}, - {"id": 3, "repository": {"full_name": "org/repos"}, "created_at": "2022-01-15T00:00:00Z", "updated_at": "2022-01-15T00:00:00Z"}, - {"id": 2, "repository": {"full_name": "org/repos"}, "created_at": "2022-01-03T00:00:00Z", "updated_at": "2022-01-03T00:00:00Z"}, - {"id": 1, "repository": {"full_name": "org/repos"}, "created_at": "2022-01-02T00:00:00Z", "updated_at": "2022-01-02T00:00:00Z"}, - ] - - assert len(responses.calls) == 4 - - data.insert( - 0, - { - "id": 5, - "created_at": "2022-02-07T00:00:00Z", - "updated_at": "2022-02-07T00:00:00Z", - "repository": {"full_name": "org/repos"}, - }, - ) - - data[2]["updated_at"] = "2022-02-08T00:00:00Z" - - responses.add( - "GET", - "https://api.github.com/repos/org/repos/actions/runs", - json={"total_count": len(data), "workflow_runs": data[0:1]}, - headers={"Link": '; rel="next"'}, - match=[matchers.query_param_matcher({"per_page": "1"}, strict_match=True)], - ) - - responses.add( - "GET", - "https://api.github.com/repos/org/repos/actions/runs", - json={"total_count": len(data), "workflow_runs": data[1:2]}, - headers={"Link": '; rel="next"'}, - match=[matchers.query_param_matcher({"per_page": "1", "page": "2"}, strict_match=True)], - ) - - responses.add( - "GET", - "https://api.github.com/repos/org/repos/actions/runs", - json={"total_count": len(data), "workflow_runs": data[2:3]}, - headers={"Link": '; rel="next"'}, - match=[matchers.query_param_matcher({"per_page": "1", "page": "3"}, strict_match=True)], - ) - - responses.add( - "GET", - "https://api.github.com/repos/org/repos/actions/runs", - json={"total_count": len(data), "workflow_runs": data[3:4]}, - headers={"Link": '; rel="next"'}, - match=[matchers.query_param_matcher({"per_page": "1", "page": "4"}, strict_match=True)], - ) - - responses.calls.reset() - records = read_incremental(stream, state) - - assert state == {"org/repos": {"updated_at": "2022-02-08T00:00:00Z"}} - assert records == [ - {"id": 5, "repository": {"full_name": "org/repos"}, "created_at": "2022-02-07T00:00:00Z", "updated_at": "2022-02-07T00:00:00Z"}, - {"id": 3, "repository": {"full_name": "org/repos"}, "created_at": "2022-01-15T00:00:00Z", "updated_at": "2022-02-08T00:00:00Z"}, - ] - - assert len(responses.calls) == 4 - - -@responses.activate -def test_stream_workflow_jobs_read(): - - repository_args = { - "repositories": ["org/repo"], - "page_size_for_large_streams": 100, - } - repository_args_with_start_date = {**repository_args, "start_date": "2022-09-02T09:05:00Z"} - - workflow_runs_stream = WorkflowRuns(**repository_args_with_start_date) - stream = WorkflowJobs(workflow_runs_stream, **repository_args_with_start_date) - - workflow_runs = [ - { - "id": 1, - "created_at": "2022-09-02T09:00:00Z", - "updated_at": "2022-09-02T09:10:02Z", - "repository": {"full_name": "org/repo"}, - }, - { - "id": 2, - "created_at": "2022-09-02T09:06:00Z", - "updated_at": "2022-09-02T09:08:00Z", - "repository": {"full_name": "org/repo"}, - }, - ] - - workflow_jobs_1 = [ - {"id": 1, "completed_at": "2022-09-02T09:02:00Z", "run_id": 1}, - {"id": 4, "completed_at": "2022-09-02T09:10:00Z", "run_id": 1}, - {"id": 5, "completed_at": None, "run_id": 1}, - ] - - workflow_jobs_2 = [ - {"id": 2, "completed_at": "2022-09-02T09:07:00Z", "run_id": 2}, - {"id": 3, "completed_at": "2022-09-02T09:08:00Z", "run_id": 2}, - ] - - responses.add( - "GET", - "https://api.github.com/repos/org/repo/actions/runs", - json={"total_count": len(workflow_runs), "workflow_runs": workflow_runs}, - ) - responses.add("GET", "https://api.github.com/repos/org/repo/actions/runs/1/jobs", json={"jobs": workflow_jobs_1}) - responses.add("GET", "https://api.github.com/repos/org/repo/actions/runs/2/jobs", json={"jobs": workflow_jobs_2}) - - state = {} - records = read_incremental(stream, state) - assert state == {"org/repo": {"completed_at": "2022-09-02T09:10:00Z"}} - - assert records == [ - {"completed_at": "2022-09-02T09:10:00Z", "id": 4, "repository": "org/repo", "run_id": 1}, - {"completed_at": "2022-09-02T09:07:00Z", "id": 2, "repository": "org/repo", "run_id": 2}, - {"completed_at": "2022-09-02T09:08:00Z", "id": 3, "repository": "org/repo", "run_id": 2}, - ] - - assert len(responses.calls) == 3 - - workflow_jobs_1[2]["completed_at"] = "2022-09-02T09:12:00Z" - workflow_runs[0]["updated_at"] = "2022-09-02T09:12:01Z" - workflow_runs.append( - { - "id": 3, - "created_at": "2022-09-02T09:14:00Z", - "updated_at": "2022-09-02T09:15:00Z", - "repository": {"full_name": "org/repo"}, - } - ) - workflow_jobs_3 = [ - {"id": 6, "completed_at": "2022-09-02T09:15:00Z", "run_id": 3}, - {"id": 7, "completed_at": None, "run_id": 3}, - ] - - responses.add( - "GET", - "https://api.github.com/repos/org/repo/actions/runs", - json={"total_count": len(workflow_runs), "workflow_runs": workflow_runs}, - ) - responses.add("GET", "https://api.github.com/repos/org/repo/actions/runs/1/jobs", json={"jobs": workflow_jobs_1}) - responses.add("GET", "https://api.github.com/repos/org/repo/actions/runs/2/jobs", json={"jobs": workflow_jobs_2}) - responses.add("GET", "https://api.github.com/repos/org/repo/actions/runs/3/jobs", json={"jobs": workflow_jobs_3}) - - responses.calls.reset() - records = read_incremental(stream, state) - - assert state == {"org/repo": {"completed_at": "2022-09-02T09:15:00Z"}} - assert records == [ - {"completed_at": "2022-09-02T09:12:00Z", "id": 5, "repository": "org/repo", "run_id": 1}, - {"completed_at": "2022-09-02T09:15:00Z", "id": 6, "repository": "org/repo", "run_id": 3}, - ] - - records = list(read_full_refresh(stream)) - assert records == [ - {"id": 4, "completed_at": "2022-09-02T09:10:00Z", "run_id": 1, "repository": "org/repo"}, - {"id": 5, "completed_at": "2022-09-02T09:12:00Z", "run_id": 1, "repository": "org/repo"}, - {"id": 2, "completed_at": "2022-09-02T09:07:00Z", "run_id": 2, "repository": "org/repo"}, - {"id": 3, "completed_at": "2022-09-02T09:08:00Z", "run_id": 2, "repository": "org/repo"}, - {"id": 6, "completed_at": "2022-09-02T09:15:00Z", "run_id": 3, "repository": "org/repo"}, - ] - - -@responses.activate -def test_stream_pull_request_comment_reactions_read(): - - repository_args_with_start_date = { - "start_date": "2022-01-01T00:00:00Z", - "page_size_for_large_streams": 2, - "repositories": ["airbytehq/airbyte"], - } - stream = PullRequestCommentReactions(**repository_args_with_start_date) - stream.page_size = 2 - - f = Path(__file__).parent / "responses/pull_request_comment_reactions.json" - response_objects = json.load(open(f)) - - def request_callback(request): - return (HTTPStatus.OK, {}, json.dumps(response_objects.pop(0))) - - responses.add_callback( - responses.POST, - "https://api.github.com/graphql", - callback=request_callback, - content_type="application/json", - ) - - stream_state = {} - records = read_incremental(stream, stream_state) - records = [{"comment_id": r["comment_id"], "created_at": r["created_at"], "node_id": r["node_id"]} for r in records] - assert records == [ - {"comment_id": "comment1", "created_at": "2022-01-01T00:00:01Z", "node_id": "reaction1"}, - {"comment_id": "comment1", "created_at": "2022-01-01T00:00:01Z", "node_id": "reaction2"}, - {"comment_id": "comment2", "created_at": "2022-01-01T00:00:01Z", "node_id": "reaction3"}, - {"comment_id": "comment2", "created_at": "2022-01-01T00:00:01Z", "node_id": "reaction4"}, - {"comment_id": "comment2", "created_at": "2022-01-01T00:00:01Z", "node_id": "reaction5"}, - {"comment_id": "comment5", "created_at": "2022-01-01T00:00:01Z", "node_id": "reaction6"}, - {"comment_id": "comment7", "created_at": "2022-01-01T00:00:01Z", "node_id": "reaction7"}, - {"comment_id": "comment8", "created_at": "2022-01-01T00:00:01Z", "node_id": "reaction8"}, - ] - - assert stream_state == {"airbytehq/airbyte": {"created_at": "2022-01-01T00:00:01Z"}} - records = read_incremental(stream, stream_state) - records = [{"comment_id": r["comment_id"], "created_at": r["created_at"], "node_id": r["node_id"]} for r in records] - - assert records == [ - {"comment_id": "comment2", "created_at": "2022-01-02T00:00:01Z", "node_id": "reaction9"}, - {"comment_id": "comment8", "created_at": "2022-01-02T00:00:01Z", "node_id": "reaction10"}, - ] - - assert stream_state == {"airbytehq/airbyte": {"created_at": "2022-01-02T00:00:01Z"}} - - -@responses.activate -def test_stream_projects_v2_graphql_retry(rate_limit_mock_response): - repository_args_with_start_date = { - "start_date": "2022-01-01T00:00:00Z", - "page_size_for_large_streams": 20, - "repositories": ["airbytehq/airbyte"], - } - stream = ProjectsV2(**repository_args_with_start_date) - resp = responses.add( - responses.POST, - "https://api.github.com/graphql", - json={"errors": "not found"}, - status=200, - ) - - with patch.object(stream, "backoff_time", return_value=0.01), pytest.raises(UserDefinedBackoffException): - read_incremental(stream, stream_state={}) - assert resp.call_count == stream.max_retries + 1 - - -@responses.activate -def test_stream_projects_v2_graphql_query(): - repository_args_with_start_date = { - "start_date": "2022-01-01T00:00:00Z", - "page_size_for_large_streams": 20, - "repositories": ["airbytehq/airbyte"], - } - stream = ProjectsV2(**repository_args_with_start_date) - query = stream.request_body_json(stream_state={}, stream_slice={"repository": "airbytehq/airbyte"}) - responses.add( - responses.POST, - "https://api.github.com/graphql", - json=json.load(open(Path(__file__).parent / "responses/projects_v2_response.json")), - ) - f = Path(__file__).parent / "projects_v2_pull_requests_query.json" - expected_query = json.load(open(f)) - - records = list(read_full_refresh(stream)) - assert query == expected_query - assert records[0].get("owner_id") - assert records[0].get("repository") - - -@responses.activate -def test_stream_contributor_activity_parse_empty_response(caplog): - repository_args = { - "page_size_for_large_streams": 20, - "repositories": ["airbytehq/airbyte"], - } - stream = ContributorActivity(**repository_args) - resp = responses.add( - responses.GET, - "https://api.github.com/repos/airbytehq/airbyte/stats/contributors", - body="", - status=204, - ) - records = list(read_full_refresh(stream)) - expected_message = "Empty response received for contributor_activity stats in repository airbytehq/airbyte" - assert resp.call_count == 1 - assert records == [] - assert expected_message in caplog.messages - - -@responses.activate -def test_stream_contributor_activity_accepted_response(caplog, rate_limit_mock_response): - responses.add( - responses.GET, - "https://api.github.com/repos/airbytehq/test_airbyte?per_page=100", - json={"full_name": "airbytehq/test_airbyte"}, - status=200, - ) - responses.add( - responses.GET, - "https://api.github.com/repos/airbytehq/test_airbyte?per_page=100", - json={"full_name": "airbytehq/test_airbyte", "default_branch": "default_branch"}, - status=200, - ) - responses.add( - responses.GET, - "https://api.github.com/repos/airbytehq/test_airbyte/branches?per_page=100", - json={}, - status=200, - ) - resp = responses.add( - responses.GET, - "https://api.github.com/repos/airbytehq/test_airbyte/stats/contributors?per_page=100", - body="", - status=202, - ) - - source = SourceGithub() - configured_catalog = { - "streams": [ - { - "stream": { - "name": "contributor_activity", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]], - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite", - } - ] - } - catalog = ConfiguredAirbyteCatalog.parse_obj(configured_catalog) - config = {"access_token": "test_token", "repository": "airbytehq/test_airbyte"} - logger_mock = MagicMock() - - with patch("time.sleep", return_value=0): - records = list(source.read(config=config, logger=logger_mock, catalog=catalog, state={})) - - assert records[2].log.message == "Syncing `ContributorActivity` stream isn't available for repository `airbytehq/test_airbyte`." - assert resp.call_count == 6 - - -@responses.activate -def test_stream_contributor_activity_parse_response(): - repository_args = { - "page_size_for_large_streams": 20, - "repositories": ["airbytehq/airbyte"], - } - stream = ContributorActivity(**repository_args) - responses.add( - responses.GET, - "https://api.github.com/repos/airbytehq/airbyte/stats/contributors", - json=json.load(open(Path(__file__).parent / "responses/contributor_activity_response.json")), - ) - records = list(read_full_refresh(stream)) - assert len(records) == 1 - - -@responses.activate -def test_issues_timeline_events(): - repository_args = { - "repositories": ["airbytehq/airbyte"], - "page_size_for_large_streams": 20, - } - response_file = Path(__file__).parent / "responses/issue_timeline_events.json" - response_json = json.load(open(response_file)) - responses.add(responses.GET, "https://api.github.com/repos/airbytehq/airbyte/issues/1/timeline?per_page=100", json=response_json) - expected_file = Path(__file__).parent / "responses/issue_timeline_events_response.json" - expected_records = json.load(open(expected_file)) - - stream = IssueTimelineEvents(**repository_args) - records = list(stream.read_records(sync_mode=SyncMode.full_refresh, stream_slice={"repository": "airbytehq/airbyte", "number": 1})) - assert expected_records == records - - -@responses.activate -def test_pull_request_stats(): - repository_args = { - "page_size_for_large_streams": 10, - "repositories": ["airbytehq/airbyte"], - } - stream = PullRequestStats(**repository_args) - query = stream.request_body_json(stream_state={}, stream_slice={"repository": "airbytehq/airbyte"}) - responses.add( - responses.POST, - "https://api.github.com/graphql", - json=json.load(open(Path(__file__).parent / "responses/pull_request_stats_response.json")), - ) - f = Path(__file__).parent / "pull_request_stats_query.json" - expected_query = json.load(open(f)) - - list(read_full_refresh(stream)) - assert query == expected_query diff --git a/source-github/unit_tests/utils.py b/source-github/unit_tests/utils.py deleted file mode 100644 index 63dfbd2d30..0000000000 --- a/source-github/unit_tests/utils.py +++ /dev/null @@ -1,78 +0,0 @@ -# -# Copyright (c) 2023 Airbyte, Inc., all rights reserved. -# - -from typing import Any, MutableMapping -from unittest import mock - -import responses -from airbyte_cdk.models import SyncMode -from airbyte_cdk.models.airbyte_protocol import ConnectorSpecification -from airbyte_cdk.sources import Source -from airbyte_cdk.sources.streams import Stream -from airbyte_cdk.sources.utils.schema_helpers import check_config_against_spec_or_exit, split_config - - -def read_incremental(stream_instance: Stream, stream_state: MutableMapping[str, Any]): - res = [] - slices = stream_instance.stream_slices(sync_mode=SyncMode.incremental, stream_state=stream_state) - for slice in slices: - records = stream_instance.read_records(sync_mode=SyncMode.incremental, stream_slice=slice, stream_state=stream_state) - for record in records: - stream_state = stream_instance.get_updated_state(stream_state, record) - res.append(record) - return res - - -class ProjectsResponsesAPI: - """ - Fake Responses API for github projects, columns, cards - """ - - projects_url = "https://api.github.com/repos/organization/repository/projects" - columns_url = "https://api.github.com/projects/{project_id}/columns" - cards_url = "https://api.github.com/projects/columns/{column_id}/cards" - - @classmethod - def get_json_projects(cls, data): - res = [] - for n, project in enumerate(data, start=1): - name = f"project_{n}" - res.append({"id": n, "name": name, "updated_at": project["updated_at"]}) - return res - - @classmethod - def get_json_columns(cls, project, project_id): - res = [] - for n, column in enumerate(project.get("columns", []), start=1): - column_id = int(str(project_id) + str(n)) - name = f"column_{column_id}" - res.append({"id": column_id, "name": name, "updated_at": column["updated_at"]}) - return res - - @classmethod - def get_json_cards(cls, column, column_id): - res = [] - for n, card in enumerate(column.get("cards", []), start=1): - card_id = int(str(column_id) + str(n)) - name = f"card_{card_id}" - res.append({"id": card_id, "name": name, "updated_at": card["updated_at"]}) - return res - - @classmethod - def register(cls, data): - responses.upsert("GET", cls.projects_url, json=cls.get_json_projects(data)) - for project_id, project in enumerate(data, start=1): - responses.upsert("GET", cls.columns_url.format(project_id=project_id), json=cls.get_json_columns(project, project_id)) - for n, column in enumerate(project.get("columns", []), start=1): - column_id = int(str(project_id) + str(n)) - responses.upsert("GET", cls.cards_url.format(column_id=column_id), json=cls.get_json_cards(column, column_id)) - - -def command_check(source: Source, config): - logger = mock.MagicMock() - connector_config, _ = split_config(config) - if source.check_config_against_spec: - source_spec: ConnectorSpecification = source.spec(logger) - check_config_against_spec_or_exit(connector_config, source_spec) - return source.check(logger, config)